update readme
This commit is contained in:
19
README.md
19
README.md
@@ -4,9 +4,15 @@
|
|||||||
[][1]
|
[][1]
|
||||||
[](https://www.codefactor.io/repository/github/tiagosiebler/bybit-api)
|
[](https://www.codefactor.io/repository/github/tiagosiebler/bybit-api)
|
||||||
|
|
||||||
|
[][1]
|
||||||
|
|
||||||
[1]: https://www.npmjs.com/package/bybit-api
|
[1]: https://www.npmjs.com/package/bybit-api
|
||||||
|
|
||||||
Node.js connector for the Bybit APIs and WebSockets, with TypeScript & browser support.
|
Node.js connector for the Bybit APIs and WebSockets:
|
||||||
|
- TypeScript support (with type declarations for most API requests & responses).
|
||||||
|
- Integration tests with real API calls validating any changes before they reach npm.
|
||||||
|
- Robust WebSocket integration with connection heartbeats & automatic reconnection.
|
||||||
|
- Browser support (via webpack bundle - see "Browser Usage" below).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
`npm install --save bybit-api`
|
`npm install --save bybit-api`
|
||||||
@@ -32,6 +38,17 @@ Most methods accept JS objects. These can be populated using parameters specifie
|
|||||||
- [Bybit API Inverse Futures Documentation](https://bybit-exchange.github.io/docs/inverse_futures/#t-introduction).
|
- [Bybit API Inverse Futures Documentation](https://bybit-exchange.github.io/docs/inverse_futures/#t-introduction).
|
||||||
- [Bybit API Linear Documentation](https://bybit-exchange.github.io/docs/linear/#t-introduction)
|
- [Bybit API Linear Documentation](https://bybit-exchange.github.io/docs/linear/#t-introduction)
|
||||||
|
|
||||||
|
## REST Clients
|
||||||
|
Each REST API category has a dedicated REST client. Here are the REST clients and their API group:
|
||||||
|
| Class | Description |
|
||||||
|
|:-----------------------------------------------------: |:------------------------------: |
|
||||||
|
| [InverseClient](src/inverse-client.ts) | Inverse Perpetual Futures (v2) |
|
||||||
|
| [LinearClient](src/linear-client.ts) | USDT Perpetual Futures (v2) |
|
||||||
|
| [InverseFuturesClient](src/inverse-futures-client.ts) | Inverse Futures (v2) |
|
||||||
|
| [SpotClient](src/spot-client.ts) | Spot Markets |
|
||||||
|
| USDC Options & Perpetual Contracts | Under Development |
|
||||||
|
| Derivatives V3 unified margin | Under Development |
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
This project uses typescript. Resources are stored in 3 key structures:
|
This project uses typescript. Resources are stored in 3 key structures:
|
||||||
- [src](./src) - the whole connector written in typescript
|
- [src](./src) - the whole connector written in typescript
|
||||||
|
|||||||
Reference in New Issue
Block a user