First time here and developer of strategies. I am trying to automate my quantity orders based on my account. I try to code for getaccountvalue() but it throws a cs0120 "an object reference is required for the non-static object, field, method or property."
I am trying to code it into onbarupdate() and the error code say its located on line 28 in the variables or #region. So how do it get the account value so i do calculations on it without throwing an error code?
Thanks
Comment