Files
discountry 168d8cbb08 Add Claude instructions and enhance stop-loss logic
- Introduced a new `CLAUDE.md` file with instructions for using Bun as the package manager.
- Adjusted stop-loss cooldown and check intervals in `MakerPointsEngine` for improved responsiveness.
- Implemented a new method to compute real-time PnL using live depth data, enhancing stop-loss decision-making.
- Added retry logic for stop-loss execution to ensure positions are closed effectively, with detailed logging for failures.
2026-01-20 00:51:15 +08:00

356 B

RitMEX Bot - Claude Instructions

Package Manager

必须使用 Bun - 这个项目使用 Bun 作为包管理器和运行时。所有能用 bun 执行的命令都必须使用 bun:

  • 安装依赖: bun install
  • 运行脚本: bun run <script>
  • 执行测试: bun test
  • 类型检查: bun run typecheck

不要使用 npm、yarn 或 npx