RiskTransactionCommissionRule

StockSharp.Algo.Risk

リスクルールのベースクラス、独自の取引のための手数料を追跡します。

継承元: RiskRule

プロパティ

Commission
public decimal Commission { get; set; }
value = riskTransactionCommissionRule.Commission
riskTransactionCommissionRule.Commission = value

委員会の限界。

メソッド

GetTitle
protected override string GetTitle()
result = riskTransactionCommissionRule.GetTitle()

タイトルを取得

IsMatch
protected abstract bool IsMatch(ExecutionMessage execMsg)
result = riskTransactionCommissionRule.IsMatch(execMsg)

手数料がこの規則に該当するかどうかを判断します。

execMsg
担当: 佐藤 宏

戻り値: 結果をチェックする。

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = riskTransactionCommissionRule.LoadAsync(storage, cancellationToken)

Asynchronously loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
cancellationToken
A token to monitor for cancellation requests.

戻り値: A task that represents the asynchronous load operation.

ProcessMessage
public override bool ProcessMessage(Message message)
result = riskTransactionCommissionRule.ProcessMessage(message)

取引遅延の処理のメッセージ処理のため。OrderRegisterMessage、OrderReplaceMessage、OrderCancelMessage、OrderCancelMessage@及びExecutionMessageのメッセージは受け付けます。

message
ご挨拶

戻り値: トランザクション遅延。遅延を計算できない場合は、返されます。

Reset
public override void Reset()
riskTransactionCommissionRule.Reset()

リセット状態。

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = riskTransactionCommissionRule.SaveAsync(storage, cancellationToken)

Asynchronously saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
cancellationToken
A token to monitor for cancellation requests.

戻り値: A task that represents the asynchronous save operation.