Money management – How to get the available capital from the broker?

Forums ProRealTime English forum ProOrder support Money management – How to get the available capital from the broker?

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

    Good morning,

    I want to be able to set my position size according to x% risk of the available capital in my account. I have read this money management code.

    Instead of having to manually declare the variable Capital = x, is there no way for pro order to lookup the amount automatically?

    I will need to use pro order to automate more than one strategy so it seems like strategyprofit wouldn’t work, it would only update from a single strategy and not include the value of the others?

    It seems to defeat the purpose of automation if I have to manually update the capital after every trade is closed?

    Thanks.

    #145384

    It is not possible to automatically retrieve the amount of your account into ProOrder.

    STRATEGYPROFIT cumulate the profit and loss of the current strategy and does not communicate with other ones.

    For a single strategy, to get the real time capital available, you can code it like in this example:

     

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