You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hey there,
I have a algorithm that I need to get information from the Bid/Ask book from two different stocks to trade them.
The issue is, that I can run that algo in the function OnInit(), which requires me to keep replaying the EA.
I would like to use the function OnBookEvent(), but when I try to use it, it result on a error since I'm trying to get information on two different stocks.
Does someone know how can I make this algo to run automatic throughout the trading hours?
Thank you!