this is front end which trades spy, vxx, uvxy
submits orders, takes profits
this is somewhat complex as it has some strategy , spent about an hour on that one including testing
maybe 30-40 lines of code.
but basically structure is the same
1 line to send order another line to take profit
third...