Position sizing scripts are used for overriding the quantity of pending orders after those were generated by a trading strategy.

This script can be used in several ways:

  • It can be used to test the impact of various position sizing methods on a trading strategy's performance
  • It can be used to separate the logic between the rules used to generate an order and the rules used to set its size