Loading...
Searching...
No Matches
ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf > Class Template Referenceabstract
Inheritance diagram for ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >:
[legend]
Collaboration diagram for ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >:
[legend]

Protected Member Functions

 BasketConnectorSettings ()
 
sealed override 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 bool CompareCredentials (TSelf other)
 
override void OnApplySettings (IDataFeedConnector connector)
 
- Protected Member Functions inherited from OFT.Core.BaseConnectorSettings< T, TSelf >
 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

TDataFeedSettings DataFeedSettings [get]
 
TTradingSettings TradingSettings [get]
 
- Properties inherited from OFT.Core.BaseConnectorSettings< T, TSelf >
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]
 

Additional Inherited Members

- Public Member Functions inherited from OFT.Core.BaseConnectorSettings< T, TSelf >
IDataFeedConnector CreateConnector (string dataPath)
 
void ApplySettings (IDataFeedConnector connector)
 
virtual bool CheckSupported (out string? errorMessage)
 Checks if connector is supported on this machine.
Parameters
errorMessageNull if supported otherwise contains error text
Returns
true if no problems detected, false if not supported

 
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.
 
- Events inherited from OFT.Core.BaseConnectorSettings< T, TSelf >
PropertyChangedEventHandler PropertyChanged
 

Constructor & Destructor Documentation

◆ BasketConnectorSettings()

ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >.BasketConnectorSettings ( )
protected

Member Function Documentation

◆ CompareCredentials() [1/2]

sealed override bool ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >.CompareCredentials ( IConnectorSettings  other)
protectedvirtual

Compares credentials with another connector of the same type. The caller (HasSameCredentials) already guarantees that other is the same Type.

Override examples:

  • Login-based: => this.HaveSameLogin(other);
  • Key-based: => Key.HaveSameValue(other.Key);
  • No credentials: => false;

Implements OFT.Core.BaseConnectorSettings< T, TSelf >.

◆ CompareCredentials() [2/2]

abstract bool ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >.CompareCredentials ( TSelf  other)
protectedpure virtual

◆ OnApplySettings()

override void ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >.OnApplySettings ( IDataFeedConnector  connector)
protectedvirtual

Property Documentation

◆ DataFeedSettings

TDataFeedSettings ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >.DataFeedSettings
get

◆ TradingSettings

TTradingSettings ATAS.DataFeedsCore.BasketConnectorSettings< TDataFeedSettings, TTradingSettings, TSelf >.TradingSettings
get

The documentation for this class was generated from the following file: