目次[]
cAlgo API(cTrader Automate) 非公式日本語リファレンス
cAlgo (cTrader Automate) の日本語リファレンス代わりになる記事を集めました。たぶん公式リファレンスより情報量は多いです。余計な事が書いてあるだけかもしれませんが。
ピンポイントに「このインターフェースについて調べたい!」ってのなら、Ctrl+Fで検索してリンク先にとんでもらうのが一番早いかと。
当ブログのリファレンス記事の見方
おそらく見なくてもなんとかなりますが、C#やcTraderに慣れてないなら軽く目を通しておくと読みやすいかもしれません。
cAlgoクラス・インターフェース・列挙型(Enum)・構造体(Struct) 一覧(Control関連以外)
(2021/3/3) cTrader4.0対応済みです。
abc順
| 名前 | 種類 | 簡単な説明 |
| AccessRights | Enum | cBotやIndicatorの権限を表す |
| AccountType | Enum | 口座タイプを表す |
| Algo | Class | RobotとIndicatorのベース |
| Application | Interface | cTrader本体 |
| Bar | Struct | 4本値(ローソク足1本) |
| BarOpenedEventArgs | Class | ローソク足更新イベント情報 |
| Bars | Interface | 4本値の集合 |
| BarsHistoryLoadedEventArgs | Class | ローソク足履歴読み込みイベント情報 |
| BarsTickEventArgs | Class | (Barsでの)値動きイベント情報 |
| Chart | Interface | チャート |
| ChartAndrewsPitchfork | Interface | チャートに描かれたアンドリューピッチフォーク |
| ChartArea | Interface | ChartとIndicatorAreaのベース |
| ChartColorEventArgs | Class | チャート色変更イベント情報 |
| ChartColorSettings | Interface | チャートの色設定オブジェクト |
| ChartDisplaySettings | Interface | チャートの情報表示設定を指します。 |
| ChartDisplaySettingsEventArgs | Class | チャート表示設定変更 |
| ChartDragEventArgs | Class | チャート上ドラッグイベント情報 |
| ChartDrawing | Interface | チャートに描かれたフリーハンド図形 |
| ChartEllipse | Interface | チャートに描かれた楕円 |
| ChartEquidistantChannel | Interface | チャートに描かれたチャネルライン |
| ChartFibonacciBase | Interface | Fibonacci系オブジェクトのベース |
| ChartFibonacciExpansion | Interface | チャートに描かれたフィボナッチエクスパンジョン |
| ChartFibonacciFan | Interface | チャートに描かれたフィボナッチファン |
| ChartFibonacciRetracement | Interface | チャートに描かれたフィボナッチリトレースメント |
| ChartHorizontalLine | Interface | チャートに描かれた水平線 |
| ChartIcon | Interface | チャートに描かれたアイコン |
| ChartIconType | Enum | チャートに表示するアイコンの形を表す |
| ChartKeyboardEventArgs | Class | キー押下イベント情報(cTrader4.0~) |
| ChartMouseEventArgs | Class | チャート上のマウスイベント情報 |
| ChartMouseWheelEventArgs | Class | チャート上のマウスホイールイベント情報 |
| ChartObject | Interface | チャートに描かれたオブジェクト類のベース |
| ChartObjectAddedEventArgs | Class | チャートオブジェクト追加イベント情報 |
| ChartObjectEventArgs | Class | チャートオブジェクト関連情報のベース |
| ChartObjectHoverChangedEventArgs | Class | チャートオブジェクトホバー変更イベント情報 |
| ChartObjectRemovedEventArgs | Class | チャートオブジェクト削除イベント情報 |
| ChartObjectSelectionChangedEventArgs | Class | チャートオブジェクト選択変更イベント情報 |
| ChartObjectType | Enum | チャートに表示するオブジェクトの型を表す |
| ChartObjectUpdatedEventArgs | Class | チャートオブジェクト更新イベント情報 |
| ChartRectangle | Interface | チャートに描かれた四角形 |
| ChartScrollEventArgs | Class | チャートスクロールイベント情報 |
| ChartShape | Interface | チャートに描かれた図形のベース |
| ChartSizeEventArgs | Class | チャートサイズ変更イベント情報 |
| ChartStaticText | Interface | チャートに描かれた固定テキスト |
| ChartText | Interface | チャートに描かれたテキスト |
| ChartTrendLine | Interface | チャートに描かれたトレンドライン |
| ChartTriangle | Interface | チャートに描かれた三角形 |
| ChartType | Enum | チャートタイプを表す |
| ChartTypeEventArgs | Class | チャートタイプ変更イベント情報 |
| ChartVerticalLine | Interface | チャートに描かれた垂直線 |
| ChartZoomEventArgs | Class | チャート拡大率変更イベント情報 |
| CloudAttribute | Class | 雲状表示属性 |
| Color | Class | 色 |
| ColorTheme | Enum | カラーテーマを表す |
| ColorThemeChangeEventArgs | Class | カラーテーマ変更イベント情報 |
| DataSeries | Interface | 価格データなどの集合体 |
| Error | Interface | OnErrorメソッドの引数 |
| ErrorCode | Enum | 注文エラーのコードを表す |
| FibonacciLevel | Interface | フィボナッチ~系の表示位置 |
| Functions | Class | DataSeriesの拡張メソッド |
| GetFitnessArgs | Interface | GetFitnessメソッドの引数 |
| HideFromIntellisenceAttribute | Class | インテリセンスから隠す属性 |
| HistoricalTrade | Interface | トレード履歴の集合体 |
| History | Interface | トレード履歴 |
| HorizontalAlignment | Enum | 主にテキストの水平位置を表す |
| IAccount | Interface | 口座情報 |
| Indicator | Class | インジケーター本体のベース |
| IndicatorArea | Interface | インジケーターが表示されてるとこ |
| IndicatorAreaAddedEventArgs | Class | インジケーター枠追加イベント情報 |
| IndicatorAreaEventArgs | Class | インジケーター枠関連イベントのベース |
| IndicatorAreaRemovedEventArgs | Class | インジケーター枠削除イベント情報 |
| IndicatorAttribute | Class | インジケーター本体の属性 |
| IndicatorDataSeries | Interface | インジケータ数値の集合体 |
| IndicatorsAccessor | Interface | 組込インジケーター取得用 |
| INotifications | Interface | 通知オブジェクト |
| IReadOnlyList | interface | 読み取り専用リスト |
| IServer | Interface | サーバー情報取得用 |
| Key | Enum | キーボードのキーを表す(cTrader4.0~) |
| LevelsAttribute | Class | レベルライン属性 |
| LineStyle | Enum | 線のスタイル(実線、点線など)を表す |
| MarketData | Interface | 価格情報と板情報取得用 |
| MarketDepth | Interface | 板情報 |
| MarketDepthEntry | Interface | 板情報の一項目 |
| MarketHours | Interface | 週の取引可能時間 |
| ModifierKeys | Enum | 修飾キーを表す(cTrader4.0~) |
| MovingAverageType | Enum | 移動平均線の種類を表す |
| OutputAttribute | Class | インジケータとして表示するための属性 |
| ParameterAttribute | Class | cBotやIndicatorのパラメータにするための属性 |
| PendingOrder | Interface | 待機注文 |
| PendingOrderCancellationReason | Enum | 待機注文の取り消し理由を表す |
| PendingOrderCancelledEventArgs | Class | 待機注文キャンセルイベント情報 |
| PendingOrderCreatedEventArgs | Class | 待機注文送信イベント情報 |
| PendingOrderFilledEventArgs | Class | 待機注文確定イベント情報 |
| PendingOrderModifiedEventArgs | Class | 待機注文修正イベント情報 |
| PendingOrders | Interface | 待機注文の集合体 |
| PendingOrderType | Enum | 待機注文の種類を表す |
| PlotType | Enum | インジケーターの表現方式を表す |
| Position | Interface | ポジション |
| PositionClosedEventArgs | Class | ポジション決済イベント情報 |
| PositionCloseReason | Enum | 何による決済かを表す |
| PositionModifiedEventArgs | Class | ポジション修正イベント情報 |
| PositionOpenedEventArgs | Class | ポジションエントリーイベント情報 |
| Positions | Interface | ポジションの集合体 |
| Robot | Class | cBot本体のベース |
| RobotAttribute | Class | cBot本体の属性 |
| RoundingMode | Enum | 発注量の丸め方式を表す |
| RunningMode | Enum | 稼働環境(リアルかバックテストかなど)を表す |
| StopTriggerMethod | Enum | 逆指値到達時の発注方式を表す |
| Symbol | Interface | リアルタイム情報含む通貨ペア情報。 |
| SymbolInfo | Interface | 通貨ペア情報。Symbolのベース |
| Symbols | Interface | 他通貨ペアにアクセスするため通貨ペア名集合体 |
| SymbolTickEventArgs | Class | (Symbolでの)値動きイベント情報 |
| Tick | Struct | ティック |
| Ticks | Interface | ティックの集合体 |
| TicksHistoryLoadedEventArgs | Class | ティック履歴読み込みイベント情報 |
| TicksTickEventArgs | Class | (Ticksでの)値動きイベント情報 |
| TimeFrame | Class | タイムフレーム(時間足)の列挙型みたいなもん |
| Timer | Interface | 一定間隔で処理走らすためのオブジェクト |
| TimeSeries | Interface | 主にローソク足開始時間の集合体 |
| TimeZones | Class | タイムゾーンIDの列挙型みたいなもん |
| TradeOperation | Class | 非同期発注メソッドの返り値 |
| TradeResult | Class | 発注結果 |
| TradeType | Enum | 売りか買いかを表す |
| TradingSession | Interface | 取引可能時間 |
| UserTimeOffsetChangedEventArgs | Class | タイムゾーン変更イベント情報 |
| VerticalAlignment | Enum | 主にテキストの垂直位置を表す |
| Watchlist | Interface | ウォッチリスト |
| WatchlistAddedEventArgs | Class | ウォッチリスト追加イベント情報 |
| WatchlistRemovedEventArgs | Class | ウォッチリスト削除イベント情報 |
| WatchlistRenamedEventArgs | Class | ウォッチリスト名前変更イベント情報 |
| Watchlists | Interface | ウォッチリストの集合体 |
| WatchlistSymbolAddedEventArgs | Class | ウォッチリスト通貨ペア追加イベント情報 |
| WatchlistSymbolRemovedEventArgs | Class | ウォッチリスト通貨ペア削除イベント情報 |
cAlgo Control関連クラスなど
(2021/3/29)すべて作成し終えました。
abc音順
| Border | Class | コントロールの装飾枠 |
| Button | Class | ボタン |
| ButtonClickEventArgs | Class | ボタンが押されたイベント |
| Canvas | Class | キャンバスパネル |
| CharacterCasing | Enum | 大文字小文字を表す |
| CheckBox | Class | チェックボックス |
| CheckBoxEventArgs | Class | チェックボックスのイベント情報 |
| Control | Class | 各種コントロールのベース |
| ControlBase | Class | ControlとCustomControlのベース |
| ControlProperty | Enum | コントロールの各種プロパティを表す |
| ControlState | Enum | コントロールの状態を表す |
| CornerRadius | Struct | 四角形の4隅の角丸情報 |
| CustomControl | Class | カスタムコントロール |
| DefaultStyles | Class | 組込コントロールのデフォルトスタイルをもつ静的クラス |
| Dock | Enum | DockPanelの配置方法を表す |
| DockPanel | Class | コントロールを配置方法に従って並べるパネル |
| Ellipse | Class | 楕円 |
| FillRule | Enum | 多角形の塗りつぶし方法を表す |
| FontStyle | Enum | フォントスタイルを表す |
| FontWeight | Enum | フォントウェイトを表す |
| Grid | Class | 方眼パネル |
| GridColumn | Interface | グリッドの列 |
| GridLength | Class | グリッド長さ |
| GridRow | Interface | グリッドの行 |
| GridUnitType | Enum | グリッドタイプを表す |
| Image | Class | 画像 |
| Line | Class | 線 |
| LineStackingStrategy | Enum | 行高(≒行間)の決め方を表す |
| Orientation | Enum | 向きを表す |
| Panel | Class | 各Panel、Grid、Canvasのベースクラス |
| PenLineCap | Enum | 線末端の形を表す |
| PenLineJoin | Enum | 2本の線が重なった部分の形を表す |
| Point | Class | 点 |
| Polygon | Class | 多角形 |
| Polyline | Class | 連続線 |
| RadioButton | Class | ラジオボタン |
| RadioButtonEventArgs | Class | ラジオボタンでなんかあったときのイベント |
| Rectangle | Class | 四角形 |
| ScrollBarVisibility | Enum | スクロールバー表示方法を表す |
| ScrollViewer | Class | スクロールバー付き領域 |
| Shape | Class | Elipse,Polygon,Rectangleなど形クラスのベースクラス |
| StackPanel | Class | コントロールを指定方向に一列に並べるパネル |
| Stretch | Enum | コンテンツを表示領域に合わせる方法を表す |
| StretchDirection | Enum | Imageの伸縮方向を指定す |
| Style | Class | コントロールのスタイル |
| TextAlignment | Enum | TextBlockの文字揃え方法を表す |
| TextBlock | Class | ただのテキスト |
| TextBox | Class | テキストボックス |
| TextChangedEventArgs | Class | テキストボックス変更イベント |
| TextTrimming | Enum | 長いテキストのはみ出し部分の表示方法を表す |
| TextWrapping | Enum | 長いテキストの折り返し方法を表す |
| Thickness | Struct | 四角形の4辺の太さ |
| ToggleButton | Class | トグルボタン |
| ToggleButtonEventArgs | Class | トグルボタンでなんかあったときのイベント |
| WrapPanel | Class | コントロールを指定方向に並べる折り返し機能付きパネル |