Skip to content

[pull] master from ccxt:master#4046

Merged
pull[bot] merged 54 commits intofakegit:masterfrom
ccxt:master
Oct 19, 2023
Merged

[pull] master from ccxt:master#4046
pull[bot] merged 54 commits intofakegit:masterfrom
ccxt:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Oct 19, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

ttodua and others added 30 commits October 16, 2023 17:39
### Isolated Margin:
```
bitget cancelOrder '"1098751221042917376"' BTC/USDT '{"marginMode":"isolated"}'

bitget.cancelOrder (1098751221042917376, BTC/USDT, [object Object])
2023-10-19T04:10:53.592Z iteration 0 passed in 297 ms

{
  info: {
    orderId: '1098751221042917376',
    clientOid: '0bfc1a26e53245d19eda1585c0eaaa4e'
  },
  id: '1098751221042917376',
  clientOrderId: '0bfc1a26e53245d19eda1585c0eaaa4e',
  timestamp: undefined,
  datetime: undefined,
  lastTradeTimestamp: undefined,
  lastUpdateTimestamp: undefined,
  symbol: 'BTC/USDT',
  type: undefined,
  timeInForce: undefined,
  postOnly: undefined,
  side: undefined,
  price: undefined,
  stopPrice: undefined,
  triggerPrice: undefined,
  average: undefined,
  cost: undefined,
  amount: undefined,
  filled: undefined,
  remaining: undefined,
  status: undefined,
  fee: undefined,
  trades: [],
  fees: [],
  reduceOnly: undefined,
  takeProfitPrice: undefined,
  stopLossPrice: undefined
}
```

### Cross Margin:
```
bitget cancelOrder '"1098753302176870400"' BTC/USDT '{"marginMode":"cross"}'

bitget.cancelOrder (1098753302176870400, BTC/USDT, [object Object])
2023-10-19T04:19:01.307Z iteration 0 passed in 738 ms

{
  info: {
    orderId: '1098753302176870400',
    clientOid: 'c87e31cf696840fbabb301bf959623cc'
  },
  id: '1098753302176870400',
  clientOrderId: 'c87e31cf696840fbabb301bf959623cc',
  timestamp: undefined,
  datetime: undefined,
  lastTradeTimestamp: undefined,
  lastUpdateTimestamp: undefined,
  symbol: 'BTC/USDT',
  type: undefined,
  timeInForce: undefined,
  postOnly: undefined,
  side: undefined,
  price: undefined,
  stopPrice: undefined,
  triggerPrice: undefined,
  average: undefined,
  cost: undefined,
  amount: undefined,
  filled: undefined,
  remaining: undefined,
  status: undefined,
  fee: undefined,
  trades: [],
  fees: [],
  reduceOnly: undefined,
  takeProfitPrice: undefined,
  stopLossPrice: undefined
}
```

### Spot (same for trigger orders):
```
bitget.cancelOrder (1098757201932488706, BTC/USDT)
2023-10-19T04:34:26.374Z iteration 0 passed in 349 ms

{
  info: {
    code: '00000',
    msg: 'success',
    requestTime: '1697690066485',
    data: '1098757201932488706'
  },
  id: '1098757201932488706',
  clientOrderId: undefined,
  timestamp: undefined,
  datetime: undefined,
  lastTradeTimestamp: undefined,
  lastUpdateTimestamp: undefined,
  symbol: 'BTC/USDT',
  type: undefined,
  timeInForce: undefined,
  postOnly: undefined,
  side: undefined,
  price: undefined,
  stopPrice: undefined,
  triggerPrice: undefined,
  average: undefined,
  cost: undefined,
  amount: undefined,
  filled: undefined,
  remaining: undefined,
  status: undefined,
  fee: undefined,
  trades: [],
  fees: [],
  reduceOnly: undefined,
  takeProfitPrice: undefined,
  stopLossPrice: undefined
}
```

### Swap (same for trigger orders):
```
bitget.cancelOrder (1098759544969527297, BTC/USDT:USDT)
2023-10-19T04:43:54.842Z iteration 0 passed in 958 ms

{
  info: { orderId: '1098759544969527297', clientOid: '1098759545007276033' },
  id: '1098759544969527297',
  clientOrderId: '1098759545007276033',
  timestamp: undefined,
  datetime: undefined,
  lastTradeTimestamp: undefined,
  lastUpdateTimestamp: undefined,
  symbol: 'BTC/USDT:USDT',
  type: undefined,
  timeInForce: undefined,
  postOnly: undefined,
  side: undefined,
  price: undefined,
  stopPrice: undefined,
  triggerPrice: undefined,
  average: undefined,
  cost: undefined,
  amount: undefined,
  filled: undefined,
  remaining: undefined,
  status: undefined,
  fee: undefined,
  trades: [],
  fees: [],
  reduceOnly: undefined,
  takeProfitPrice: undefined,
  stopLossPrice: undefined
}
```
feat(base) - add `safeIntegerMultiplied` (safe_integer_multiplied) method
fixed incorrect binance portfolio margin cm income url
Vadym Poliak and others added 24 commits October 19, 2023 05:24
Bitget: cancelOrder, add margin support
[ci skip]
fix(Exchange.ts): WS error handling

[ci skip]
Validate TS return types

[ci skip]
fix binance portfolio margin cm income url
fix(tests) - test pair creation timestamp
fix(tests) - test pair creation timestamp

[ci skip]
@pull pull bot added the ⤵️ pull label Oct 19, 2023
@pull pull bot merged commit c8825ab into fakegit:master Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants