ENG
Search
K

Using the Orderbook

ALEX Orderbook is available at https://app.alexlab.co/orderbook.

Register with the Orderbook

Users register with the Orderbook and deploy their own wallet to which they make deposits and withdrawals.
At the registration, users provide their public keys so the Orderbook can verify their signed orders.

Place buy / sell orders gas-free

Users can place buy / sell orders of any tokens supported by the Orderbook without paying transaction fees. They can cancel orders any time. Orderbook ensures that the user wallet balance is sufficient.
All orders are signed by the originating users and the orders are validated with the users’ public keys before settlement.

Orders are matched and confirmed

Order Matching Engine continuously matches buy and sell orders. Matched orders are sent to Exchange Contract.

Orders are settled in aggregate

Exchange Contract validates the matched orders, aggregate them and settle in a single transaction. It updates the order fill, which is then used by Order Matching Engine to optimise the order matching.

REST API

Once user registration is complete, you can use our REST API (https://stxdx-api.alexlab.co/) to interact with the Orderbook.
For example, b20-trading-bot uses our API to automate grid trading on the Orderbook.
For more details, please contract your ALEX representatives.
post
/v1/login
post
/v1/accounts:getByPrincipal
get
/v1/accounts/{uid}
get
/v1/accounts/pnl/{uid}/today
get
/v1/assets
post
/v1/accounts/{uid}:updateSettings
post
/v1/accounts/{uid}:sendVerificationEmail
post
/v1/accounts/{uid}:verifyEmail
get
/v1/accounts/{uid}/fund-history
get
/v1/orders
post
/v1/orders
post
/v1/orders:make
get
/v1/orderbook/{market}
get
/v1/orders/{order_hash}
post
/v1/orders/{order_hash}:cancel
post
/v1/orders:cancel_all
get
/v1/orderbook:tickers
get
/v1/fills
get
/v1/orderbook/{market}:fills
get
/v1/orderbook/{market}:trades
get
/v1/orderbook/{market}:trading-view
get
/v1/orderbook:overview
get
/v1/orderbook/{market}:overview