Skip to content

Command line tool to download pricing data from yahoo finance with a time period and symbol

Notifications You must be signed in to change notification settings

pears-one/yahoo-finance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Yahoo Finance Command Line Tool

Command line tool to download pricing data from yahoo finance with a time period and symbol.

Usage

./yahoo <from_date> <to_date> <symbol>

Example

./yahoo 2020-01-01 2020-06-01 "^DJI" This command will download daily data for the Dow Jones Index from Jan 1st 2020 to Jun 1st 2020

Errors

There are a number of reasons this tool can fail

  • from_date is after to_date
  • either from_date or to_date is after today's date
  • the dates are incorrectly formatted: i.e., not %Y-%m-%d
  • yahoo responded with an error code

About

Command line tool to download pricing data from yahoo finance with a time period and symbol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages