Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 769 Bytes

README.md

File metadata and controls

46 lines (40 loc) · 769 Bytes

stock-node-cli

A CLI tool used for getting stock price in Vietnam


Installation:

  1. Clone then move into repo directory.
    git clone https://github.com/g-viet/stock-node-cli.git
    cd stock-node-cli
  1. Install dependencies:
    npm install
  1. Build and release:
    npm run release
  1. Try it
    stocknode gets VCB TCM

API:

  • Getting multiple stock prices:
    # stocknode gets [List of StockCode]
    stocknode gets VCB TCM
  • Getting stream stock prices:
    # stocknode stream [List of StockCode]
    stocknode stream VCB TCB
  • Getting stock prices in industry group:
    # Get list of industry group:
    stocknode group

    # stocknode group <GroupCode>:
    stocknode group textile