sreenivasdoosa/sdoosa-algo-trade-python

Multiple instance of Zerodha Order Manager

connectjk opened this issue · 1 comments

In the trade manager, everytime when get order manager method called, its creating new instance. Similar to strategy, Zerodha order manager also should follow singleton pattern to avoid creating multiple instance.

did you find the solution? if you are only using Zerodha, I think we can replace TradeManager.getOrderManager(). with ZerodhaOrderManager.?