注文情報
注文情報の取得
GET
https://api.liquid.com/orders
過去の注文や未約定の注文を取得出来ます。 一定期間経過した情報は取得が出来なくなります。 その際は取引レポートをご利用ください。
Query Parameters
Name | Type | Description |
---|---|---|
funding_currency | string | 使用した証拠金を指定できます。 |
product_id | integer | マーケットを指定できます。 |
status | string | ステータスを指定できます。
|
trading_type | string | 取引の種類を指定できます。
|
with_details | integer |
|
未約定注文の編集
PUT
https://api.liquid.com/orders/{id}
まだ約定していない注文の編集が出来ます。
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | 注文IDを指定します。 |
Request Body
Name | Type | Description |
---|---|---|
quantity | number | 数量を変更できます。 |
price | number | レートを変更できます。 |
SL, TPの編集
PUT
https://api.liquid.com/{id}/update_tpsl
まだ約定してない注文にTP(決済指値), SL(決済逆指値)の設定や更新が出来ます。
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | 注文IDを指定します。 |
Request Body
Name | Type | Description |
---|---|---|
take_profit | number | 決済指値を変更できます。 |
stop_loss | number | 決済逆指値を変更できます。 |
最終更新