Install deps npm install
Example: node main.js BTCUSDT 20 5m ./test.json
API: node main.js <symbol> <days> <interval> <path>
Available intervals - 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M
For available symbols look into binance exchange