hyperliquid 网格交易程序
IPFS
注意:如果你想在现货(PURR/USDC)上运行此程序,你必须在USDC (Spot) 以及USDC (Perps)上都留一些钱
准备工作
合适的python环境
pip install hyperliquid-python-sdk
安装hyperliquid
的开发环境打开
examples/config.json
, 使用你自己的secret_key
,注意别搞错了,在测试中很多人都在这上面搞错打开
examples/grid_trading.py
修改这里:trading = grid(.....)
,把参数改为自己想要的最后在终端里运行
python examples/grid_trading.py
想看日志的话默认是在
grid.log
这个文件里
以运行默认参数为例






如果遇到了问题,先看log文件!
Like my work? Don't forget to support and clap, let me know that you are with me on the road of creation. Keep this enthusiasm together!