sp500scraper

command module
v0.0.0-...-24d3bbc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2015 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

#S&P 500 Symbol Scraper

This is an example program, written in Go, that queries 1 day resolution candlestick data for symbols belonging to the S&P 500 from the Questrade API, and saves the result into an SQLite database. This program uses my wrapper over the Questrade API, qapi.

##Getting Started To start, you will need to be able to access the Questrade API

To run the example, you will need to store your refresh token in the environment variable REFRESH_TOKEN

export REFRESH_TOKEN=<your token here>

##Dependencies

go get github.com/alexurquhart/qapi
go get github.com/mattn/go-sqlite3

##Notes The symbols stored in sp500.json were scraped from Wikipedia on March 31st 2015 - this program does not take into account when symbols were added or removed from the index, or any splits/merges. It scrapes all symbols in the list back to a maximum of 5 years.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL