Vessel Finance API
  1. Order
Vessel Finance API
  • Introduction
  • General Info
  • HMAC Signature Guide
  • Poseidon Signature Guide
  • Internal Transfer Signature Guide
  • Error Code
  • Vessel REST API
    • Public
      • Market Data
        • 24hr Ticker Statistics
        • Kline / Candlestick Data
        • Order Book
        • Recent Trades List
        • Average Price
        • AMM Pool Last 24h Data
      • Exchange Data
        • Ticker Info
        • Asset Info
        • Trade Fee
        • AMM Pool Info
    • User
      • Asset
        • User Asset
        • Withdraw
        • Withdraw History
        • Deposit History
        • Claim History
        • Internal Transfer (Send)
        • Internal Transfer History
      • Order
        • Place Order
          POST
        • Cancel Order
          DELETE
        • Open Orders
          GET
        • Completed Orders
          GET
        • All Orders
          GET
        • Query Order
          GET
        • Modify Order
          POST
      • AMM
        • Add Liquidity
        • Remove Liquidity
        • Collect Fee
        • AMM Position
        • AMM Action History
      • Account
        • User Profile
        • User Trade List
  • Vessel WebSocket
    • Market
      • Order Book
      • K Line
      • Recent Trades
      • 24hr Ticker Statistics
      • Ticker Setting Upade
    • User
      • Authorize
      • Balance
      • Account
  1. Order

Open Orders

Testnet Env
https://testnet.trade.vessel.finance
Testnet Env
https://testnet.trade.vessel.finance
GET
/api/v1/currentOpenOrders
Last modified:2024-10-15 06:23:56
Open Orders provides information about open orders for a specific user on our platform. These orders are active and have not yet been fullfilled or canceled.

Request

Query Params
symbol
string 
optional
The trading pair symbol for the order.
Example:
WBTCUSDT
Header Params
VESSEL-API-KEY
string 
required
Default:
{{API_KEY}}
VESSEL-PASSPHRASE
string 
required
Default:
{{API_PASSPHRASE}}
VESSEL-SIGNATURE
string 
required
Use signRequest script to generate
VESSEL-TIMESTAMP
string 
required
Use signRequest script to set

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://testnet.trade.vessel.finance/api/v1/currentOpenOrders?symbol=WBTCUSDT' \
--header 'VESSEL-API-KEY;' \
--header 'VESSEL-PASSPHRASE;' \
--header 'VESSEL-SIGNATURE;' \
--header 'VESSEL-TIMESTAMP;'

Responses

🟢200OK
application/json
Body
orders
array [object {13}] 
required
An array containing details for each open order.
symbol
string 
required
The trading pair symbol for the order.
orderId
string 
required
A unique identifier for the order.
clientOrderId
string 
required
The unique identifier assigned by the client to the order.
price
string 
required
The price specified for the order.
origQty
string 
required
The original quantity of the asset in the order.
executedQty
string 
required
The quantity of the asset that has been executed.
cumulativeQuoteQty
string 
required
The cumulative amount in quote currency that has been traded.
status
string 
required
The current status of the order. Possible values include:
NEW: The order has been created and is awaiting processing.
PARTIALLY_FILLED: The order has been partially filled.
timeInForce
string 
required
The time in force for the order. "GTC" for Good Til Canceled, "FOK" for Fill Or Kill, and "IOC" Immediate Or Cancel.
type
string 
required
The type of the order (e.g., "LIMIT" for a limit order).
side
string 
required
The side of the order, indicating whether it's a "BUY" or "SELL" order.
workingTime
string 
required
The last time that the order was processed by the match engine (Unix timestamps in milliseconds & UTC).
orderTime
string 
required
The time that the order was placed (Unix timestamps in milliseconds & UTC).
Example
{
  "orders": [
    {
      "symbol": "WBTCUSDT",
      "orderId": "1728555634983152",
      "clientOrderId": "1728623775719",
      "price": "64516.18",
      "origQty": "0.0001",
      "executedQty": "0",
      "cumulativeQuoteQty": "0",
      "status": "NEW",
      "timeInForce": "GTC",
      "type": "LIMIT",
      "side": "SELL",
      "workingTime": "1728623778176",
      "orderTime": "1728623778175"
    }
  ]
}
Previous
Cancel Order
Next
Completed Orders
Built with