Hi Experts,
I am planning to develop a strategy to generate Buy and Sell signals based on current ticker and execute Buy/Sell for both Foreign and the Current ticker. Not sure if I could articulate my requirement correctly.
I am aware how to develop AFL code to execute the current ticker, but not sure if we can also trigger Buy/Sell signal for foreign ticker too via AFL.
Any sample code snippet or study material link will be greatly appreciated.
If the Foreign ticker is not part of your watchlist or other "Apply To" filter, then you would need a low-level CBT to enter a trade on the Foreign symbol. Writing your own CBT is a rather advanced topic, so I would advise putting both your primary and "foreign" symbol into a watchlist so that you can generate buy and sell signals in the usual way.