[pull] master from ccxt:master#4046
Merged
pull[bot] merged 54 commits intofakegit:masterfrom Oct 19, 2023
Merged
Conversation
…o created-ts-2-market-test
### 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
okx: add apis
Bitget: cancelOrder, add margin support
fix(Exchange.ts): WS error handling
fix(Exchange.ts): WS error handling [ci skip]
Validate TS return types
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]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )