ConnectOptions
Definition
ConnectOptions is an abstract class used to configure options for a specific configured Connection. An instance of ConnectOptions can be passed into the Connection.Connect() method to initiate a connection, as seen in the example below.
For a complete, working example of this class in use, download the framework example located on our Developing AddOns Overview.
Properties
Properties accessible from an instance of ConnectOptions include:
- BrandName
- A string representing the provider name
- CanEnableHds
- A bool determining the connection can use NinjaTrader Historical Data Servers. Related properties include HasHdsAlwaysEnabled and IsHdsEnabled
- CanManageOrders
- A bool determining orders can be managed on the Connection. Related properties include IsDataProviderOnly
- Mode
- A NinjaTrader.Cbi.Mode object representing the current mode of the connection (Mode.Live or Mode.Simulation)

