BitMEX (non-official) client for rust
Add this to your Cargo.toml
[dependencies]
bitmex-rs = "0.1"
Examples located in the examples and tests folder.
If you find some features are not implemented and you just need them urgently, file an issue and I'll put that in priority. A PR is also welcome :)
- Announcement
- GET /announcement
- GET /announcement/urgent
- APIKey
- GET
/apiKey
- POST
/apiKey
- DELETE
/apiKey
- POST
/apiKey/enable
- POST
/apiKey/disable
- GET
- Chat
- GET
/chat
- POST
/chat
- GET
/chat/channels
- GET
/chat/connected
- GET
- Execution
- GET
/execution
- GET
/execution/tradeHistory
- GET
- Funding
- GET
/funding
- GET
- GlobalNotification
- GET
/globalNotification
- GET
- Instrument
- GET
/instrument
- GET
/instrument/active
- GET
/instrument/activeAndIndices
- GET
/instrument/activeIntervals
- GET
/instrument/compositeIndex
- GET
/instrument/indices
- GET
- Insurance
- GET
/insurance
- GET
- Leaderboard
- GET
/leaderboard
- GET
/leaderboard/name
- GET
- Liquidation
- GET
/liquidation
- GET
- Order
- GET
/order
- PUT
/order
- POST
/order
- DELETE
/order
- DELETE
/order/all
- PUT
/order/bulk
- POST
/order/bulk
- POST
/order/cancelAllAfter
- POST
/order/closePosition
- GET
- OrderBook
- GET
/orderBook/L2
- GET
- Position
- GET
/position
- POST
/position/isolate
- POST
/position/leverage
- POST
/position/riskLimit
- POST
/position/transferMargin
- GET
- Quote
- GET
/quote
- GET
/quote/bucketed
- GET
- Schema
- GET
/schema
- GET
/schema/websocketHelp
- GET
- Settlement
- GET
/settlement
- GET
- Stat
- GET
/stats
- GET
/stats/history
- GET
/stats/historyUSD
- GET
- Trade
- GET
/trade
- GET
/trade/bucketed
- GET
- User
- GET
/user
- PUT
/user
- GET
/user/affiliateStatus
- POST
/user/cancelWithdrawal
- GET
/user/checkReferralCode
- GET
/user/commission
- POST
/user/communicationToken
- POST
/user/confirmEmail
- POST
/user/confirmEnableTFA
- POST
/user/confirmWithdrawal
- GET
/user/depositAddress
- POST
/user/disableTFA
- GET
/user/executionHistory
- POST
/user/logout
- POST
/user/logoutAll
- GET
/user/margin
- GET
/user/minWithdrawalFee
- POST
/user/preferences
- POST
/user/requestEnableTFA
- POST
/user/requestWithdrawal
- GET
/user/wallet
- GET
/user/walletHistory
- GET
/user/walletSummary
- GET
- UserEvent
- GET
/userEvent
- GET
- Websocket