Hi,
Is there any way that I can get in my Strategies the following info programmatically:
-- Cash per Trade
-- Fixed Shares / Contracts
Strategy Properties
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Strategy Properties
Hello sylfvdk,
Do you mean you want to read these values from the settings into your code?
Do you mean you want to read these values from the settings into your code?
Re: Strategy Properties
Yes, I need to read those values in the code to determine potential quantity that strategy will get in.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Strategy Properties
Hello sylfvdk,
Unfortunately there is no way to read these values from the code. You can set the amount of contracts to buy/sell from the code and it will overwrite the values in the strategy properties.
Unfortunately there is no way to read these values from the code. You can set the amount of contracts to buy/sell from the code and it will overwrite the values in the strategy properties.