@@ -409,52 +409,52 @@ def test_create_uri_blockheight_reverse_org_subscribe(self):
409
409
def test_create_uri_single_trades_org_subscribe (self ):
410
410
start_time = time .time ()
411
411
print (f"\r \n TestBinanceOrgManager->test_create_uri_single_trades_org_subscribe:" )
412
- self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["trades" ], ["RAVEN-F66_BNB " ]),
413
- 'wss://dex.binance.org/api/ws/RAVEN-F66_BNB @trades' )
412
+ self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["trades" ], ["RUNE-B1A_BNB " ]),
413
+ 'wss://dex.binance.org/api/ws/RUNE-B1A_BNB @trades' )
414
414
print (f"Runtime: { (time .time ()- start_time )} " )
415
415
416
416
def test_create_uri_single_marketdepth_org_subscribe (self ):
417
417
start_time = time .time ()
418
418
print (f"\r \n TestBinanceOrgManager->test_create_uri_single_marketdepth_org_subscribe:" )
419
- self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["marketDepth" ], ["RAVEN-F66_BNB " ]),
420
- 'wss://dex.binance.org/api/ws/RAVEN-F66_BNB @marketDepth' )
419
+ self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["marketDepth" ], ["RUNE-B1A_BNB " ]),
420
+ 'wss://dex.binance.org/api/ws/RUNE-B1A_BNB @marketDepth' )
421
421
print (f"Runtime: { (time .time ()- start_time )} " )
422
422
423
423
def test_create_uri_single_kline_1h_org_subscribe (self ):
424
424
start_time = time .time ()
425
425
print (f"\r \n TestBinanceOrgManager->test_create_uri_single_kline_1h_org_subscribe:" )
426
- self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["kline_1h" ], ["RAVEN-F66_BNB " ]),
427
- 'wss://dex.binance.org/api/ws/RAVEN-F66_BNB @kline_1h' )
426
+ self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["kline_1h" ], ["RUNE-B1A_BNB " ]),
427
+ 'wss://dex.binance.org/api/ws/RUNE-B1A_BNB @kline_1h' )
428
428
print (f"Runtime: { (time .time ()- start_time )} " )
429
429
430
430
def test_create_uri_single_ticker_org_subscribe (self ):
431
431
start_time = time .time ()
432
432
print (f"\r \n TestBinanceOrgManager->test_create_uri_single_ticker_org_subscribe:" )
433
- self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["ticker" ], ["RAVEN-F66_BNB " ]),
434
- 'wss://dex.binance.org/api/ws/RAVEN-F66_BNB @ticker' )
433
+ self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["ticker" ], ["RUNE-B1A_BNB " ]),
434
+ 'wss://dex.binance.org/api/ws/RUNE-B1A_BNB @ticker' )
435
435
print (f"Runtime: { (time .time ()- start_time )} " )
436
436
437
437
def test_create_uri_single_miniTicker_org_subscribe (self ):
438
438
start_time = time .time ()
439
439
print (f"\r \n TestBinanceOrgManager->test_create_uri_single_miniTicker_org_subscribe:" )
440
- self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["miniTicker" ], ["RAVEN-F66_BNB " ]),
441
- 'wss://dex.binance.org/api/ws/RAVEN-F66_BNB @miniTicker' )
440
+ self .assertEqual (self .__class__ .ubwa .create_websocket_uri (["miniTicker" ], ["RUNE-B1A_BNB " ]),
441
+ 'wss://dex.binance.org/api/ws/RUNE-B1A_BNB @miniTicker' )
442
442
print (f"Runtime: { (time .time ()- start_time )} " )
443
443
444
444
def test_create_uri_multi_org_subscribe (self ):
445
445
start_time = time .time ()
446
446
print (f"\r \n TestBinanceOrgManager->test_create_uri_multi_org_subscribe:" )
447
447
self .assertEqual (self .__class__ .ubwa .create_websocket_uri (['trades' , 'kline_1h' ],
448
- ['RAVEN-F66_BNB ' , 'ANKR-E97_BNB ' ]),
448
+ ['RUNE-B1A_BNB ' , 'FTM-A64_BNB ' ]),
449
449
'wss://dex.binance.org/api/ws' )
450
450
451
451
stream_id = self .__class__ .ubwa .create_stream (['trades' , 'kline_1h' ],
452
- ['RAVEN-F66_BNB ' , 'ANKR-E97_BNB ' ])
452
+ ['RUNE-B1A_BNB ' , 'FTM-A64_BNB ' ])
453
453
payload = self .__class__ .ubwa .create_payload (stream_id , "subscribe" , ['trades' , 'kline_1h' ],
454
- ['RAVEN-F66_BNB ' , 'ANKR-E97_BNB ' ])
454
+ ['RUNE-B1A_BNB ' , 'FTM-A64_BNB ' ])
455
455
self .assertEqual (str (payload ),
456
- "[{'method': 'subscribe', 'topic': 'trades', 'symbols': ['RAVEN-F66_BNB ', 'ANKR-E97_BNB ']}, "
457
- "{'method': 'subscribe', 'topic': 'kline_1h', 'symbols': ['RAVEN-F66_BNB ', 'ANKR-E97_BNB ']}]" )
456
+ "[{'method': 'subscribe', 'topic': 'trades', 'symbols': ['RUNE-B1A_BNB ', 'FTM-A64_BNB ']}, "
457
+ "{'method': 'subscribe', 'topic': 'kline_1h', 'symbols': ['RUNE-B1A_BNB ', 'FTM-A64_BNB ']}]" )
458
458
time .sleep (5 )
459
459
self .__class__ .ubwa .stop_stream (stream_id = stream_id )
460
460
print (f"Runtime: { (time .time ()- start_time )} " )
@@ -508,10 +508,10 @@ def test_create_uri_user_address_multi_org_subscribe(self):
508
508
def test_create_misc_single_org_subscribe (self ):
509
509
start_time = time .time ()
510
510
print (f"\r \n TestBinanceOrgManager->test_create_misc_single_org_subscribe:" )
511
- stream_id = self .__class__ .ubwa .create_stream (["trades" ], ["RAVEN-F66_BNB " ])
512
- payload = self .__class__ .ubwa .create_payload (stream_id , 'subscribe' , ['trades' ], 'RAVEN-F66_BNB ' )
511
+ stream_id = self .__class__ .ubwa .create_stream (["trades" ], ["RUNE-B1A_BNB " ])
512
+ payload = self .__class__ .ubwa .create_payload (stream_id , 'subscribe' , ['trades' ], 'RUNE-B1A_BNB ' )
513
513
self .assertEqual (str (payload ),
514
- "[{'method': 'subscribe', 'topic': 'trades', 'symbols': ['RAVEN-F66_BNB ']}]" )
514
+ "[{'method': 'subscribe', 'topic': 'trades', 'symbols': ['RUNE-B1A_BNB ']}]" )
515
515
time .sleep (5 )
516
516
self .__class__ .ubwa .stop_stream (stream_id = stream_id )
517
517
print (f"Runtime: { (time .time ()- start_time )} " )
@@ -572,7 +572,7 @@ def test_is_exchange_type_dex(self):
572
572
def test_create_payload (self ):
573
573
start_time = time .time ()
574
574
print (f"\r \n TestBinanceOrgManager->test_create_payload:" )
575
- result = "[{'method': 'subscribe', 'topic': 'kline_1m', 'symbols': ['RAVEN-F66_BNB ']}]"
575
+ result = "[{'method': 'subscribe', 'topic': 'kline_1m', 'symbols': ['FTM-A64_BNB ']}]"
576
576
stream_id = self .__class__ .ubwa .get_new_uuid_id ()
577
577
self .assertEqual (str (self .__class__ .ubwa .create_payload (stream_id ,
578
578
"subscribe" ,
0 commit comments