Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

Adds historical price api #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

logicminds
Copy link

  • previously there was not a way to get the historical price of
    a coin at a point in time. This allows you to get the current price
    and also get the price at any historical time given a unix timestamp.

  * previously there was not a way to get the historical price of
    a coin at a point in time.  This allows you to get the current price
    and also get the price at any historical time.
@logicminds
Copy link
Author

Some of the tests are not passing because of some bad type conversions. I am new to go and don't really know what needs to be done. This code was just copied from price.go and I modified all the names to include Hist. This seems like WET code because go doesn't do inheritance.

Was hoping you could let me know what I need to change here here to make the tests pass. The example seems to work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant