You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are no open positions, sell a put and call at the current price
If there are open positions, check if they are a put and call at the current price. If so, do nothing. If not, close the current open positions, and sell new ones at the current price.
"close the current open positions" can be complicated if some of the open positions have been bought, and you can't simply just call burnOptions on them. Try to either force-exercise or sell-to-reduce-size on the open positions if some of them have been partially purchased.
Ensure that the logic that checks if the current open positions are currently in-range is in its own modular gateway method
The text was updated successfully, but these errors were encountered:
flanagansteve
changed the title
Write a basic script which keeps a put and call being sold at the current price, all the time
Write a "Stay In-Range" script which keeps a put and call being sold at the current price, all the time
Sep 10, 2024
The text was updated successfully, but these errors were encountered: