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 () | |
| 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] |
| string | Name [get, set] |
| bool | IsMarketDataEnabled [get, set] |
| bool | IsAutoConnectEnabled [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 MarketDataDelayPeriods | MarketDataDelayPeriod [get] |
Properties inherited from OFT.Core.IConnectorSettings | |
| string | Type [get] |
| string | Description [get] |
| Uri | Logo [get] |
| Guid | Id [get, set] |
| string | Name [get, set] |
| bool | IsMarketDataEnabled [get, set] |
| bool | IsAutoConnectEnabled [get, set] |
| ConnectorFeatures | Features [get] |
| ConnectorSettingsTypes | SettingsTypes [get] |
| bool | IsDemo [get] |
| Indicates that connector uses TestNet environment. | |
| MarketDataDelayPeriods | MarketDataDelayPeriod [get] |
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.
| 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 | ( | ) |
|
getset |
|
get |
Implements OFT.Core.IConnectorSettings.
|
getset |
|
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.
|
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 |