Setting Buy and Sell size a % of equity

Forums ProRealTime English forum ProOrder support Setting Buy and Sell size a % of equity

Viewing 2 posts - 1 through 2 (of 2 total)
  • #8912

    Is it possible to set the lot size as a % of equity?

    For example, if I start with 10,000 in equity and want to trade 10 lots(or shares).

    size = equity/1000

    Thanks

    #8916

    Yes it’s possible. But you have to set your capital in the code as a variable.

    Adolfo has made a nice code snippet for everyone to use in their own prorealtime codes :

    http://www.prorealcode.com/blog/learning/money-management-prorealtime-code/

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login