AccountBalance() error

 

Has anyone had the experience where a call to AccountBalance() failed? Failed in the sense that it returned a value of 0 or <0 ?


I have a problem with a lot size calculation that I can only explain if AccountBalance() returned 0 or a number < 1. Hoping someone else has seen this before.

Reason: