I would like to import into catalyst positions already available in my exchange account when I start my algorithm in live trading. What I see is by default only the cash is imported (I’m using Poloniex if that change something).
It seems there is a nice function to actually do that in https://github.com/enigmampc/catalyst/blob/master/catalyst/exchange/exchange.py with the sync_positions method, but this method seems to expect the positions to be known in advance by the algorithm… and mine is basically using the complete Poloniex pair universe.
So, should I loop over all the universe pair to try to synchronize them or is there something smarter to do ?
Thanks in advance !!