ExBybit
Bybit API Client for Elixir
Installation
Add the ex_bybit package to your list of dependencies in mix.exs:
def deps do
[
{:ex_bybit, "~> 0.0.1"}
]
end
Requirements
- Erlang 22+
- Elixir 1.11+
API Documentation
https://bybit-exchange.github.io/docs/inverse/#t-introduction
REST API
Derivatives
Market Data Endpoints
GET /v2/public/orderBook/L2GET /v2/public/kline/listGET /v2/public/tickersGET /v2/public/trading-recordsGET /v2/public/symbolsGET /v2/public/liq-recordsGET /v2/public/mark-price-klineGET /v2/public/index-price-klineGET /v2/public/premium-index-klineGET /v2/public/open-interestGET /v2/public/big-dealGET /v2/public/account-ratio
Account Data Endpoints
GET /v2/private/order/createGET /v2/private/order/listGET /v2/private/order/cancelGET /v2/private/order/cancelAllGET /v2/private/order/replaceGET /v2/private/orderGET /v2/private/stop-order/createGET /v2/private/stop-order/listGET /v2/private/stop-order/cancelGET /v2/private/stop-order/cancelAllGET /v2/private/stop-order/replaceGET /v2/private/stop-orderGET /v2/private/position/listGET /v2/private/position/change-position-marginGET /v2/private/position/trading-stopGET /v2/private/position/leverage/saveGET /v2/private/execution/listGET /v2/private/trade/closed-pnl/listGET /v2/private/tpsl/switch-modeGET /v2/private/position/switch-isolatedGET /v2/public/risk-limit/listPOST /v2/public/risk-limit/listGET /v2/public/funding/prev-funding-rateGET /v2/private/funding/prev-fundingGET /v2/private/funding/predicted-fundingGET /v2/private/account/api-keyGET /v2/private/account/lcp
Wallet Data Endpoints
GET /v2/private/wallet/balanceGET /v2/private/wallet/fund/recordsGET /v2/private/wallet/withdraw/listGET /v2/private/exchange-order/list
API Data Endpoints
GET /v2/public/timeGET /v2/public/announcement
Spot
Market Data Endpoints
GET /spot/v1/symbolsGET /spot/quote/v1/depthGET /spot/quote/v1/depth/mergedGET /spot/quote/v1/tradesGET /spot/quote/v1/klineGET /spot/quote/v1/ticker/24hrGET /spot/quote/v1/ticker/priceGET /spot/quote/v1/ticker/book_ticker
Account Data Endpoints
Wallet Data Endpoints
API Data Endpoints
Authors
- Alex Kwiatkowski - alex+git@fremantle.io
License
ex_bybit is released under the MIT license