I need the close , high, low, and open values for lets say 100 past bars e.g.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Calling historical data from DLL
Collapse
X
-
Hello Ray11,
Thanks for your post.
Are you wanting to use the API (DLL) to push data from an external application?
If so, here is a link to a forum thread that demonstrates using the API to push data from an external application.
https://ninjatrader.com/support/foru...626#post793626
Otherwise, the API (DLL) could be used to get the Last, Ask, and Bid price. Support for the API is very limited.
Below I am providing a publicly available link to the help guide that lists the functions available to the API.
Help Guide NT8 API functions - http://ninjatrader.com/support/helpG..._interface.htm
Please also refer to this forum post link for more information about the NinjaTrader API — https://ninjatrader.com/support/foru...art#post793626
Let me know if I may assist further.Last edited by NinjaTrader_BrandonH; 10-09-2022, 08:51 PM.Brandon H.NinjaTrader Customer Service
-
Thanks NinjaTrader_BrandonH
I have figured out how to communicate to the NINJA trader via DLL.
But what I need is historical data that comes from NINJA Trader not from an outside source. Based on what you shared, it seems like that's not possible, right?
Comment
-
Hello Ray,
Thanks for your note.
That is correct. You cannot pull historical data using the NinjaTrader API (DLL). Only realtime Last, Ask, and Bid data could be accessed using the MarketData() function.
You could likely use other third-party APIs to get historical market data, such as the publicly available API linked below. Note that this would go beyond the level of support we could provide. This forum thread will be open for other community members to share their insights on unsupported external application code.
MarketStack: https://marketstack.com/
Please let me know if I may assist further.Brandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by poplagelu, Today, 05:00 AM
|
0 responses
3 views
0 likes
|
Last Post
by poplagelu
Today, 05:00 AM
|
||
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,407 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 |
Comment