pinets-cli is a CLI wrapper for PineTS (v0.1.14), an open-source transpiler that runs Pine Script indicators outside of TradingView. It allows executing .pine files directly from the command line with live market data (Binance) or custom JSON datasets. The release cadence is irregular as it is early-stage. Key differentiators: no code setup, JSON output, stdin support, and multiple timeframe options. It is ideal for quick backtesting and indicator prototyping without an IDE.
npm install pinets-cliNo compatibility data collected yet for this library.
Install pinets-cli globally, create a sample Pine Script file with SMA cross, and run it on BTCUSDT hourly data to get JSON output.
Use correct symbol format like BTCUSDT, ETHUSDT, etc.
Ensure JSON file has array of objects with keys: open, high, low, close, volume as numbers.
Use 'pinets run' instead of 'pinets' directly.
Use file argument or PowerShell's Get-Content pipe.
Use --format default for cleaner output.
Use correct symbol like 'BTCUSDT', 'ETHUSDT', or 'BNBUSDT'.
Use one of the supported values: '1', '5', '15', '60', '240', '1D', '1W', '1M'.
Ensure the file path is correct and file exists.
No dependency data recorded yet.