share-plans-tool-cli
v0.0.5
Published
CLI tool to manage stock plans
Downloads
742
Readme
share-plans-tool-cli 🚀
A lightweight command-line interface to monitor real-time stock prices and manage your investment plans. Supports US, Hong Kong, and Mainland China (A-share) markets.
Installation
Install the tool globally via npm:
npm install -g share-plans-tool-cliCommands
1. Query Real-time Price
Fetch the current market price for any supported symbol.
sharePlanTool query AAPL
sharePlanTool query 0700.HK
sharePlanTool query 600519.SS2. Create a Buy Plan
Start an interactive prompt to set up a target price strategy.
sharePlanTool buy TSLA3. List Ongoing Plans
View your current active buy strategies in a formatted table.
sharePlanTool list-plansData Storage
All your plans are stored locally in a JSON file located at ~/.share-plans-cli.json in your home directory.
Local Development
If you are developing the tool locally:
- Clone the repository.
- Navigate to this directory:
cd share-plan-cli. - Link the package:
npm install npm link
License
ISC
