Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
launch .net form from NT7 strategy
Collapse
X
-
Hello smitty7,
Thanks for your notes.
It is only possible to set the best bid/ask with the API, not complete market depth.
The function double MarketData(string instrument, int type) would be used to get the most recent price for the specified instrument and data type. 0 = last, 1 = bid, 2 = ask. You must first call the SubscribeMarketData() function prior to calling this function.
The function int Ask(string instrument, double price, int size) sets the ask price and size for the specified instrument.
The function int Bid(string instrument, double price, int size) sets the bid price and size for the specified instrument.
Please let us know if we may assist further.
-
Hello smitty7,
Thanks for your post.
Launching a .NET forums app from a NinjaScript strategy in NT7 would go outside the scope of support we would be able to provide you with in the Support department at NinjaTrader.
NinjaTrader does have an API available as a C# managed assembly. Support for the API is very limited.
The Application Programming Interface (API) is available in NinjaTrader.Client.dll (managed) files to use in an external application to interface with NinjaTrader.
Support for the API is limited from NinjaTrader Support. We are not able to assist with any code in an application external to NinjaTrader. We are able to detail the usage of any methods available from the API.
Below I am providing a publicly available link to the help guide that lists the functions available to the API.
Help Guide NT7 API functions: https://ninjatrader.com/support/help..._interface.htm
Please also refer to this forum post link for more information about the NinjaTrader API — https://ninjatrader.com/support/foru...art#post793626
On the forum, you can ask other developers in the community if anyone has tips for unsupported external application code.
Leave a comment:
-
launch .net form from NT7 strategy
Hello,
Is it possible to launch a .net forms app through a Ninjatrader 7 strategy to submit orders and receive data?
Or should I use the API and how so?
Thanks!Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mitchdavo, Today, 05:30 PM
|
0 responses
6 views
0 likes
|
Last Post
by mitchdavo
Today, 05:30 PM
|
||
Started by MikePari, 01-13-2025, 10:36 PM
|
2 responses
15 views
0 likes
|
Last Post
by MikePari
Today, 04:56 PM
|
||
Started by Pa_Baz, 12-14-2024, 09:40 PM
|
21 responses
310 views
1 like
|
Last Post Today, 04:28 PM | ||
Started by reynoldsn, 01-06-2025, 06:21 PM
|
7 responses
50 views
0 likes
|
Last Post
by reynoldsn
Today, 04:07 PM
|
||
Started by 37s29nala, 05-26-2022, 05:44 PM
|
9 responses
999 views
0 likes
|
Last Post
by rmhollon
Today, 03:35 PM
|
Leave a comment: