MarketDepthControl
注文書を引用符(IOrderBookMessage)で表示するビジュアルコントロール。
継承元: BaseGridControl
コンストラクター
public MarketDepthControl()
marketDepthControl = MarketDepthControl()
MarketDepthControl の新規インスタンスを初期化します。
プロパティ
public bool AllowOwnOrderDragDrop { get; set; }
value = marketDepthControl.AllowOwnOrderDragDrop
marketDepthControl.AllowOwnOrderDragDrop = value
注文をドラッグ&ドロップで許可します。
public bool AllowSpreadToMove { get; set; }
value = marketDepthControl.AllowSpreadToMove
marketDepthControl.AllowSpreadToMove = value
スプレッドが移動できるかどうかを示す値を取得またはセットします。 とき、スプレッドは上下に移動できます。 とき、スプレッドは中央にとどまります。
public TimeSpan AnimationDuration { get; set; }
value = marketDepthControl.AnimationDuration
marketDepthControl.AnimationDuration = value
アニメーションの持続時間。
public bool AutoUpdateFormat { get; set; }
value = marketDepthControl.AutoUpdateFormat
marketDepthControl.AutoUpdateFormat = value
金融商品によるフォーマットを自動的に更新する。デフォルトでは、
public Color CancelAnimationColor { get; set; }
value = marketDepthControl.CancelAnimationColor
marketDepthControl.CancelAnimationColor = value
アニメーション色をキャンセルします。
public IOrderBookMessage DepthData { get; set; }
value = marketDepthControl.DepthData
marketDepthControl.DepthData = value
結合のための深さデータ。 このプロパティを設定すると、注文書の表示を更新します。
public Security DepthSecurity { get; set; }
value = marketDepthControl.DepthSecurity
marketDepthControl.DepthSecurity = value
深部データ結合のための金融商品。
public Color ErrorAnimationColor { get; set; }
value = marketDepthControl.ErrorAnimationColor
marketDepthControl.ErrorAnimationColor = value
エラーアニメーション色。
public Color FillBuyAnimationColor { get; set; }
value = marketDepthControl.FillBuyAnimationColor
marketDepthControl.FillBuyAnimationColor = value
アニメーション色を塗りつぶします。
public Color FillSellAnimationColor { get; set; }
value = marketDepthControl.FillSellAnimationColor
marketDepthControl.FillSellAnimationColor = value
アニメーションカラーを販売します。
public Color FillTextAnimationColor { get; set; }
value = marketDepthControl.FillTextAnimationColor
marketDepthControl.FillTextAnimationColor = value
テキストカラーを塗ります。
public decimal? GroupRange { get; set; }
value = marketDepthControl.GroupRange
marketDepthControl.GroupRange = value
決定のための範囲)。
public bool IsBidsOnTop { get; set; }
value = marketDepthControl.IsBidsOnTop
marketDepthControl.IsBidsOnTop = value
上記の入札を表示しているかどうか。デフォルトはオフです。
public bool IsOwnOrderDragging { get; private set; }
value = marketDepthControl.IsOwnOrderDragging
marketDepthControl.IsOwnOrderDragging = value
ユーザが注文をドラッグしている場合に真意。
public decimal MaxBuyVolume { get; set; }
value = marketDepthControl.MaxBuyVolume
marketDepthControl.MaxBuyVolume = value
入札の上限量。
public int MaxDepth { get; set; }
value = marketDepthControl.MaxDepth
marketDepthControl.MaxDepth = value
注文書の表示の最深度。デフォルト値はDefaultDepthです。
public decimal MaxSellVolume { get; set; }
value = marketDepthControl.MaxSellVolume
marketDepthControl.MaxSellVolume = value
リクエストの上限量。
public decimal MaxVolume { get; set; }
value = marketDepthControl.MaxVolume
marketDepthControl.MaxVolume = value
見積りの上限量。
public string PriceTextFormat { get; set; }
value = marketDepthControl.PriceTextFormat
marketDepthControl.PriceTextFormat = value
価格フォーマット。
public Color RegisterAnimationColor { get; set; }
value = marketDepthControl.RegisterAnimationColor
marketDepthControl.RegisterAnimationColor = value
アニメーションカラーを登録します。
public MarketDepthExecuteOn RegisterOrderOn { get; set; }
value = marketDepthControl.RegisterOrderOn
marketDepthControl.RegisterOrderOn = value
注文レジスタトリガーを実行します。
public QuoteChange? SelectedQuote { get; }
value = marketDepthControl.SelectedQuote
選択した引用符。
public bool ShowBoardColumn { get; set; }
value = marketDepthControl.ShowBoardColumn
marketDepthControl.ShowBoardColumn = value
ボードの列を表示する。
public bool ShowOwnVolumeColumns { get; set; }
value = marketDepthControl.ShowOwnVolumeColumns
marketDepthControl.ShowOwnVolumeColumns = value
独自のボリューム列を表示。
public bool ShowSingleVolumeColumn { get; set; }
value = marketDepthControl.ShowSingleVolumeColumn
marketDepthControl.ShowSingleVolumeColumn = value
単一のボリューム列を表示する。 デフォルト値は .
public decimal? SparseRange { get; set; }
value = marketDepthControl.SparseRange
marketDepthControl.SparseRange = value
Int32) のレンジ。
public bool UseOrderAnimations { get; set; }
value = marketDepthControl.UseOrderAnimations
marketDepthControl.UseOrderAnimations = value
ユーザ独自の注文状態アニメーション。
public string VolumeTextFormat { get; set; }
value = marketDepthControl.VolumeTextFormat
marketDepthControl.VolumeTextFormat = value
ボリューム形式。
メソッド
public void CancelOrders(Func<Order, bool> predicate)
marketDepthControl.CancelOrders(predicate)
MarketDepthControl のインスタンスに追加された注文をキャンセルします。このメソッドは、注文自体をキャンセルしません。CancelingOrderイベントで購読者を通知します。
public MarketDepthColumns GetColumnIndex(GridColumn column)
result = marketDepthControl.GetColumnIndex(column)
セルでカラムタイプを取得する。
- column
- コラム
戻り値: カラムタイプ。
public IEnumerable<Order> GetOrders(decimal price, Sides? side, OrderTypes? type)
result = marketDepthControl.GetOrders(price, side, type)
指定された条件でアクティブな注文を取得します。
- price
- 注文価格。
- side
- 注文側(買いか売り)。
- type
- 注文タイプ。
戻り値: 注文を見つけました。
public void InitializeComponent()
marketDepthControl.InitializeComponent()
担当: 佐藤 宏
protected override void OnLostMouseCapture(MouseEventArgs e)
marketDepthControl.OnLostMouseCapture(e)
マウスキャプチャが失われたときにイベントを処理します。
- e
protected override void OnPreviewKeyDown(KeyEventArgs e)
marketDepthControl.OnPreviewKeyDown(e)
public void ProcessOrder(Order order, decimal price, decimal balance, OrderStates state)
marketDepthControl.ProcessOrder(order, price, balance, state)
注文を処理するため。
- order
- 注文。
- price
- 注文価格。
- balance
- 契約残高を注文する。
- state
- 注文状態。
public void ProcessOrderFail(OrderFail fail, OrderStates state)
marketDepthControl.ProcessOrderFail(fail, state)
注文レジスタ/移動/キャンセルの処理に失敗します。
public void ShowOrderFill(Sides side, decimal price, decimal volume)
marketDepthControl.ShowOrderFill(side, price, volume)
注文をアニメーションに表示します。
public void UpdateDepth(IOrderBookMessage message, Security security)
marketDepthControl.UpdateDepth(message, security)
注文書を更新するには.
- message
- 市場深度。
- security
- 金融商品取引
public void UpdateFormat(Security security)
marketDepthControl.UpdateFormat(security)
代表取締役社長 岡田 俊一
- security
- 金融商品取引
イベント
public event Action<Order> CancelingOrder
marketDepthControl.CancelingOrder += handler
注文をキャンセルする。
public event Action<Order, decimal> MovingOrder
marketDepthControl.MovingOrder += handler
注文を新しい価格に移動します。
public event Action<Sides, decimal> RegisteringOrder
marketDepthControl.RegisteringOrder += handler
注文を登録する。
public event Action<QuoteChange?> SelectedQuoteChanged
marketDepthControl.SelectedQuoteChanged += handler
SelectedQuote changed event.
フィールド
public static readonly DependencyProperty AllowOwnOrderDragDropProperty
value = MarketDepthControl.AllowOwnOrderDragDropProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty AllowSpreadToMoveProperty
value = MarketDepthControl.AllowSpreadToMoveProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty AnimationDurationProperty
value = MarketDepthControl.AnimationDurationProperty
アニメーションの持続時間。
public static readonly DependencyProperty CancelAnimationColorProperty
value = MarketDepthControl.CancelAnimationColorProperty
アニメーション色をキャンセルします。
public const int DefaultDepth
value = MarketDepthControl.DefaultDepth
デフォルトでは最大深さは20と等しい。
public static readonly DependencyProperty DepthDataProperty
value = MarketDepthControl.DepthDataProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty DepthSecurityProperty
value = MarketDepthControl.DepthSecurityProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty ErrorAnimationColorProperty
value = MarketDepthControl.ErrorAnimationColorProperty
エラーアニメーション色。
public static readonly DependencyProperty FillBuyAnimationColorProperty
value = MarketDepthControl.FillBuyAnimationColorProperty
アニメーション色を塗りつぶします。
public static readonly DependencyProperty FillSellAnimationColorProperty
value = MarketDepthControl.FillSellAnimationColorProperty
アニメーションカラーを販売します。
public static readonly DependencyProperty FillTextAnimationColorProperty
value = MarketDepthControl.FillTextAnimationColorProperty
テキストカラーを塗ります。
public static readonly RoutedCommand GroupCommand
value = MarketDepthControl.GroupCommand
グループ市場深さのコマンド。
public static readonly DependencyProperty GroupRangeProperty
value = MarketDepthControl.GroupRangeProperty
代表取締役社長 佐藤 浩一
public static readonly RoutedCommand GroupResetCommand
value = MarketDepthControl.GroupResetCommand
市場深度をグループ化するためのコマンド。
public static readonly DependencyProperty IsBidsOnTopProperty
value = MarketDepthControl.IsBidsOnTopProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyPropertyKey IsOwnOrderDraggingKey
value = MarketDepthControl.IsOwnOrderDraggingKey
ユーザが注文をドラッグしている場合に真意。
public static readonly DependencyProperty MaxBuyVolumeProperty
value = MarketDepthControl.MaxBuyVolumeProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty MaxDepthProperty
value = MarketDepthControl.MaxDepthProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty MaxSellVolumeProperty
value = MarketDepthControl.MaxSellVolumeProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty MaxVolumeProperty
value = MarketDepthControl.MaxVolumeProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty PriceTextFormatProperty
value = MarketDepthControl.PriceTextFormatProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty RegisterAnimationColorProperty
value = MarketDepthControl.RegisterAnimationColorProperty
アニメーションカラーを登録します。
public static readonly DependencyProperty RegisterOrderOnProperty
value = MarketDepthControl.RegisterOrderOnProperty
注文レジスタトリガーを実行します。
public static readonly DependencyProperty ShowBoardColumnProperty
value = MarketDepthControl.ShowBoardColumnProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty ShowOwnVolumeColumnsProperty
value = MarketDepthControl.ShowOwnVolumeColumnsProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty ShowSingleVolumeColumnProperty
value = MarketDepthControl.ShowSingleVolumeColumnProperty
代表取締役社長 佐藤 浩一
public static readonly RoutedCommand SparseCommand
value = MarketDepthControl.SparseCommand
パーセン市場深度のためのコマンド。
public static readonly DependencyProperty SparseRangeProperty
value = MarketDepthControl.SparseRangeProperty
代表取締役社長 佐藤 浩一
public static readonly RoutedCommand SparseResetCommand
value = MarketDepthControl.SparseResetCommand
市場深度をスパースするリセットコマンド。
public static readonly DependencyProperty UseOrderAnimationsProperty
value = MarketDepthControl.UseOrderAnimationsProperty
代表取締役社長 佐藤 浩一
public static readonly DependencyProperty VolumeTextFormatProperty
value = MarketDepthControl.VolumeTextFormatProperty
代表取締役社長 佐藤 浩一