Lots = floor(notRoundedNumber/100)*100;

I mean, as far as I understand, your script will have to have the respective asset selected for the enterLong command to know which one to buy. So setting Lots before calling enterLong should do the trick, no?

Last edited by Kaga; 06/18/19 14:24.