0.10.2 • Published 2 years ago
@exchange-connect/coinex v0.10.2
Exchange Connect
Coinex Software Development Kit
This is a module or a part of Exchange Connect project and you can use it seperatly for the Coinex Exchange
- You are allowed to interact with Advanced ( raw ) APIs through SDK functions
- Catching an well-defined error by type
- Integrating in your Javascript apps flawlessly
- No need to handling WebSocket connections by your own. it's already done!
Usage
Be Cautious: It's currently under development
Installation:
npm i --save @exchange-connect/coinex
Use SDK:
const CoinexSDK = require("@exchange-connect/coinex");
const coinex = new CoinexSDK("YOUR_API_KEY", "YOUR_API_SECRET");
const { INVALID_METHOD } = coinex.errors;
const { acquireAllMarketInfo } = coinex.https;
const { futuresAssetSubscribe } = coinex.streams;
//Access All of the HTTP/Rest APIs with "CoinexSDK.http"
//For Example
try{
const allTheMarkets = await acquireAllMarketInfo();
}catch(error){
//And Even you can recogonize the error just simply by the "instanceof" from the error section
if(error instanceof INVALID_METHOD){
//Handle the error
}
//Look at the "API Refrence" for more information
}
API Refrence
See API Refrence For more information on SDK.
Folder Structure
src/ Source code
├─ constants/ Constant variables
├─ errors/ Classified-Errors folder
│ ├─ http/ Server-Generated HTTP Response Errors
│ ├─ stream/ Server-Generated Web Socket Errors
├─ http/ HTTP API Requests
│ ├─ account/ "account" Requests
│ ├─ futures/ "futures" Requests
│ ├─ market/ "market" Requests
│ ├─ spot/ "spot" Requests
│ ├─ trading/ "trading" Requests
├─ stream/ Web Socket Functionalities
│ ├─ futures/ Futures WS Functions
│ ├─ spot/ Spot WS Functions
docs/ JSDoc-Generated Documentations
Roadmap
Full Rest API Support
- Account
- Futures
- Market
- Trading
- Spot
Full WebSocket API Support
- Futures
- Spot
Document All of the SDKs
- HTTP API
- Web Socket API
Error handling
Error types
Rate Limiter
0.8.9
2 years ago
0.10.1
2 years ago
0.10.2
2 years ago
0.8.12
2 years ago
0.8.11
2 years ago
0.8.14
2 years ago
0.8.13
2 years ago
0.8.10
2 years ago
0.10.0
2 years ago
0.8.19
2 years ago
0.8.16
2 years ago
0.8.15
2 years ago
0.8.18
2 years ago
0.8.17
2 years ago
0.9.0
2 years ago
0.9.1
2 years ago
0.8.8
2 years ago
0.8.7
2 years ago
0.8.6
2 years ago
0.8.5
2 years ago
0.8.4
2 years ago
0.8.3
2 years ago
0.8.2
2 years ago
0.8.1
2 years ago
0.8.0
2 years ago
0.7.0
2 years ago
0.6.12
2 years ago
0.6.11
2 years ago
0.6.1
2 years ago
0.6.0
2 years ago
0.5.0
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.1.0
2 years ago
0.0.1
2 years ago