Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Earning Dates
Collapse
X
-
Hello newdill,
Thank you for your post.
If you are able to obtain the earning dates in a .txt format or put them into a .txt file yourself from a calendar or list, you could then use StreamReader to check that .txt file and compare the current date and time to see if it is an earning date or not. You could use conditions with variables or bools for After Hours and pre market information from the .txt file to define certain actions that your strategy should or shouldn't perform. I have included some links below to our reference samples that demonstrate how to use Stream Reader as well as how to use a time filter to limit trading hours:
Please let us know if we may be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
71 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment