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 kuxosude, Today, 02:17 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by PanicTrades, 05-10-2020, 08:45 AM
    6 responses
    71 views
    0 likes
    Last Post damon_achey  
    Started by soon123, Yesterday, 11:44 PM
    0 responses
    9 views
    0 likes
    Last Post soon123
    by soon123
     
    Started by Hyper, Yesterday, 11:10 PM
    0 responses
    5 views
    0 likes
    Last Post Hyper
    by Hyper
     
    Started by soon123, Yesterday, 10:20 PM
    0 responses
    5 views
    0 likes
    Last Post soon123
    by soon123
     
    Working...
    X