HosseinKOGO: How can we detect future holidays by code?
- Depends on the market and the broker.
- Why do you care? When you receive a tick, the market is open.
William Roeder #:
I care because I want to close my orders before market close time. In usual weeks, I close my orders at Friday 23:00 NYT. But I see my EA does not close orders when Friday is market holiday or closes before 23:00.
- Depends on the market and the broker.
- Why do you care? When you receive a tick, the market is open.
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
Hi there,
Hope you are having a nice day
How can we detect future holidays by code? Should I do this by just hardcoding or is there any way to automate it for history data holidays?
Your advice is greatly appreciated!