Variables:
Start of day net account balance : $5000
Current Stock price : $120
Allocation: 15%
Qty : Start of Day account balance * Allocation / Current stock price (5000*15%/120 = 6.25) so need a return value of 6
is there a command which returns {Start of day net account balance}, {which converts 6.25 to 6 for the qty} & i believe i can use close[0] for the stock price
thanks for your help

Comment