# Ekiden Docs ## Docs - [Fees](https://docs.ekiden.fi/Fees.md): Ekiden is built for serious traders. Our fee structure is designed to reward both volume and liquidity. If you’re trading size or consistently making markets, you’ll benefit from lower costs and in many cases, get paid to provide liquidity. Fees are calculated using a standard maker-taker model, wi… - [VIP Program](https://docs.ekiden.fi/VIP-program.md): This page outlines the Ekiden VIP Program, a reward system designed for all traders executing significant taker flow on Ekiden’s perpetual markets. - [Get Account Balance](https://docs.ekiden.fi/api-reference/account/get-account-balance.md): Query account balances. Returns all subaccounts' vault balances. - [Post apiv1accountfund](https://docs.ekiden.fi/api-reference/account/post-apiv1accountfund.md) - [Withdraw from Trading](https://docs.ekiden.fi/api-reference/account/withdraw-from-trading.md): Initiate a withdrawal from a Trading vault to the Funding vault. - [Conventions](https://docs.ekiden.fi/api-reference/conventions.md) - [Account Data ](https://docs.ekiden.fi/api-reference/integration/account-data.md) - [Closing Positions](https://docs.ekiden.fi/api-reference/integration/closing-position.md) - [Configuration](https://docs.ekiden.fi/api-reference/integration/configuration.md): This section lists the production and staging endpoint URLs for REST, WebSocket, and GraphQL connections, helping you configure your client for seamless integration with Ekiden’s services. - [Deposit & Withdraw Funds](https://docs.ekiden.fi/api-reference/integration/deposit-and-withdraw.md) - [Client Initialization](https://docs.ekiden.fi/api-reference/integration/initialization.md): This page explains how to initialize the Ekiden SDK in TypeScript, Python, and Rust. Initialization sets up your client to interact with Ekiden's REST and WebSocket APIs. You can operate in either public mode (read-only access) or authenticated mode (private endpoints and trading). - [Installation](https://docs.ekiden.fi/api-reference/integration/installation.md) - [Market Data](https://docs.ekiden.fi/api-reference/integration/market-data.md) - [Market Maker Integration Guide](https://docs.ekiden.fi/api-reference/integration/market-maker-integration.md) - [Onboarding Signature & API Auth](https://docs.ekiden.fi/api-reference/integration/onboarding-auth.md) - [Orders](https://docs.ekiden.fi/api-reference/integration/orders.md) - [PnL, Margin & Funding](https://docs.ekiden.fi/api-reference/integration/pnl-margin-fr.md) - [Quick Start](https://docs.ekiden.fi/api-reference/integration/quick-start.md) - [TP/SL, Triggers, and Reduce-Only](https://docs.ekiden.fi/api-reference/integration/tpsl.md) - [Troubleshooting & Best Practices](https://docs.ekiden.fi/api-reference/integration/troubleshooting.md): Description of your new file. - [Introduction](https://docs.ekiden.fi/api-reference/introduction.md) - [Get apiv1marketinstruments info](https://docs.ekiden.fi/api-reference/market/get-apiv1marketinstruments-info.md) - [Get Funding Rate History](https://docs.ekiden.fi/api-reference/market/get-funding-rate-history.md): Query for historical funding rates. Each symbol has a different funding interval. For example, if the interval is 8 hours and the current time is UTC 12, then it returns the last funding rate, which settled at UTC 8. - [Get Index Price Kline](https://docs.ekiden.fi/api-reference/market/get-index-price-kline.md): Query for historical index price klines. Charts are returned in groups based on the requested interval. - [Get Kline](https://docs.ekiden.fi/api-reference/market/get-kline.md): Query for historical klines (also known as candles/candlesticks). Charts are returned in groups based on the requested interval. - [Get Long Short Ratio](https://docs.ekiden.fi/api-reference/market/get-long-short-ratio.md): This refers to the net long and short positions as percentages of all position holders during the selected time. Long account ratio = Number of holders with long positions / Total number of holders Short account ratio = Number of holders with short positions / Total number of holders Long-short acco… - [Get Mark Price Kline](https://docs.ekiden.fi/api-reference/market/get-mark-price-kline.md): Query for historical mark price klines. Charts are returned in groups based on the requested interval. - [Get Open Interest](https://docs.ekiden.fi/api-reference/market/get-open-interest.md): Get the open interest of each symbol. - [Get Order Price Limit](https://docs.ekiden.fi/api-reference/market/get-order-price-limit.md): Query for order price limit parameters. - [Get Orderbook](https://docs.ekiden.fi/api-reference/market/get-orderbook.md): Query for orderbook depth data. - [Get Recent Trades](https://docs.ekiden.fi/api-reference/market/get-recent-trades.md): Query for recent public trades, optionally filtered by symbol. - [Get Risk Limit](https://docs.ekiden.fi/api-reference/market/get-risk-limit.md): Query for the risk limit margin parameters. - [Get Tickers](https://docs.ekiden.fi/api-reference/market/get-tickers.md): Query for the latest price snapshot, best bid/ask price, and trading volume in the last 24 hours. - [Get Closed PnL](https://docs.ekiden.fi/api-reference/position/get-closed-pnl.md): Query user's closed profit and loss records - [Get Position Info](https://docs.ekiden.fi/api-reference/position/get-position-info.md): Query real-time position data, such as position size, cumulative realized PNL, etc. - [Set leverage](https://docs.ekiden.fi/api-reference/position/set-leverage.md): Set leverage for a symbol - [Set Trading Stop](https://docs.ekiden.fi/api-reference/position/set-trading-stop.md): Set the take profit, stop loss or trailing stop for the position. - [Rate Limits](https://docs.ekiden.fi/api-reference/rate-limits.md) - [Get system configuration and discovery info](https://docs.ekiden.fi/api-reference/system/get-system-configuration-and-discovery-info.md) - [Amend Order](https://docs.ekiden.fi/api-reference/trade/amend-order.md): Amend an existing order - [Batch Amend Orders](https://docs.ekiden.fi/api-reference/trade/batch-amend-orders.md): Amend multiple existing orders in a single request - [Batch Cancel Orders](https://docs.ekiden.fi/api-reference/trade/batch-cancel-orders.md): Cancel multiple existing orders in a single request - [Batch Place Orders](https://docs.ekiden.fi/api-reference/trade/batch-place-orders.md): Create multiple new orders in a single request - [Cancel All Orders](https://docs.ekiden.fi/api-reference/trade/cancel-all-orders.md): Cancel all existing orders for a user - [Cancel Order](https://docs.ekiden.fi/api-reference/trade/cancel-order.md): Cancel an existing order - [Get Open & Closed Orders](https://docs.ekiden.fi/api-reference/trade/get-open-&-closed-orders.md): Primarily query unfilled or partially filled orders in real-time, but also supports querying recent 500 closed status (Cancelled, Filled) orders. Please see the usage of request param open_only. - [Get Order History](https://docs.ekiden.fi/api-reference/trade/get-order-history.md): Query order history. As order creation/cancellation is asynchronous, the data returned from this endpoint may delay. - [Get Trade History](https://docs.ekiden.fi/api-reference/trade/get-trade-history.md): Query users' execution records, sorted by execTime in descending order. - [Place Order](https://docs.ekiden.fi/api-reference/trade/place-order.md): Create a new order - [Authorize Session](https://docs.ekiden.fi/api-reference/user/authorize-session.md): Authorize a session key via delegation - [Authorize User](https://docs.ekiden.fi/api-reference/user/authorize-user.md): Authorize and obtain an access token - [Delete apiv1userapi keys](https://docs.ekiden.fi/api-reference/user/delete-apiv1userapi-keys.md) - [Get apiv1userapi keys](https://docs.ekiden.fi/api-reference/user/get-apiv1userapi-keys.md) - [Get Leaderboard](https://docs.ekiden.fi/api-reference/user/get-leaderboard.md): Query leaderboard data - [Get Root Account](https://docs.ekiden.fi/api-reference/user/get-root-account.md): Return the Root Account address for the current user - [Get Sub Accounts](https://docs.ekiden.fi/api-reference/user/get-sub-accounts.md): List Sub Accounts under the Root Account - [Post apiv1userapi keys](https://docs.ekiden.fi/api-reference/user/post-apiv1userapi-keys.md) - [Account Balance](https://docs.ekiden.fi/api-reference/websocket/account_balance.md) - [Connect](https://docs.ekiden.fi/api-reference/websocket/connect.md) - [Execution](https://docs.ekiden.fi/api-reference/websocket/execution.md) - [Kline](https://docs.ekiden.fi/api-reference/websocket/kline.md) - [Order](https://docs.ekiden.fi/api-reference/websocket/order.md) - [Orderbook](https://docs.ekiden.fi/api-reference/websocket/orderbook.md) - [Position](https://docs.ekiden.fi/api-reference/websocket/position.md) - [Ticker](https://docs.ekiden.fi/api-reference/websocket/ticker.md) - [Trade](https://docs.ekiden.fi/api-reference/websocket/trade.md) - [Private](https://docs.ekiden.fi/api-reference/websockets/private.md): The private channel is used for subscribing to user-specific data. - [Public](https://docs.ekiden.fi/api-reference/websockets/public.md): The public channel is used for subscribing to market data. - [Architecture](https://docs.ekiden.fi/architecture.md) - [Introduction](https://docs.ekiden.fi/index.md): Institutional DeFi Trading. Unleashed for the Masses ## OpenAPI Specs - [openapi](https://docs.ekiden.fi/api-reference/openapi.json) ## AsyncAPI Specs - [asyncapi](https://docs.ekiden.fi/api-reference/asyncapi.yaml) ## Optional - [Documentation](https://docs.ekiden.fi) - [Community](https://discord.gg/37682NeRb3) - [Blog](https://medium.com/ekidenfi)