README

Caution
ByBit exchange has discontinued the v3 API functionality - this package is no longer relevant and has therefore been moved to a public archive state
ByBitAPI - derivatives-trading package
Important
This is an unofficial SDK for interaction with the ByBit exchange. The development is carried out by one person solely on enthusiasm and as far as possible
For all questions, you can contact me in Issues, by email: mighty.vlad@gmail.com or in telegram: @novisad0189
Important
This package is an extension of bybitapi-sdk-core
Requirements
Installation
composer require carpenstar/bybitapi-sdk-derivatives:3.*
Contents:
MARKET DATA |
Endpoint |
Access type |
View in directory |
Official documentation |
Language |
Funding Rate History
|
Public |
view |
view |
EN,RU
|
Index Price Kline
|
Public |
view |
view |
EN,RU
|
Instrument Info
|
Public |
view |
view |
EN,RU
|
Kline
|
Public |
view |
view |
EN,RU
|
Mark Price Kline
|
Public |
view |
view |
EN,RU
|
Open Interest
|
Public |
view |
view |
EN,RU
|
Order Book
|
Public |
view |
view |
EN,RU
|
Public Trading History
|
Public |
view |
view |
EN,RU
|
Risk Limit
|
Public |
view |
view |
EN,RU
|
Ticker Info
|
Public |
view |
view |
EN,RU
|
CONTRACT - ACCOUNT |
Endpoint |
Access Type |
View in directory |
Official documentation |
Language |
Get Trading Fee Rate
|
Private |
view |
view |
EN,RU
|
Wallet Balance
|
Private |
view |
view |
EN,RU
|
CONTRACT - ORDER |
Endpoint |
Access Type |
View in directory |
Official documentation |
Language |
Cancel All Order
|
Private |
view |
view |
EN,RU
|
Cancel Order
|
Private |
view |
view |
EN,RU
|
Get Open Orders
|
Private |
view |
view |
EN,RU
|
Get Order List
|
Private |
view |
view |
EN,RU
|
Place Order
|
Private |
view |
view |
EN,RU
|
Replace Order
|
Private |
view |
view |
EN,RU
|
CONTRACT - POSITION |
Endpoint |
Access Type |
View in directory |
Official documentation |
Language |
Get Closed PnL
|
Private |
view |
view |
EN,RU
|
Get Execution List
|
Private |
view |
view |
EN,RU
|
My Position
|
Private |
view |
view |
EN,RU
|
Set Auto Add Margin
|
Private |
view |
view |
EN,RU
|
Set Leverage
|
Private |
view |
view |
EN,RU
|
Set Risk Limit
|
Private |
view |
view |
EN,RU
|
Set Trading Stop
|
Private |
view |
view |
EN,RU
|
Switch Cross Isolated Margin
|
Private |
view |
view |
EN,RU
|
Switch Position Mode
|
Private |
view |
view |
EN,RU
|
Switch TpSl Mode
|
Private |
view |
view |
EN,RU
|