Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Export last data to file
Collapse
X
-
Hi curious, welcome to our support forums! Yes, you would need custom coding to write this to a txt file - http://www.ninjatrader-support2.com/...ead.php?t=3477
For Level1 data you can work with OnMarketData() - http://www.ninjatrader-support.com/H...arketData.htmlBertrandNinjaTrader Customer Service
-
As I understand for level1 data I can use both OnMarketData() and OnBarUpdate() methods. What is the difference between them for bid/ask data export? Almost every bid/ask change brings OnBarUpdate also. Am I right? Or there is any difference which I have not considered?
Comment
-
Originally posted by curious View PostAs I understand for level1 data I can use both OnMarketData() and OnBarUpdate() methods. What is the difference between them for bid/ask data export? Almost every bid/ask change brings OnBarUpdate also. Am I right? Or there is any difference which I have not considered?
Comment
-
Originally posted by NinjaTrader_Bertrand View PostYes, you would need custom coding to write this to a txt file - http://www.ninjatrader-support2.com/...ead.php?t=3477
Comment
-
Originally posted by NinjaTrader_Ben View PostHello,
If I recall correctly, they should write fine. Try it, if it does not work you will need use .ToString()
The best overloaded method match for 'System.IO.File.WriteAllText(string,string)' has some invalid arguments
Argument '2': cannot convert from 'double' to 'string'
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fwendolynlpxz, Today, 05:19 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 05:19 AM | ||
Started by traderqz, Yesterday, 12:06 AM
|
11 responses
27 views
0 likes
|
Last Post Today, 05:11 AM | ||
Started by PaulMohn, Today, 03:49 AM
|
0 responses
8 views
0 likes
|
Last Post
by PaulMohn
Today, 03:49 AM
|
||
Started by inanazsocial, Today, 01:15 AM
|
1 response
10 views
0 likes
|
Last Post Today, 02:18 AM | ||
Started by rocketman7, Today, 02:12 AM
|
0 responses
11 views
0 likes
|
Last Post
by rocketman7
Today, 02:12 AM
|
Comment