insufficient funds? while funds are available

OJ4012
hi, while squaring off through api my sold position by buying by market order where i had no pending/open order(s), received this message: Insufficient funds. Required margin is 140432.51 but available margin is 140048.90. Check the orderbook for open orders.
While in my funds page it showed used margin 1,26,934 and available cash 13,114. So...
Thanks.
Tagged:
Sign In or Register to comment.