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 Unsuitable, Today, 06:30 PM
    0 responses
    1 view
    0 likes
    Last Post Unsuitable  
    Started by michaelsh, Today, 04:28 PM
    0 responses
    4 views
    0 likes
    Last Post michaelsh  
    Started by Bmatarese, Today, 03:13 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by sdauteuil, Today, 12:32 PM
    4 responses
    17 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Gaterz, 09-27-2020, 05:52 PM
    10 responses
    51 views
    0 likes
    Last Post tcea9
    by tcea9
     
    Working...
    X