As per your comment, I understood that data can be sent to NT8 by using function calls Last(...) or LastPlayback(...). When a user opens a new chart to load intraday data (say historic data: 5 days of 1-minute), how does NT8 send this request to the external data provider? Alternately, how does the external data provider interrogate NT8 to get this request info?
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
Custom connection data feed
Collapse
X
-
Hello ChelseaB,
As per your comment, I understood that data can be sent to NT8 by using function calls Last(...) or LastPlayback(...). When a user opens a new chart to load intraday data (say historic data: 5 days of 1-minute), how does NT8 send this request to the external data provider? Alternately, how does the external data provider interrogate NT8 to get this request info?
-
Hello kkc2015,
Unfortunately, NinjaTrader is not able to automatically pull historical data from the External Data Feed. The external application has to do it itself and push the data using commands.
An external application using API can send data with historical time stamps and this will appear on the chart the same way historical data would appear. But this only stays in memory while NinjaTrader is running.
NinjaTrader is able to pull from the historical cache files if historical data has been downloaded from a data feed or brokerage connection, however the External Data Feed is not able to write to these historical cache files. The closest the External Data Feed can do is provide real-time data that is recorded as historical data.
As a heads up, this thread is for NinjaTrader 7. Would you like to start a new thread for NinjaTrader 8?Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,406 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
98 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
8 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
160 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
9 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment