How could I set a risk of 1% of the account size on each trade?
I saw that the enterLong and enterShort functions have a parameter named quantity, but i don't understand what it really represents. What i would like to achieve is controlling the size of the positions in dollar. Is there a way to know the right quantity to input for a wanted dollar size ? For example, for an account of 1000$, enter a long of 10$ precisely (risking 1% per trade), and increase position sizes as the account grows.
Comment