Skip to main content

HFT Reference

Every HFT REST endpoint, grouped by concern.

Base URL   https://dma.coinswitch.co/ All responses use the HFT envelope.

Just want to start trading?

Skip ahead to the HFT Client recipe — a single-file client (Python / Java / Go / Node.js) with every endpoint below already wrapped as a method. Drop it in, set your keys, call h.place_order(...).

Market data

EndpointMethodDescription
/v5/market/timeGETServer time. Useful for clock-skew checks.
/v5/market/instruments-infoGETInstrument metadata (tick sizes, lot sizes).
/v5/market/tickersGET24h stats and last price.
/v5/market/orderbookGETOrder book snapshot.

Orders

EndpointMethodDescription
/v5/order/createPOSTPlace an order.
/v5/order/realtimeGETOpen and recently-closed orders.
/v5/execution/listGETTrade fills (executions).

Positions

EndpointMethodDescription
/v5/position/listGETOpen positions.
/v5/position/set-leveragePOSTSet leverage on a symbol.
/v5/position/switch-modePOSTSwitch between one-way and hedge mode.

Account

EndpointMethodDescription
/dma/api/v1/funds/transferPOSTMove funds between CoinSwitch wallet and HFT trading account.