Skip to content

Commit

Permalink
Merge pull request #16101 from carlosmiei/zb-ws-futures
Browse files Browse the repository at this point in the history
Zb Ws :: add futures
  • Loading branch information
kroitor committed Dec 15, 2022
2 parents d97bc63 + e1b77ba commit 558960b
Show file tree
Hide file tree
Showing 3 changed files with 423 additions and 93 deletions.
6 changes: 4 additions & 2 deletions js/pro/test/Exchange/test.watchOHLCV.js
Expand Up @@ -58,8 +58,10 @@ module.exports = async (exchange, symbol) => {
if (i > 0) {
const previous = response[i - 1]
if (current[0] && previous[0]) {
assert (current[0] >= previous[0],
'OHLCV timestamp ordering is wrong at candle ' + i.toString () + ' ' + current[0].toString () + ' < ' + previous[0].toString ())
assert (
current[0] >= previous[0],
'OHLCV timestamp ordering is wrong at candle ' + i.toString () + ' ' + current[0].toString () + ' < ' + previous[0].toString ()
)
}
}
}
Expand Down

0 comments on commit 558960b

Please sign in to comment.