bt-ccxt-store
bt-ccxt-store copied to clipboard
getposition() method returns empty object
Hi, Many thanks for your great work in integrating CCXT into Backtrader for trading live.
I was just wondering if this bug has been fixed. When i use the self.getposition() i receive empty object where I should get a list of my open positions:
Positions --- Position Begin
- Size: 0
- Price: 0.0
- Price orig: 0.0
- Closed: 0
- Opened: 0
- Adjbase: None --- Position End
Also, is there equivalent methods existing in Backtrader to similar to CCXT api:
fetchOrders() fetchOpenOrders() fetchClosedOrders()
Many thanks.
I had the same problem here! In the order confirmation, the gross and net value are empty too.
Same issue here. It seems the coresponding ccxt method does not return the needed information
Thanks for raising the issue. I will take a look when I get time. (Likely timeframe within weeks rather than days).