メインコンテンツへスキップ
GET
/
api
/
market-data
/
quote
/
trades
約定を取得
curl --request GET \
  --url https://openapi.fcontext.com/api/market-data/quote/trades \
  --header 'x-api-key: <api-key>'
{
  "trades": [
    {
      "price": "<string>",
      "volume": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "tradeType": "<string>",
      "direction": 123,
      "tradeSession": 123
    }
  ]
}

承認

x-api-key
string
header
必須

アカウント設定で生成された Financial Context key。x-api-key: <key> として送信します。

クエリパラメータ

symbol
string
必須
count
integer
デフォルト:20

返す約定レコード数。デフォルトは 20、最大 1000。

必須範囲: 1 <= x <= 1000

レスポンス

約定一覧

trades
object[]