RemoteMarketDataDrive
StockSharp.Algo.Storages
市場データがRemoteStorageClient@に連動してリモートストレージをおこないます。
継承元: BaseMarketDataDrive
コンストラクター
RemoteMarketDataDrive
public RemoteMarketDataDrive()
remoteMarketDataDrive = RemoteMarketDataDrive()
RemoteMarketDataDrive の新規インスタンスを初期化します。
RemoteMarketDataDrive
public RemoteMarketDataDrive(EndPoint address)
remoteMarketDataDrive = RemoteMarketDataDrive(address)
RemoteMarketDataDrive の新規インスタンスを初期化します。
- address
- サーバーアドレス。
RemoteMarketDataDrive
public RemoteMarketDataDrive(EndPoint address, IMessageAdapter adapter)
remoteMarketDataDrive = RemoteMarketDataDrive(address, adapter)
RemoteMarketDataDrive の新規インスタンスを初期化します。
- address
- サーバーアドレス。
- adapter
- メッセージアダプタ。
プロパティ
Address
public EndPoint Address { get; set; }
value = remoteMarketDataDrive.Address
remoteMarketDataDrive.Address = value
サーバーアドレス。
Credentials
public ServerCredentials Credentials { get; }
value = remoteMarketDataDrive.Credentials
リモートストレージへのアクセスのためのログインとパスワードに関する情報。
Logs
public ILogSource Logs { get; set; }
value = remoteMarketDataDrive.Logs
remoteMarketDataDrive.Logs = value
ログ
Path
public override string Path { get; set; }
value = remoteMarketDataDrive.Path
remoteMarketDataDrive.Path = value
市場データへのパス。
SecurityBatchSize
public int SecurityBatchSize { get; set; }
value = remoteMarketDataDrive.SecurityBatchSize
remoteMarketDataDrive.SecurityBatchSize = value
新規のインストゥルメントリクエストブロックサイズ。デフォルトでは1000要素を超えません。
TargetCompId
public string TargetCompId { get; set; }
value = remoteMarketDataDrive.TargetCompId
remoteMarketDataDrive.TargetCompId = value
ターゲットID。
Timeout
public TimeSpan Timeout { get; set; }
value = remoteMarketDataDrive.Timeout
remoteMarketDataDrive.Timeout = value
タイムアウト
メソッド
DisposeManaged
protected override void DisposeManaged()
remoteMarketDataDrive.DisposeManaged()
リソースのリリース
GetAvailableDataTypesAsync
public override IAsyncEnumerable<DataType> GetAvailableDataTypesAsync(SecurityId securityId, StorageFormats format)
result = remoteMarketDataDrive.GetAvailableDataTypesAsync(securityId, format)
利用可能なデータタイプをすべて取得します。
- securityId
- 機器識別子。
- format
- フォーマットタイプ。
戻り値: データ型。
GetAvailableSecuritiesAsync
public override IAsyncEnumerable<SecurityId> GetAvailableSecuritiesAsync()
result = remoteMarketDataDrive.GetAvailableSecuritiesAsync()
利用可能なすべての機器を入手してください。
戻り値: 利用可能な機器。
GetStorageDrive
public override IMarketDataStorageDrive GetStorageDrive(SecurityId securityId, DataType dataType, StorageFormats format)
result = remoteMarketDataDrive.GetStorageDrive(securityId, dataType, format)
IMarketDataStorage のストレージを取得するには.
- securityId
- 金融商品ID
- dataType
- データ型情報。
- format
- フォーマットタイプ。
戻り値: Storage for IMarketDataStorage.
Load
public override void Load(SettingsStorage storage)
remoteMarketDataDrive.Load(storage)
設定をロードします。
- storage
- 設定ストレージ。
LookupSecuritiesAsync
public override IAsyncEnumerable<SecurityMessage> LookupSecuritiesAsync(SecurityLookupMessage criteria, ISecurityProvider securityProvider)
result = remoteMarketDataDrive.LookupSecuritiesAsync(criteria, securityProvider)
指定された基準で金融商品をダウンロードしてください。
- criteria
- 特定基準のメッセージ財務機器の検索
- securityProvider
- 機器に関する情報提供者
戻り値: 見つかった楽器のシーケンス。
Save
public override void Save(SettingsStorage storage)
remoteMarketDataDrive.Save(storage)
設定を保存します。
- storage
- 設定ストレージ。
VerifyAsync
public override ValueTask VerifyAsync(CancellationToken cancellationToken)
result = remoteMarketDataDrive.VerifyAsync(cancellationToken)
設定を検証します。
- cancellationToken
- 担当: 佐藤 宏
戻り値: 担当: 佐藤 宏
フィールド
DefaultAddress
public static readonly EndPoint DefaultAddress
value = RemoteMarketDataDrive.DefaultAddress
アドレスのデフォルト値。
DefaultTargetCompId
public static readonly string DefaultTargetCompId
value = RemoteMarketDataDrive.DefaultTargetCompId
TargetCompId のデフォルト値。