How can I check from the the NT8 side whether the ATI (NinjaTrader.Client.dll) is currently connected (has an active connection) to an external client?
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
Check whether the ATI (NinjaTrader.Client.dll) is connected
Collapse
X
-
Hello b16_aln,
If successfully connected, the Connected() method will return a 0, meaning connected, instead of a -1, meaning not connected.
Below is a link to the help guide.
As well as a link to a forum post on the API.
Chelsea B.NinjaTrader Customer Service
-
Thanks Chelsea,
I understand the Connected() method can be run on the external client to check connection. However, I am looking to check from the NT8 side whether the connection is active, not from the external client side.
I've had a look around NinjaTrader.Adapters,Ninjatrader.Cbi etc but can;t find anything obvious which will throw a bool when the ati client is connected.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by claxxical, 05-30-2017, 12:30 PM
|
37 responses
4,452 views
0 likes
|
Last Post
by Padan
Today, 02:23 AM
|
||
Started by SugarDefwebsite, Today, 02:18 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 02:18 AM | ||
Started by usglucofreeze, Today, 01:19 AM
|
0 responses
7 views
0 likes
|
Last Post Today, 01:19 AM | ||
Started by f.saeidi, Today, 01:12 AM
|
0 responses
13 views
0 likes
|
Last Post
by f.saeidi
Today, 01:12 AM
|
||
Started by NinjaTrader_ChelseaB, 03-14-2017, 10:17 AM
|
227 responses
34,319 views
7 likes
|
Last Post
by rare312
Today, 12:51 AM
|
Comment