2828/**
2929 * <h2>WebSocket Streams</h2>
3030 * All stream endpoints under the
31- * <a href="https://binance-docs.github.io/apidocs/ spot/en/#websocket-market -streams">WebSocket Market Streams</a> and
32- * <a href="https://binance-docs.github.io/apidocs/ spot/en/# user-data-streams ">User Data Streams</a>
31+ * <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket -streams">WebSocket Market Streams</a> and
32+ * <a href="https://developers. binance.com/docs/binance- spot-api-docs/ user-data-stream ">User Data Streams</a>
3333 * section of the API documentation will be implemented in this class.
3434 * <br>
3535 * Response will be returned as callback.
@@ -61,8 +61,8 @@ public WebSocketStreamClientImpl(String baseUrl) {
6161 *
6262 * @param symbol Name of the trading pair
6363 * @return int - Connection ID
64- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #aggregate-trade-streams">
65- * https://binance-docs.github.io/apidocs/ spot/en/ #aggregate-trade-streams</a>
64+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #aggregate-trade-streams">
65+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #aggregate-trade-streams</a>
6666 */
6767 @ Override
6868 public int aggTradeStream (String symbol , WebSocketMessageCallback callback ) {
@@ -96,8 +96,8 @@ public int aggTradeStream(String symbol, WebSocketOpenCallback onOpenCallback, W
9696 *
9797 * @param symbol Name of the trading pair
9898 * @return int - Connection ID
99- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #trade-streams">
100- * https://binance-docs.github.io/apidocs/ spot/en/ #trade-streams</a>
99+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #trade-streams">
100+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #trade-streams</a>
101101 */
102102 @ Override
103103 public int tradeStream (String symbol , WebSocketMessageCallback callback ) {
@@ -132,8 +132,8 @@ public int tradeStream(String symbol, WebSocketOpenCallback onOpenCallback, WebS
132132 * @param symbol Name of the trading pair
133133 * @param interval Time interval for kline/candlestick
134134 * @return int - Connection ID
135- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/#kline-candlestick -streams">
136- * https://binance-docs.github.io/apidocs/ spot/en/#kline-candlestick -streams</a>
135+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket -streams#klinecandlestick-streams-for-utc ">
136+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket -streams#klinecandlestick-streams-for-utc </a>
137137 */
138138 @ Override
139139 public int klineStream (String symbol , String interval , WebSocketMessageCallback callback ) {
@@ -169,8 +169,8 @@ public int klineStream(String symbol, String interval, WebSocketOpenCallback onO
169169 *
170170 * @param symbol Name of the trading pair
171171 * @return int - Connection ID
172- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #individual-symbol-mini-ticker-stream">
173- * https://binance-docs.github.io/apidocs/ spot/en/ #individual-symbol-mini-ticker-stream</a>
172+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #individual-symbol-mini-ticker-stream">
173+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #individual-symbol-mini-ticker-stream</a>
174174 */
175175 @ Override
176176 public int miniTickerStream (String symbol , WebSocketMessageCallback callback ) {
@@ -205,8 +205,8 @@ public int miniTickerStream(String symbol, WebSocketOpenCallback onOpenCallback,
205205 * Update Speed: Real-time
206206 *
207207 * @return int - Connection ID
208- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #all-market-mini-tickers-stream">
209- * https://binance-docs.github.io/apidocs/ spot/en/ #all-market-mini-tickers-stream</a>
208+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #all-market-mini-tickers-stream">
209+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #all-market-mini-tickers-stream</a>
210210 */
211211 @ Override
212212 public int allMiniTickerStream (WebSocketMessageCallback callback ) {
@@ -238,8 +238,8 @@ public int allMiniTickerStream(WebSocketOpenCallback onOpenCallback, WebSocketMe
238238 *
239239 * @param symbol Name of the trading pair
240240 * @return int - Connection ID
241- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #individual-symbol-ticker-streams">
242- * https://binance-docs.github.io/apidocs/ spot/en/ #individual-symbol-ticker-streams</a>
241+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #individual-symbol-ticker-streams">
242+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #individual-symbol-ticker-streams</a>
243243 */
244244 @ Override
245245 public int symbolTicker (String symbol , WebSocketMessageCallback callback ) {
@@ -274,8 +274,8 @@ public int symbolTicker(String symbol, WebSocketOpenCallback onOpenCallback, Web
274274 * Update Speed: Real-time
275275 *
276276 * @return int - Connection ID
277- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #all-market-tickers-stream">
278- * https://binance-docs.github.io/apidocs/ spot/en/ #all-market-tickers-stream</a>
277+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #all-market-tickers-stream">
278+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #all-market-tickers-stream</a>
279279 */
280280 @ Override
281281 public int allTickerStream (WebSocketMessageCallback callback ) {
@@ -307,8 +307,8 @@ public int allTickerStream(WebSocketOpenCallback onOpenCallback, WebSocketMessag
307307 * @param symbol Name of the trading pair
308308 * @param windowSize Window Sizes: 1h,4h
309309 * @return int - Connection ID
310- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #individual-symbol-rolling-window-statistics-streams">
311- * https://binance-docs.github.io/apidocs/ spot/en/ #individual-symbol-rolling-window-statistics-streams</a>
310+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #individual-symbol-rolling-window-statistics-streams">
311+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #individual-symbol-rolling-window-statistics-streams</a>
312312 */
313313 public int rollingWindowTicker (String symbol , String windowSize , WebSocketMessageCallback callback ) {
314314 ParameterChecker .checkParameterType (symbol , String .class , "symbol" );
@@ -358,8 +358,8 @@ public int rollingWindowTicker(String symbol, String windowSize, WebSocketOpenCa
358358 *
359359 * @param windowSize Window Sizes: 1h,4h
360360 * @return int - Connection ID
361- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #all-market-rolling-window-statistics-streams">
362- * https://binance-docs.github.io/apidocs/ spot/en/ #all-market-rolling-window-statistics-streams</a>
361+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #all-market-rolling-window-statistics-streams">
362+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #all-market-rolling-window-statistics-streams</a>
363363 */
364364 @ Override
365365 public int allRollingWindowTicker (String windowSize , WebSocketMessageCallback callback ) {
@@ -400,8 +400,8 @@ public int allRollingWindowTicker(String windowSize, WebSocketOpenCallback onOpe
400400 *
401401 * @param symbol Name of the trading pair
402402 * @return int - Connection ID
403- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #individual-symbol-book-ticker-streams">
404- * https://binance-docs.github.io/apidocs/ spot/en/ #individual-symbol-book-ticker-streams</a>
403+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #individual-symbol-book-ticker-streams">
404+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #individual-symbol-book-ticker-streams</a>
405405 */
406406 @ Override
407407 public int bookTicker (String symbol , WebSocketMessageCallback callback ) {
@@ -437,8 +437,8 @@ public int bookTicker(String symbol, WebSocketOpenCallback onOpenCallback, WebSo
437437 * @param levels Valid are 5, 10, or 20
438438 * @param speed 1000ms or 100ms
439439 * @return int - Connection ID
440- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #partial-book-depth-streams">
441- * https://binance-docs.github.io/apidocs/ spot/en/ #partial-book-depth-streams</a>
440+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #partial-book-depth-streams">
441+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #partial-book-depth-streams</a>
442442 */
443443 @ Override
444444 public int partialDepthStream (String symbol , int levels , int speed , WebSocketMessageCallback callback ) {
@@ -475,8 +475,8 @@ public int partialDepthStream(String symbol, int levels, int speed, WebSocketOpe
475475 * @param symbol Name of the trading pair
476476 * @param speed 1000ms or 100ms
477477 * @return int - Connection ID
478- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/ #diff-depth-stream">
479- * https://binance-docs.github.io/apidocs/ spot/en/ #diff-depth-stream</a>
478+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #diff-depth-stream">
479+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket-streams #diff-depth-stream</a>
480480 */
481481 @ Override
482482 public int diffDepthStream (String symbol , int speed , WebSocketMessageCallback callback ) {
@@ -506,10 +506,10 @@ public int diffDepthStream(String symbol, int speed, WebSocketOpenCallback onOpe
506506 * User Data Streams are accessed at /ws/<listenKey>
507507 *
508508 * @param listenKey listen key obtained from this
509- * <a href="https://binance-docs.github.io/apidocs/ spot/en/#listen-key-spot ">endpoint</a>
509+ * <a href="https://developers. binance.com/docs/binance- spot-api-docs/rest-api#user-data-stream-endpoints ">endpoint</a>
510510 * @return int - Connection ID
511- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/# user-data-streams ">
512- * https://binance-docs.github.io/apidocs/ spot/en/# user-data-streams </a>
511+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/rest-api#start- user-data-stream-user_stream ">
512+ * https://developers. binance.com/docs/binance- spot-api-docs/rest-api#start- user-data-stream-user_stream </a>
513513 */
514514 @ Override
515515 public int listenUserStream (String listenKey , WebSocketMessageCallback callback ) {
@@ -520,7 +520,7 @@ public int listenUserStream(String listenKey, WebSocketMessageCallback callback)
520520 * Same as {@link #listenUserStream(String, WebSocketMessageCallback)} plus accepts callbacks for all major websocket connection events.
521521 *
522522 * @param listenKey listen key obtained from this
523- * <a href="https://binance-docs.github.io/apidocs/ spot/en/#listen-key-spot ">endpoint</a>
523+ * <a href="https://developers. binance.com/docs/binance- spot-api-docs/rest-api#user-data-stream-endpoints ">endpoint</a>
524524 * @param onOpenCallback Callback for when the websocket connection is opened
525525 * @param onMessageCallback Callback for when a message is received
526526 * @param onClosingCallback Callback for when the websocket connection is closing
@@ -538,8 +538,8 @@ public int listenUserStream(String listenKey, WebSocketOpenCallback onOpenCallba
538538 *
539539 * @param streams ArrayList of stream names to be combined <br>
540540 * @return int - Connection ID
541- * @see <a href="https://binance-docs.github.io/apidocs/ spot/en/#websocket-market -streams">
542- * https://binance-docs.github.io/apidocs/ spot/en/#websocket-market -streams</a>
541+ * @see <a href="https://developers. binance.com/docs/binance- spot-api-docs/web-socket -streams">
542+ * https://developers. binance.com/docs/binance- spot-api-docs/web-socket -streams</a>
543543 */
544544 @ Override
545545 public int combineStreams (ArrayList <String > streams , WebSocketMessageCallback callback ) {
0 commit comments