Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Btcl – Follow Bitcoin prices from your terminal (github.com/jawerty)
33 points by jawerty on Dec 9, 2013 | hide | past | favorite | 12 comments



Here's a CLI as well which is specific for coinbase. In addition to viewing rates it will also let you buy/sell/transfer and more. https://github.com/rdegges/btc/


Shameless plug: I have also implemented something similar in Ruby using the Curses module:

https://github.com/penberg/btct


Maybe it's not my place to say but the tabbing made the code hard for me to read. I'm learning Ruby and have always been told to use 2 spaces. Are tabs ok too?


This is a very old debate:

* https://www.google.com/search?q=tabs+vs+spaces

Different languages have different conventions, but it ultimately comes down to developer preference.


Sorry about that. The way I setup Sublime Text, the tabs don't appear to be very large but when I push to github, its way too big. I made some changes that should make it better to read.


Its been a long time since I wrote Ruby code, but if I recall correctly I believe the community is overwhelmingly in favour of 2 spaces as opposed to tabs.


Looks great. One feature that would be appealing to me is real-time price updates when the change and in indication of whether the price increased or decreased.


Thanks. I agree, that would be a great feature, I will try to implement that.


I just input the exchange prices I want into xsetroot (in a script), which makes them appear next to the time on my status bar (in dwm).


Any chance that you can add all exchanges with significant volume? (hint: China has more than one exchange)


needs currency conversion option.. so I can display all the markets in one currency, and perhaps an formatted output option (like json)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: