This repository has been archived by the owner on Sep 9, 2023. It is now read-only.
Releases: altangent/ccxws
Releases · altangent/ccxws
v0.26.0
Changes
- refactored tests to uniform suite for consistent tests across all exchanges
- Breaking change: converted
tradeId
andorderId
properties intrade
andl3update/snapshot
events to strings for uniformity
Exchange Breakdown
-
Bibox
- Fixed unsubscribe methods
-
Cex.io
- Breaking change:
trade
eventtradeId
is now a string - Breaking change: initial
trade
events on connection are now in ascending time order
- Breaking change:
-
CoinbasePro
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Coinex
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Binance
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Bitfinex
- Breaking change:
trade
eventtradeId
is now a string - Breaking change:
l3update
eventorderId
is now a string
- Breaking change:
-
bitFlyer
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Bitstamp
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Ethfinex
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Gate.io
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Gemini
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
HitBTC
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Huobi
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
-
Poloniex
- Breaking change:
trade
eventtradeId
is now a string
- Breaking change:
v0.25.0
- OKEx
- migrated to v3 API as defined https://www.okex.com/docs/en/#spot_ws-general
v0.24.1
- kraken
- change rounding for tradeId to more closely match server rounding used in REST API
v0.24.0
- Binance
- Fix ticker timestamp
- Bitstamp
- Updated to v2 API (https://www.bitstamp.net/websocket/v2/)
- Bibox
- Fix unit test for undefined tradeId due to breaking and idiotic change by Bibox
v0.23.4
Gate.io
- Adding ping
Coinex
- Fixing ping timer leak
OKEx
- Fixing ping timer leak
All
- Adding
disconnected
event emision on final close
v0.23.3
Poloniex:
- Updated market identifiers
HitBTC:
- Fixed issue with market failures causing unreleased semaphores
Kraken:
- Fixing rounding error with id generation to match server reported ids
v0.23.2
v0.23.1
Bifinex
- Bug fix for L2 update stream price value
v0.23.0
-
all market
- all events (
trade
,ticker
, etc) now include the subscribing market as the second argument of the event handler. This functionality allows easier linking of events to the underlying market that was used to subscribe to the events. For example:
let market = { id: 'XBT7D_D95', base: 'BTC', quote: 'BTC', }; bitmex.subscribeLevel2Updates(market) bitmex.on('l2snapshot', (snap, market) => { console.log(`snapshot for ${market.id}`); }); bitmex.on('l2update', (upd, market) => { console.log(`update for ${market.id}`); });
- all events (
-
binance
- increased default watcher duration to 5minutes.
- now support constructor argument
reconnectIntervalMs
to customize watcher timeout
v0.22.1
- Kraken
- Bug fix for Kraken tradeId creation. History API returns trades that are rounded down when even. For example: unix timestamp
1554844623.538850
was previously generating an ID1554844623538900000
. History API is reporting (https://api.kraken.com/0/public/Trades?pair=XXBTZUSD&since=1554844623538000000) is a unix time stamp of1554844623.5388
. This changes will get the trade ID generation inline with those generated in the history API.
- Bug fix for Kraken tradeId creation. History API returns trades that are rounded down when even. For example: unix timestamp