playing around with trading data
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rvmrc
Gemfile
LICENSE
README.md
Rakefile
stockmonkey.gemspec

README.md

Stockmonkey

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'stockmonkey'

And then execute:

$ bundle

Or install it yourself as:

$ gem install stockmonkey

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Minute Bars Format

Each bar must be on its own line and fields must be separated by semicolon (;). Only 1 minute bars can be imported.

The format is:

yyyyMMdd HHmmss;open price;high price;low price;close price;volume

Sample data:

20061023 004400;1377.25;1377.25;1377.25;1377.25;86

20061023 004500;1377.25;1377.25;1377.25;1377.25;27

20061023 004600;1377.25;1377.25;1377.25;1377.25;24

20061023 004700;1377.50;1377.50;1377.25;1377.25;82