ai-trading-sys/app/services/bybit_service.py
2025-05-22 18:21:03 +07:00

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
)