Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ websockets==12.0
python-dotenv==1.0.0
rich==13.7.0
requests==2.31.0
httpx==0.27.0
httpx==0.27.0
pynacl==1.5.0
hyperliquid-python-sdk>=0.0.4
5 changes: 5 additions & 0 deletions run_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
if project_root not in sys.path:
sys.path.insert(0, project_root)

# 添加funding_arbitrage_bot目录到Python路径
bot_dir = os.path.join(project_root, 'funding_arbitrage_bot')
if bot_dir not in sys.path:
sys.path.insert(0, bot_dir)

# 打印当前的Python路径,用于调试
print(f"Python路径: {sys.path}")
print(f"当前工作目录: {os.getcwd()}")
Expand Down