Dzengi
Official information:
Disclaimer
This software is for educational purposes only. Do not risk money which you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS.
Installation
cargo add api-dzengi-rs
Usage
let settings = new;
let mut rest = new.with_user_settings;
let resp = rest
.v1
.klines
.await?;
println!
Endpoints
Rest V1/V2
| Implemented | Info | API | Method |
|---|---|---|---|
| ✓ | account info | [GET] /api/v#/account | account_info |
| ✓ | trades aggregated | [GET] /api/v#/aggTrades | trades_aggregated |
| ✓ | trading position close | [POST] /api/v#/closeTradingPosition | close_trading_position |
| ✓ | list of currencies | [GET] /api/v#/currencies | currencies |
| ✓ | string of address | [GET] /api/v#/depositAddress | deposit_address |
| ✓ | list of deposits | [GET] /api/v#/deposits | deposits |
| ✓ | order book | [GET] /api/v#/depth | depth |
| ✓ | exchange info | [GET] /api/v#/exchangeInfo | exchange_info |
| ✓ | order | [GET] /api/v#/fetchOrder | fetch_order |
| ✓ | list of funding limits | [GET] /api/v#/fundingLimits | funding_limits |
| ✓ | klines | [GET] /api/v#/klines | klines |
| ✓ | list of ledgers | [GET] /api/v#/ledger | ledger |
| ✓ | leverage settings | [GET] /api/v#/leverageSettings | leverage_settings |
| ✓ | list of trades | [GET] /api/v#/myTrades | my_trades |
| ✓ | list of open orders | [GET] /api/v#/openOrders | open_orders |
| ✓ | create order | [POST] /api/v#/order | order_create |
| ✓ | edit exchange order | [PUT] /api/v#/order | order_change |
| ✓ | cancel order | [DELETE] /api/v#/order | order_cancel |
| ✓ | price change | [GET] /api/v#/ticker/24hr | ticker_24hr |
| ✓ | server time | [GET] /api/v#/time | server_time |
| ✓ | list of fees | [GET] /api/v#/tradingFees | trading_fees |
| ✓ | list of limits | [GET] /api/v#/tradingLimits | trading_limits |
| ✓ | list of leverage trades | [GET] /api/v#/tradingPositions | trading_positions |
| ✓ | list of historical positions | [GET] /api/v#/tradingPositionsHistory | trading_positions_history |
| ✓ | list of transactions | [GET] /api/v#/transactions | transactions |
| ✓ | leverage orders edit | [POST] /api/v#/updateTradingOrder | update_trading_order |
| ✓ | leverage trade edit | [POST] /api/v#/updateTradingPosition | update_trading_position |
| ✓ | list of withdrawals | [GET] /api/v#/withdrawals | withdrawals |
Websocket V1/V2
Future versions!