awei.yu

Results 20 comments of awei.yu

Anything update on it?🙏

属于破坏性变更了,暂不考虑。 原因是当时这个特性是刻意为之的:「尽早开始」和「尽早结束」是一组相同的逻辑,作为一个小卖点都这么用了

> Possibly `package-lock.json` could be sourced for this? Recursive read of the `requires` block of each dependency. Maybe: `require.resolve(moduleName).includes('/node_modules/')`

Is it necessary to replace the restAPI related to listenKey with wsAPI? Such as: - https://github.com/tiagosiebler/binance/blob/wsapi/src/websocket-client.ts#L1001 ``` const { listenKey } = await this.wsApiClientCache .getSpotWsApiClient( this.getWsApiClientOptions(), this.options.wsApiOptions, ) .startUserDataStreamForKey(...); ```...

> https://github.com/tiagosiebler/binance/pull/509#issuecomment-2812328459 I see, it appears that Binance Spot trading is aiming to abandon the entire user data monitoring model based on listenKey, whereas I originally thought that it was...

``` const ws = new WebsocketClient(); ws.subscribeSymbolBookTicker('btcusdt', 'spot') // ws.subscribe('btcusdt@bookTicker', 'main') ``` when subscribe `spot` SymbolBookTicker, it will log: ``` [ '!!!! Unhandled non-string event type "undefined". Defaulting to "update"...

> Published [email protected]. For anyone trying this out, please be very careful - it's not finished yet. Almost, but not yet. > > * Fixed top-level parsing/handling/enrichment for incoming events...

Is it possible to make the `timestamp` (in all private wsAPI payloads) optional? Like: https://github.com/binance/binance-connector-js/blob/master/common/src/websocket.ts#L738 ``` const wsAPI = WebsocketAPIClient(...) // Current: wsAPI.getFuturesAccountStatus("usdm", { timestamp: Date.now() }) // Except: wsAPI.getFuturesAccountStatus("usdm",...

> > Is it possible to make the `timestamp` (in all private wsAPI payloads) optional? Like: https://github.com/binance/binance-connector-js/blob/master/common/src/websocket.ts#L738 > > I genuinely wanted to (and had it like that at first),...

### Why are all UserDataStream subscription methods designed with a wsKey parameter? such as `subscribeSpotUserDataStream`、`subscribeUsdFuturesUserDataStream`... ``` const ws = new WebsocketClient(...) ws.subscribeSpotUserDataStream('usdm') ``` - If you see code like `subscribeSpotUserDataStream('usdm')`,...