mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
- Introduced a new swing trading strategy utilizing the RSI indicator on the ETHBTC pair from Binance. - Implemented the `SwingEngine` to manage trading logic, including entry and exit conditions based on RSI thresholds. - Added configuration options for swing direction, trade amount, and RSI parameters in `config.ts`. - Created new documentation for the swing strategy, detailing its behavior and configuration. - Enhanced CLI to support the new swing strategy option. - Added tests for swing logic to ensure correct behavior under various market conditions.
42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"name": "ritmex-bot",
|
|
"module": "index.ts",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "bun run index.ts",
|
|
"start": "bun run index.ts",
|
|
"test": "bun x vitest run",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@grvt/client": "^1.6.4",
|
|
"@nadohq/client": "^0.1.0-alpha.41",
|
|
"@noble/ed25519": "^3.0.0",
|
|
"axios": "^1.12.2",
|
|
"bignumber.js": "^9.3.1",
|
|
"ccxt": "^4.5.12",
|
|
"dotenv": "^17.2.2",
|
|
"ethereum-cryptography": "^2.1.3",
|
|
"ink": "^6.3.1",
|
|
"react": "^19.1.1",
|
|
"trading-signals": "^7.4.3",
|
|
"viem": "^2.43.1",
|
|
"ws": "^8.18.3"
|
|
}
|
|
}
|