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
How do we exclusively close long or short positions instead of buy/sell? self.position.close() closes either position, I guess. Looks like we can explicitly cancel long or short orders based on the size.
I dont have mutually exclusive positions here.. if I enable both long and short, the results are not adding up to long only + short only..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How do we exclusively close long or short positions instead of buy/sell? self.position.close() closes either position, I guess. Looks like we can explicitly cancel long or short orders based on the size.
I dont have mutually exclusive positions here.. if I enable both long and short, the results are not adding up to long only + short only..
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions