Miscellaneous

Get Token Pairs

GET /api/get_token_pairs

Get available trading pairs with metadata on available exchanges

Name
Type
Description

market_type

string

[Optional] MarketType

Response

```json
{
    "pairs": {
        "JFI-USDC": {
            "OKX": "JFI-USDC",
            "MockExchange": "JFI-USDC"
        },
        "SHIBI-USDT": {
            "Bybit": "SHIBIUSDT"
        },
        "ICX-USDC": {
            "OKX": "ICX-USDC",
            "MockExchange": "ICX-USDC"
        },
        ...
    }
}
```

Get Order Book

GET /api/get_order_book

Get snapshot of order book from exchange

Name
Type
Description

pair*

string

name of trading pair

exchange_name*

string

name of supported exchange

Response

Get Order Form Data

GET /api/order_form_data

Data that is likely needed for an order form on the UI

Response

Validate Order Condition

POST /api/validate_order_condition/

Validate the correctness of the order condition syntax

Name
Type
Description

order_condition

string

Response

Was this helpful?