Comparing version 1.0.16 to 1.0.17
@@ -0,1 +1,2 @@ | ||
const Binance = require("./binance.js").Binance; | ||
const Bybit = require("./bybit.js").Bybit; | ||
@@ -8,2 +9,3 @@ const GateIo = require("./gateio.js").GateIo; | ||
module.exports = { | ||
Binance: Binance, | ||
Bybit: Bybit, | ||
@@ -10,0 +12,0 @@ GateIo: GateIo, |
@@ -32,3 +32,2 @@ const Api = require('../api').Api | ||
for (const item of info) { | ||
console.log(item) | ||
this.symbolInfo[item['symbol']] = { | ||
@@ -123,3 +122,2 @@ 'amountTick': item['base_tick'], | ||
for (const item of positions) { | ||
console.log(item) | ||
curPositions[item['symbol']] = { | ||
@@ -126,0 +124,0 @@ 'amount': item['position_qty'], |
@@ -0,1 +1,2 @@ | ||
const Binance = require("./api/exchange/binance").Binance | ||
const Bybit = require("./api/exchange/bybit").Bybit | ||
@@ -7,2 +8,3 @@ const GateIo = require("./api/exchange/gateio").GateIo | ||
module.exports = { | ||
Binance, | ||
Bybit, | ||
@@ -9,0 +11,0 @@ GateIo, |
{ | ||
"name": "smxt", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"main": "index.js", | ||
@@ -23,2 +23,3 @@ "author": "tradingtau", | ||
"backtesting", | ||
"binance", | ||
"bitcoin", | ||
@@ -25,0 +26,0 @@ "bot", |
@@ -11,2 +11,3 @@ # SMXT – SiMple eXchange Trading | ||
### CEX | ||
- Binance Futures | ||
- Bybit Futures (Unified, cross, one-way mode) | ||
@@ -23,2 +24,3 @@ - Okx Futures | ||
### JavaScript (NPM) | ||
[smxt in **NPM**](https://www.npmjs.com/package/smxt) | ||
```shell | ||
@@ -66,2 +68,7 @@ npm install smxt | ||
let binance = new smxt.Binance( | ||
apiKey = "YOUR_API_KEY", | ||
apiSecret = "YOUR_API_SECERT" | ||
) | ||
let bybit = new smxt.Bybit( | ||
@@ -68,0 +75,0 @@ apiKey = "YOUR_API_KEY", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98201
12
2559
165
5