Algorithm to open a delta neutral position
I’m not sure how to articulate this problem exactly but what I am looking for as an answer is what approaches could be used to open a delta neutral position for the similar assets across exchanges that will minimise overall loss, where the price on the one exchange doesnt keep a perfect price parity on another exchange. I am trying to create a long position for an asset on one exchange and a short position on another, while the prices do keep a relative close parity it sometimes diverges or converges I want to slowly increase the overall position size on both exchanges but also while doing so counter act the convergance or divergance so that I can keep a good delta neutral overall ie so that the loss on either is balanced by the gain on the other.
Algorithm to open a delta neutral position
I’m not sure how to articulate this problem exactly but what I am looking for as an answer is what approaches could be used to open a delta neutral position for the similar assets across exchanges that will minimise overall loss, where the price on the one exchange doesnt keep a perfect price parity on another exchange. I am trying to create a long position for an asset on one exchange and a short position on another, while the prices do keep a relative close parity it sometimes diverges or converges I want to slowly increase the overall position size on both exchanges but also while doing so counter act the convergance or divergance so that I can keep a good delta neutral overall ie so that the loss on either is balanced by the gain on the other.
MT5 and Python Trading Bot
I am relatively new to trading and autonomous trading. I have implemented a trading bot in python (using anaconda navigator and Spyder) where I am using the MetaTrader5 API which is offered.