Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 602 Bytes

README.md

File metadata and controls

54 lines (34 loc) · 602 Bytes

alphavantage

A small library and CLI for Alpha Vantage Stock and Forex API.

Installation

Npm

npm install -g @ragnarpa/alphavantage

Yarn

yarn global add @ragnarpa/alphavantage

Usage

CLI

Claim your free API key at https://www.alphavantage.co/support/#api-key.

Store your key in ~/.env file.

Example contents of ~/.env file

ALPHAVANTAGE_KEY=demo
cd ~
av --help

Stock

av stock quote tsla

Forex

av forex rate usd eur

Features

  • throttling for Free plan
  • locking for API key sharing between multiple processes