Categorygithub.com/MegaBytee/bybit-go
repositorypackage
0.0.0-20240712001656-2c764a337e67
Repository: https://github.com/megabytee/bybit-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Bybit-Go
Static Badge Static Badge

bybit-go

Go API V5 connector for Bybit's HTTP and WebSockets APIs.

bybit docs

//not finished yet still working on this... //TODO description and how it work

Markets

EndpointDescriptionStatus
Get Bybit Server TimeGET /v5/market/time
Get KlineGET /v5/market/kline
Get Mark Price KlineGET /v5/market/mark-price-kline
Get Index Price KlineGET /v5/market/index-price-kline
Get Premium Index Price KlineGET /v5/market/premium-index-price-kline
Get Instruments InfoGET /v5/market/instruments-info
Get OrderbookGET /v5/market/orderbook
Get TickersGET /v5/market/tickers
Get Funding Rate HistoryGET /v5/market/funding/history
Get Public Recent Trading HistoryGET /v5/market/recent-trade
Get Open InterestGET /v5/market/open-interest
Get Historical VolatilityGET /v5/market/historical-volatility
Get InsuranceGET /v5/market/insurance
Get Risk LimitGET /v5/market/risk-limit
Get Delivery PriceGET /v5/market/delivery-price
Get Long Short RatioGET /v5/market/account-ratio

Trade

EndpointDescriptionStatus
Place OrderPOST /v5/order/create
Amend OrderPOST /v5/order/amend
Cancel OrderPOST /v5/order/cancel
Get Open & Closed OrdersGET /v5/order/realtime
Cancel All OrdersPOST /v5/order/cancel-all
Get Order HistoryGET /v5/order/history
Get Trade HistoryGET /v5/execution/list
Batch Place OrderPOST /v5/order/create-batch
Batch Amend OrderPOST /v5/order/amend-batch
Batch Cancel OrderPOST /v5/order/cancel-batch
Get Borrow Quota (Spot)GET /v5/order/spot-borrow-check
Set Disconnect Cancel AllPOST /v5/order/disconnected-cancel-all

Position

EndpointDescriptionStatus
Get Position InfoGET /v5/position/list
Set LeveragePOST /v5/position/set-leverage
Switch Cross/Isolated MarginPOST /v5/position/switch-isolated
Set TP/SL ModePOST /v5/position/set-tpsl-mode
Switch Position ModePOST /v5/position/switch-mode
Set Risk LimitPOST /v5/position/set-risk-limit
Set Trading StopPOST /v5/position/trading-stop
Set Auto Add MarginPOST /v5/position/set-auto-add-margin
Add Or Reduce MarginPOST /v5/position/add-margin
Get Closed PnLGET /v5/position/closed-pnl
Move PositionPOST /v5/position/move-positions
Get Move Position HistoryGET /v5/position/move-history
Confirm New Risk LimitPOST /v5/position/confirm-pending-mmr

Account

EndpointDescriptionStatus
GET /v5/account/

WebSocket

EndpointDescriptionStatus
GET /v5/