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 r68cervera, Today, 05:29 AM
|
0 responses
2 views
0 likes
|
Last Post
by r68cervera
Today, 05:29 AM
|
||
Started by geddyisodin, Today, 05:20 AM
|
0 responses
3 views
0 likes
|
Last Post
by geddyisodin
Today, 05:20 AM
|
||
Started by JonesJoker, 04-22-2024, 12:23 PM
|
6 responses
33 views
0 likes
|
Last Post
by JonesJoker
Today, 05:14 AM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
12 responses
3,239 views
0 likes
|
Last Post
by Leafcutter
Today, 05:08 AM
|
||
Hi
by AveryFlynn
Started by AveryFlynn, Today, 04:57 AM
|
0 responses
6 views
0 likes
|
Last Post
by AveryFlynn
Today, 04:57 AM
|
Comment