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

Add BitcoinIndonesia #12

Merged
merged 1 commit into from
Jul 12, 2017
Merged

Add BitcoinIndonesia #12

merged 1 commit into from
Jul 12, 2017

Conversation

tmlee
Copy link
Member

@tmlee tmlee commented Jul 11, 2017

No description provided.

ticker.last = output['last']
ticker.high = output['high']
ticker.low = output['low']
ticker.volume = output["vol_#{ticker.base.downcase}"].to_f
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tmlee I mentioned this in the bitstamp PR, I wonder if we should use float or BigDecimal

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually maybe BigDecimal would be safer and sensible

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tmlee yes let's use BigDecimal for all exclusively

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted lets create a separate pull request for that

@@ -0,0 +1,19 @@
:pairs:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tmlee not that it matters, but do we need the extra colon in front? less keystrokes bro....

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to access the keys using :, any better ideas? Write custom methods? The helper methods are only available in Rails package i think

@tmlee tmlee merged commit b3f47f9 into master Jul 12, 2017
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.

None yet

2 participants