Hi,

When I put limit order for crypo coin, it may need to wait sometime to fulfill. During that time, how can I get the accurate money left (which should be my cash minus the money hold for that limit order), so I can send another limit order?

I tried GetBuyingPower, unsettledCash etc, but it seems cannot work. When I put 2nd limit order, it always told me like below:

 

Order Error: id: 3, Insufficient buying power to complete order (Value:4579.358), Reason: Your portfolio holds 10000 USD, 9327.8493 USD of which are reserved for open orders, but your
Buy order is for 13468.7 LTO. Your order requires a total value of 4579.358 USD, but only a total value of 667.571342 USD is available.