Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smxt

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smxt - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

api/exchange/binance.js

2

api/exchange/index.js

@@ -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,

2

api/exchange/orderly.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc