8 lines
251 B
Python
8 lines
251 B
Python
from pybit.unified_trading import HTTP
|
|
|
|
def get_bybit_client(api_key: str, api_secret: str):
|
|
return HTTP(
|
|
testnet=False, # Đổi thành False nếu dùng môi trường thật
|
|
api_key=api_key,
|
|
api_secret=api_secret
|
|
)
|