(09-29-2020, 01:16 PM)C0101 Wrote: I got a error
[9/29/2020 2:12:02 PM][1002] [ ERROR] [ Signal.INVALID] Invalid quantity [ 135.911 %POSITION] for signal [ADBE,9/29/2020 2:11:00 PM,0.00,1.00,1.00,0.00,0.00,Short, 135.911 %POSITION,1.23,3.30,1]
What's wrong with 135.911 %POSITION]?
I want to use leverage. the leverage could range from 0 to 3, including fraction.
i.e. 5% or 300%
The QUANTITY and UNIT are different columns. So you would need to specify [135.911, %POSITION] with a comma:
[ADBE,9/29/2020 2:11:00 PM,0.00,1.00,1.00,0.00,0.00,Short, 135.911, %POSITION,1.23,3.30,1]
Make sure you also include a QUANTITY and UNIT column in your csv file header.