massive-cli
v0.0.4
Published
Polygon/Massive Market Data CLI
Readme
Massive(Polygon) API CLI
A CLI tool for accessing Massive(Polygon) financial data (Stocks, Crypto, Forex, Options, Indices) using Bun.
Usage
Via NPX (Recommended)
Run commands directly without installing:
npx -y massive-cli <command> [options]Local Installation
Install Dependencies:
bun installConfigure API Key:
export POLY_API_KEY=your_api_key_hereor create a .env file in the root directory:
POLY_API_KEY=your_api_key_hereBuild:
bun run buildThis generates the bundled CLI in
dist/cli.js. Run commands using the built CLI:
bun dist/cli.js <command> [options]Examples
Stocks:
npx -y massive-cli stocks-aggs --ticker AAPL --from 2023-01-01 --to 2023-01-31Crypto:
npx -y massive-cli crypto-snapshot --ticker X:BTCUSDMarket Status:
npx -y massive-cli market-statusUse --help to see all available commands:
npx -y massive-cli --help