If i try to open position with too large size I have Ninja's message box "cannot accept order... not enough excess margin"
I want to check before sending order whether I have enough margin to open position
I suppose I need to use Account.GetAccountItem method, but I don't know which exactly parameter I have to use and what formula must be to get the answer "enough/not enough"
I opened the related documentation
but have not found any description for values
Comment