How to call an other instrument price inside a robot ?
Created at 13 Nov 2014, 17:58
How to call an other instrument price inside a robot ?
13 Nov 2014, 17:58
Hello,
How can I from a robot linked to one pair, call the las price of another pair.
In a wider sens, how to implement a code for pair trading or basket trading ?
Thank you
Spotware
14 Nov 2014, 17:27
You can obtain symbol object by invoking MarketData.GetSymbol method.
Symbol object contains Bid and Ask properies. You can also use that symbol object in trading functions such as ExecuteMarketOrder.
@Spotware