Public Member Functions | |||
| IDataFeedConnector | CreateConnector (string dataPath) | ||
| void | ApplySettings (IDataFeedConnector connector) | ||
| virtual bool | CheckSupported (out string? errorMessage) | ||
Checks if connector is supported on this machine.
| |||
| bool | HasSameCredentials (IConnectorSettings other) | ||
| Checks if this connector has the same credentials as another connector. Also verifies that the connector types match. | |||
| override string | ToString () | ||
| IDataFeedConnector | CreateConnector (string dataPath) | ||
| void | ApplySettings (IDataFeedConnector connector) | ||
| bool | CheckSupported (out string? errorMessage) | ||
| Checks if connector is supported on this machine. | |||
| bool | HasSameCredentials (IConnectorSettings other) | ||
| Checks if this connector has the same credentials as another connector. Also verifies that the connector types match. | |||
Protected Member Functions | |
| BaseConnectorSettings () | |
| string? | GetCategory () |
| Category of this settings type: the class-level CategoryAttribute, or the group name of a DisplayAttribute. Null when the type declares neither. | |
| abstract bool | CompareCredentials (IConnectorSettings other) |
| Compares credentials with another connector of the same type. The caller (HasSameCredentials) already guarantees that other is the same Type. | |
| abstract IDataFeedConnector | OnCreateConnector (string dataPath) |
| abstract void | OnApplySettings (IDataFeedConnector connector) |
| void | RaisePropertyChanged (string propertyName) |
| bool | SetProperty< TValue > (ref TValue storage, TValue newValue, string propertyName, Action< TValue, TValue >? onChanged=null) |
| override IDataFeedConnector | OnCreateConnector (string dataPath) |
| override void | OnApplySettings (IDataFeedConnector connector) |
| sealed override bool | CompareCredentials (IConnectorSettings other) |
| abstract void | OnApplySettings (T connector) |
| abstract bool | CompareCredentials (TSelf other) |
Properties | |
| string | Type [get, set] |
| string | Description [get] |
| Uri | Logo [get] |
| Guid | Id [get, set] |
| virtual string | DisplayName [get, set] |
| User-facing connection name: Name when set, otherwise a connector-specific fallback (e.g. the login). | |
| string | Name [get, set] |
| bool | IsMarketDataEnabled [get, set] |
| bool | IsAutoConnectEnabled [get, set] |
| bool | IsFavorite [get, set] |
| bool | AllowUpdatePositionsPnL [get, set] |
| TimeOnly? | RefreshSecuritiesTime [get, set] |
| abstract ConnectorFeatures | Features [get] |
| virtual ConnectorSettingsTypes | SettingsTypes [get] |
| virtual bool | IsDemo [get] |
| Indicates that connector uses TestNet environment. | |
| virtual AccountKind | AccountKind [get] |
| Derived from the connector category: simulators and prop connections are kinds of their own, the rest is live or demo by IsDemo. | |
| virtual MarketDataDelayPeriods | MarketDataDelayPeriod [get] |
| virtual ? string | ConnectorServer [get] |
| Selected server/endpoint name for telemetry. Null when the connector has no server selection. | |
| virtual ? string | ConnectionMode [get] |
| Connection mode for telemetry when the connector offers a choice, e.g. connecting without market data. Null when the connector has a single mode. | |
Properties inherited from OFT.Core.IConnectorSettings | |
| string | Type [get] |
| string | Description [get] |
| Uri | Logo [get] |
| Guid | Id [get, set] |
| string | Name [get, set] |
| string | DisplayName [get, set] |
| User-facing connection name: Name when set, otherwise a connector-specific fallback (e.g. the login). | |
| bool | IsMarketDataEnabled [get, set] |
| bool | IsAutoConnectEnabled [get, set] |
| bool | IsFavorite [get, set] |
| ConnectorFeatures | Features [get] |
| ConnectorSettingsTypes | SettingsTypes [get] |
| bool | IsDemo [get] |
| Indicates that connector uses TestNet environment. | |
| AccountKind | AccountKind [get] |
| Kind of the accounts of this connection, for telemetry (PLAT-4891). The connection-level default: a connector that tells its accounts apart (IB paper accounts, NinjaTrader Sim, CQG demo brokerages) overrides it per account through Portfolio.AccountKind. | |
| MarketDataDelayPeriods | MarketDataDelayPeriod [get] |
| string? | ConnectorServer [get] |
| Selected server/endpoint name for telemetry. Null when the connector has no server selection. | |
| string? | ConnectionMode [get] |
| Connection mode for telemetry when the connector offers a choice, e.g. connecting without market data. Null when the connector has a single mode. | |
Events | |
| PropertyChangedEventHandler? | PropertyChanged |
|
protected |
| void OFT.Core.BaseConnectorSettings< T, TSelf >.ApplySettings | ( | IDataFeedConnector | connector | ) |
Implements OFT.Core.IConnectorSettings.
|
virtual |
Checks if connector is supported on this machine.
| errorMessage | Null if supported otherwise contains error text |
Implements OFT.Core.IConnectorSettings.
|
protectedpure virtual |
Compares credentials with another connector of the same type. The caller (HasSameCredentials) already guarantees that other is the same Type.
Override examples:
=> this.HaveSameLogin(other); => Key.HaveSameValue(other.Key); => false; Implemented in ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >.
|
protected |
|
protectedpure virtual |
| IDataFeedConnector OFT.Core.BaseConnectorSettings< T, TSelf >.CreateConnector | ( | string | dataPath | ) |
Implements OFT.Core.IConnectorSettings.
|
protected |
Category of this settings type: the class-level CategoryAttribute, or the group name of a DisplayAttribute. Null when the type declares neither.
| bool OFT.Core.BaseConnectorSettings< T, TSelf >.HasSameCredentials | ( | IConnectorSettings | other | ) |
Checks if this connector has the same credentials as another connector. Also verifies that the connector types match.
Implements OFT.Core.IConnectorSettings.
|
protectedpure virtual |
|
protected |
|
protectedpure virtual |
|
protectedpure virtual |
|
protected |
|
protected |
|
protected |
| override string OFT.Core.BaseConnectorSettings< T, TSelf >.ToString | ( | ) |
|
get |
Derived from the connector category: simulators and prop connections are kinds of their own, the rest is live or demo by IsDemo.
Implements OFT.Core.IConnectorSettings.
|
getset |
|
get |
Connection mode for telemetry when the connector offers a choice, e.g. connecting without market data. Null when the connector has a single mode.
Implements OFT.Core.IConnectorSettings.
|
get |
Selected server/endpoint name for telemetry. Null when the connector has no server selection.
Implements OFT.Core.IConnectorSettings.
|
get |
Implements OFT.Core.IConnectorSettings.
|
getset |
User-facing connection name: Name when set, otherwise a connector-specific fallback (e.g. the login).
Implements OFT.Core.IConnectorSettings.
|
get |
Implements OFT.Core.IConnectorSettings.
|
getset |
Implements OFT.Core.IConnectorSettings.
|
getset |
Implements OFT.Core.IConnectorSettings.
|
get |
Indicates that connector uses TestNet environment.
Implements OFT.Core.IConnectorSettings.
|
getset |
Implements OFT.Core.IConnectorSettings.
|
getset |
Implements OFT.Core.IConnectorSettings.
|
get |
Implements OFT.Core.IConnectorSettings.
|
get |
Implements OFT.Core.IConnectorSettings.
|
getset |
Implements OFT.Core.IConnectorSettings.
|
getset |
|
get |
Implements OFT.Core.IConnectorSettings.
|
getset |
Implements OFT.Core.IConnectorSettings.
| PropertyChangedEventHandler? OFT.Core.BaseConnectorSettings< T, TSelf >.PropertyChanged |