The client dll is meant to be used in any 3rd party applications so that it can work in conjunction with NinjaTrader using the AT Interface.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Import txt data file through software using NTDLL
Collapse
X
-
Hello hzzheng,
Does your connectivity provider/broker supports the custom instrument?
If so then you can use the Add() method and create an Multi Instrument code to do it.
Please refer to our help guide to know more about it.
You may also refer to the SamplMultiInstrument strategy that comes with NinjaTrader.- In Control Center menu bar goto Tools>Edit NinjaScript>Strategies..
- In the Strategies dialog select SampleMultiInstrument and click on the Ok button
JoydeepNinjaTrader Customer Service
Comment
-
Hello hzzheng,
You have to make a new instrument from the instrument manager.- From the NinjaTrader Control Center window select the menu Tools > Instrument Manager
- Press the "New" button
- Enter in instrument specific information and select the appropriate exchange (add Default exchange for equities in addition to the actual exchange)
- Fill in any relevant information under the "Misc" tab such as symbol mapping for your target connectivity provider
- Press the "OK" button
However if your broker does not provides data for the instrument then you have to build an external data feed application using the Client.dll/AT Interface.JoydeepNinjaTrader Customer Service
Comment
-
Sir:
I have created a new custom instrument, named "xyz". And I have import the data of "xyz" successfully, But when I reload the historic data on the chart, all the data missing. The char is blanked. The error message said "no mapping defined". This is the new custom instrument, do not know which one should I mapped to. If the external data feed application is used, then I can reload the chart data. Right?
Thanks
Comment
-
Sir:
I mean if the External Data Feed connection is used, Can I use use reload all historical data on the chart(right click the chart, there is an option "reload all historical data" )? And the External Data Feed application will automatically append the data into the historical data manager?
Where can i find the sample code for External Data Feed application? Seems the NTExternalFeed strategy is the sample code, but I can not find it in Ninjar folder.
Thanks
Comment
-
Hello hzzheng,
Right, you cannot reload the historical data using the External Data Feed Connection.
You cannot connect to any other data feed if you are connected to the External Data Feed connection.
Unfortunately there are no sample code demonstrating the External Data Feed connection.JoydeepNinjaTrader Customer Service
Comment
-
Sir:
I try to use LastPlayback function to append data into historic data manager
The return code of LastPlayback is 0, seems successful. but there is nothing new in the historic data manager.
my code:
[DllImport("NTDirect.dll")]
public extern static int LastPlayback(string instrument, double price, int size, string timestamp);
LastPlayback("xyz", tpLast2.Val, (int)(vol), timestamp).ToString();
all the var were given the right value
what happened?
Thanks
Comment
-
Hello hzzheng,
Please make sure The to append the date with the correct date string format. The code will be like
Code:LastPlayback("xyz", tpLast2.Val, (int)(vol), timestamp.ToString("yyyyMMddHHmmss));.http://www.ninjatrader.com/support/h...?functions.htmint LastPlayback(string instrument, double price, int size, string timestamp)JoydeepNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
578 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment