9
9
/**
10
10
* <h2>COIN-M Websocket Streams</h2>
11
11
* All stream endpoints under the
12
- * <a href="https://binance-docs.github.io/apidocs/delivery/en/# websocket-market-streams"> Websocket Market Streams</a> and
13
- * <a href="https://binance-docs.github.io/apidocs/delivery/en/# user-data-streams"> User Data Streams</a>
12
+ * <a href="https://developers. binance.com/docs/derivatives/coin-margined-futures/ websocket-market-streams/Connect "> Websocket Market Streams</a> and
13
+ * <a href="https://developers. binance.com/docs/derivatives/coin-margined-futures/ user-data-streams/Connect "> User Data Streams</a>
14
14
* section of the API documentation will be implemented in this class.
15
15
* <br>
16
16
* Response will be returned as callback.
@@ -35,8 +35,8 @@ public CMWebsocketClientImpl(String baseUrl) {
35
35
* @param speed speed in seconds, can be 1 or 3
36
36
* @param onMessageCallback onMessageCallback
37
37
* @return int - Connection ID
38
- * @see <a href="https://binance-docs.github.io/apidocs/delivery/en/#index-price-stream ">
39
- * https://binance-docs.github.io/apidocs/delivery/en/#index-price -streams</a>
38
+ * @see <a href="https://developers. binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Index-Price-Stream ">
39
+ * https://developers. binance.com/docs/derivatives/coin-margined-futures/websocket-market -streams/Index-Price-Stream </a>
40
40
*/
41
41
public int indexPriceStream (String pair , int speed , WebSocketCallback onMessageCallback ) {
42
42
ParameterChecker .checkParameterType (pair , String .class , "pair" );
@@ -77,8 +77,8 @@ public int indexPriceStream(String pair, int speed, WebSocketCallback onOpenCall
77
77
* @param speed speed in seconds, can be 1 or 3
78
78
* @param onMessageCallback onMessageCallback
79
79
* @return int - Connection ID
80
- * @see <a href="https://binance-docs.github.io/apidocs/delivery/en/#mark-price- of-all-symbols -of-a-pair ">
81
- * https://binance-docs.github.io/apidocs/delivery/en/#mark-price- of-all-symbols -of-a-pair </a>
80
+ * @see <a href="https://developers. binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Mark-Price- of-All-Symbols -of-a-Pair ">
81
+ * https://developers. binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Mark-Price- of-All-Symbols -of-a-Pair </a>
82
82
*/
83
83
public int markPriceSymbolsPairStream (String pair , int speed , WebSocketCallback onMessageCallback ) {
84
84
ParameterChecker .checkParameterType (pair , String .class , "pair" );
@@ -119,8 +119,8 @@ public int markPriceSymbolsPairStream(String pair, int speed, WebSocketCallback
119
119
* @param interval kline interval - 1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M
120
120
* @param onMessageCallback onMessageCallback
121
121
* @return int - Connection ID
122
- * @see <a href="https://binance-docs.github.io/apidocs/delivery/en/#index-kline-candlestick- streams">
123
- * https://binance-docs.github.io/apidocs/delivery/en/#index-kline-candlestick- streams</a>
122
+ * @see <a href="https://developers. binance.com/docs/derivatives/coin-margined-futures/websocket-market- streams/Index-Kline-Candlestick-Streams ">
123
+ * https://developers. binance.com/docs/derivatives/coin-margined-futures/websocket-market- streams/Index-Kline-Candlestick-Streams </a>
124
124
*/
125
125
public int indexKlineCandlestick (String pair , String interval , WebSocketCallback onMessageCallback ) {
126
126
ParameterChecker .checkParameterType (pair , String .class , "pair" );
@@ -155,8 +155,8 @@ public int indexKlineCandlestick(String pair, String interval, WebSocketCallback
155
155
* @param interval kline interval - 1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M
156
156
* @param onMessageCallback onMessageCallback
157
157
* @return int - Connection ID
158
- * @see <a href="https://binance-docs.github.io/apidocs/delivery/en/#mark-price-kline-candlestick -streams">
159
- * https://binance-docs.github.io/apidocs/delivery/en/#mark-price-kline-candlestick -streams</a>
158
+ * @see <a href="https://developers. binance.com/docs/derivatives/coin-margined-futures/websocket-market -streams/Mark-Price-Kline-Candlestick-Streams ">
159
+ * https://developers. binance.com/docs/derivatives/coin-margined-futures/websocket-market -streams/Mark-Price-Kline-Candlestick-Streams </a>
160
160
*/
161
161
public int markKlineCandlestick (String symbol , String interval , WebSocketCallback onMessageCallback ) {
162
162
ParameterChecker .checkParameterType (symbol , String .class , "symbol" );
0 commit comments