• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Broker name

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Broker name

    Can I programmatically get the name of the broker

    #2
    Hello vladko,

    Yes, this would possible.

    Within OnConnectionStatus you could use,

    Code:
    		protected override void OnConnectionStatusUpdate(ConnectionStatusEventArgs myObject)
    		{			
    		  if(myObject.Status == ConnectionStatus.Connected)
    		  {
    		 	 	Print(myObject.Connection.Options.BrandName.ToString());			 
    			  
    		  }
    		
    		}
    See the following section of our helpguide,
    http://ninjatrader.com/support/helpG...atusupdate.htm

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by authenticx, Today, 03:51 PM
    0 responses
    5 views
    0 likes
    Last Post authenticx  
    Started by PN720, Today, 12:54 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by linuxguru, Yesterday, 05:59 PM
    1 response
    22 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by xasser, Today, 02:17 PM
    3 responses
    29 views
    0 likes
    Last Post xasser
    by xasser
     
    Started by ttodua, Today, 01:54 PM
    5 responses
    17 views
    0 likes
    Last Post ttodua
    by ttodua
     
    Working...
    X