mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
- Introduced a new command mode for `ritmex-bot`, allowing agent-friendly structured trading operations without entering the Ink interactive menu. - Updated `package.json` to include versioning and set the project as public with a new CLI entry point. - Enhanced documentation in both English and Chinese to provide comprehensive usage instructions for the new command mode. - Added a new executable script for `ritmex-bot` to facilitate command execution. - Improved error handling and command parsing for better user experience and clarity in command execution.
47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
"name": "ritmex-bot",
|
|
"version": "0.1.0",
|
|
"module": "index.ts",
|
|
"type": "module",
|
|
"private": false,
|
|
"bin": {
|
|
"ritmex-bot": "./bin/ritmex-bot"
|
|
},
|
|
"scripts": {
|
|
"dev": "bun run index.ts",
|
|
"start": "bun run index.ts",
|
|
"test": "bun x vitest run",
|
|
"test:exchange-contract": "bun x vitest run tests/exchange-contract-suite.test.ts tests/exchange-factory.test.ts tests/config.test.ts",
|
|
"test:watch": "bun x vitest",
|
|
"start:trend:silent": "bun run index.ts --strategy trend --silent",
|
|
"start:maker:silent": "bun run index.ts --strategy maker --silent",
|
|
"start:offset:silent": "bun run index.ts --strategy offset-maker --silent",
|
|
"pm2:start:trend": "pm2 start bun --name ritmex-trend --cwd . --restart-delay 5000 -- run index.ts --strategy trend --silent",
|
|
"pm2:start:maker": "pm2 start bun --name ritmex-maker --cwd . --restart-delay 5000 -- run index.ts --strategy maker --silent",
|
|
"pm2:start:offset": "pm2 start bun --name ritmex-offset --cwd . --restart-delay 5000 -- run index.ts --strategy offset-maker --silent",
|
|
"pm2:start:maker-points": "pm2 start bun --name ritmex-maker-points --cwd . --restart-delay 5000 -- run index.ts --strategy maker-points --exchange standx --silent"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"dependencies": {
|
|
"@grvt/client": "^1.6.25",
|
|
"@nadohq/client": "^0.1.0-alpha.45",
|
|
"@noble/ed25519": "^3.0.0",
|
|
"axios": "^1.13.4",
|
|
"bignumber.js": "^9.3.1",
|
|
"ccxt": "^4.5.35",
|
|
"dotenv": "^17.2.3",
|
|
"ethereum-cryptography": "^2.2.1",
|
|
"ink": "^6.6.0",
|
|
"react": "^19.2.4",
|
|
"trading-signals": "^7.4.3",
|
|
"viem": "^2.45.1",
|
|
"ws": "^8.19.0"
|
|
}
|
|
}
|