Here is my code:
private double availableCapital = GetAccountValue(AccountItem.BuyingPower); // Available capital for trading
private double allocatedCapital = availableCapital; // Allocated capital for the purchased stocksvalue)
Thanks for any help you can provide.

Comment