Skip to content

Commit 6a80017

Browse files
intend
1 parent 890636c commit 6a80017

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

binance_websocket_api_futures.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
api_key = ""
1111
api_secret = ""
12-
market = "BTCUSDT"
12+
market = "BTCUSDC"
1313

1414
async def binance_stream(ubwa):
1515
async def handle_socket_message(stream_id=None):
@@ -26,15 +26,10 @@ async def handle_socket_message(stream_id=None):
2626
ubwa.api.get_account_status(stream_id=api_stream)
2727
orig_client_order_id = ubwa.api.create_order(stream_id=api_stream, price=1.0, order_type="LIMIT",
2828
quantity=15.0, side="SELL", symbol=market)
29-
ubwa.api.create_test_order(stream_id=api_stream, price=1.2, order_type="LIMIT",
30-
quantity=12.0, side="SELL", symbol=market)
3129
ubwa.api.ping(stream_id=api_stream)
3230
ubwa.api.get_exchange_info(stream_id=api_stream, symbols=market)
3331
ubwa.api.get_order_book(stream_id=api_stream, symbol=market, limit=2)
3432
ubwa.api.cancel_order(stream_id=api_stream, symbol=market, orig_client_order_id=orig_client_order_id)
35-
ubwa.api.get_open_orders(stream_id=api_stream, symbol=market)
36-
ubwa.api.get_open_orders(stream_id=api_stream)
37-
ubwa.api.cancel_open_orders(stream_id=api_stream, symbol=market)
3833
ubwa.api.get_order(stream_id=api_stream, symbol=market, orig_client_order_id=orig_client_order_id)
3934

4035
print(f"Finished! Waiting for responses:")

0 commit comments

Comments
 (0)