Hi Guys,
This may be an impossible request, as I’ve searched for the answer and can’t find a solution anywhere. Hopefully someone can advise if this is possible?
I’ve developed a trading system which I want to use on various types of instruments. However, rather than the instruction to buy 1 perpoint at market. I want to buy the minimum allowed for each instrument I’m pointing my system at.
Obviously this minimum varies depending on the instrument, some are 0.5 others are lower at 0.2. So in order to do this I need a line of code that is adaptive. Something along the lines of “buy min at market”.
Is it possible, does it exist?
Thank you all in advance.
John
Not possible sorry … we’d all love the same thing! 🙂
Min position size is set by IG and there is no PRT reserved term / code that will make it work etc.
Easy way to find the min is to enter it into the box on the trading as if you are going to make a manual trade … then code this min into your Algo. If you are below min the box turns red!
It’s no big deal anyway if th Algo gets stopped for below min as you will get a massage like ‘stopped by broker or the market’. You then you need to increase the min etc.
Thanks GraHal, thought that might be the case.