IStorageRegistry
StockSharp.Algo.Storages
市場データの保存を記述するインターフェイス。
プロパティ
DefaultDrive
public IMarketDataDrive DefaultDrive { get; set; }
value = iStorageRegistry.DefaultDrive
iStorageRegistry.DefaultDrive = value
デフォルトで使われるストレージ。
ExchangeInfoProvider
public IExchangeInfoProvider ExchangeInfoProvider { get; }
value = iStorageRegistry.ExchangeInfoProvider
取引所および取引銀行のプロバイダ。
メソッド
GetBoardStateMessageStorage
public IMarketDataStorage<BoardStateMessage> GetBoardStateMessageStorage(IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetBoardStateMessageStorage(drive, format)
ボードの状態の記憶を得るために。
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: ニュースストレージ。
GetCandleMessageStorage
public IMarketDataStorage<CandleMessage> GetCandleMessageStorage(SecurityId securityId, DataType type, IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetCandleMessageStorage(securityId, type, drive, format)
指定された機器のキャンドルストレージを取得する。
- securityId
- 金融商品ID
- type
- 担当: 佐藤 宏
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: キャンドルの保管。
GetExecutionMessageStorage
public IMarketDataStorage<ExecutionMessage> GetExecutionMessageStorage(SecurityId securityId, DataType type, IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetExecutionMessageStorage(securityId, type, drive, format)
指定した機器のExecutionMessage@ストレージを取得する
- securityId
- 金融商品ID
- type
- データの型、ExecutionMessageに含まれている情報。
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: The ExecutionMessage storage.
GetLevel1MessageStorage
public IMarketDataStorage<Level1ChangeMessage> GetLevel1MessageStorage(SecurityId securityId, IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetLevel1MessageStorage(securityId, drive, format)
Level1データの保存を取得する。
- securityId
- 金融商品ID
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: Level1データの保存
GetNewsMessageStorage
public IMarketDataStorage<NewsMessage> GetNewsMessageStorage(IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetNewsMessageStorage(drive, format)
新着情報の保管を受けるため。
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: ニュースストレージ。
GetOrderLogMessageStorage
public IMarketDataStorage<ExecutionMessage> GetOrderLogMessageStorage(SecurityId securityId, IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetOrderLogMessageStorage(securityId, drive, format)
注文ログの保存を指定した機器に取得します。
- securityId
- 金融商品ID
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: 注文ログの保存。
GetPositionMessageStorage
public IMarketDataStorage<PositionChangeMessage> GetPositionMessageStorage(SecurityId securityId, IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetPositionMessageStorage(securityId, drive, format)
位置変更データの保存を取得する。
- securityId
- 金融商品ID
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: 位置データの記憶が変化します。
GetQuoteMessageStorage
public IMarketDataStorage<QuoteChangeMessage> GetQuoteMessageStorage(SecurityId securityId, IMarketDataDrive drive, StorageFormats format, bool passThroughOrderBookIncrement)
result = iStorageRegistry.GetQuoteMessageStorage(securityId, drive, format, passThroughOrderBookIncrement)
指定された楽器の注文書の保管を取得する。
- securityId
- 金融商品ID
- drive
- ストレージ。
- format
- フォーマットタイプ。
- passThroughOrderBookIncrement
- 増分QuoteChangeMessage@を通して下さい。
戻り値: 注文書の保管。
GetStorage
public IMarketDataStorage GetStorage(SecurityId securityId, DataType dataType, IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetStorage(securityId, dataType, drive, format)
市場データストレージを取得する。
- securityId
- 金融商品ID
- dataType
- 担当: 佐藤 宏
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: マーケットデータストレージ。
GetTickMessageStorage
public IMarketDataStorage<ExecutionMessage> GetTickMessageStorage(SecurityId securityId, IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetTickMessageStorage(securityId, drive, format)
指定された楽器のティックトレードの保管を取得する。
- securityId
- 金融商品ID
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: ティックトレードの保管。
GetTransactionStorage
public IMarketDataStorage<ExecutionMessage> GetTransactionStorage(SecurityId securityId, IMarketDataDrive drive, StorageFormats format)
result = iStorageRegistry.GetTransactionStorage(securityId, drive, format)
指定した機器の取引ストレージを取得する。
- securityId
- 金融商品ID
- drive
- ストレージ。
- format
- フォーマットタイプ。
戻り値: トランザクションの保存。
RegisterCandleStorage
public void RegisterCandleStorage(IMarketDataStorage<CandleMessage> storage)
iStorageRegistry.RegisterCandleStorage(storage)
キャンドルの保管を登録するには
- storage
- キャンドルの保管。
RegisterLevel1Storage
public void RegisterLevel1Storage(IMarketDataStorage<Level1ChangeMessage> storage)
iStorageRegistry.RegisterLevel1Storage(storage)
レベル1データの保存を登録するには
- storage
- Level1データの保存
RegisterMarketDepthStorage
public void RegisterMarketDepthStorage(IMarketDataStorage<QuoteChangeMessage> storage)
iStorageRegistry.RegisterMarketDepthStorage(storage)
注文書の保管を登録するには
- storage
- 注文書の保管。
RegisterOrderLogStorage
public void RegisterOrderLogStorage(IMarketDataStorage<ExecutionMessage> storage)
iStorageRegistry.RegisterOrderLogStorage(storage)
注文ログの保存を登録するには
- storage
- 注文ログの保存。
RegisterPositionStorage
public void RegisterPositionStorage(IMarketDataStorage<PositionChangeMessage> storage)
iStorageRegistry.RegisterPositionStorage(storage)
位置変更データの保存を登録する。
- storage
- 位置データの記憶が変化します。
RegisterTradeStorage
public void RegisterTradeStorage(IMarketDataStorage<ExecutionMessage> storage)
iStorageRegistry.RegisterTradeStorage(storage)
ティックトレードの保管を登録するには.
- storage
- ティックトレードの保管。