mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
- 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.
13 lines
356 B
Markdown
13 lines
356 B
Markdown
# RitMEX Bot - Claude Instructions
|
|
|
|
## Package Manager
|
|
|
|
**必须使用 Bun** - 这个项目使用 Bun 作为包管理器和运行时。所有能用 bun 执行的命令都必须使用 bun:
|
|
|
|
- 安装依赖: `bun install`
|
|
- 运行脚本: `bun run <script>`
|
|
- 执行测试: `bun test`
|
|
- 类型检查: `bun run typecheck`
|
|
|
|
**不要使用 npm、yarn 或 npx**
|