Bitcoin Forum
April 27, 2024, 07:22:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Simple and fast BTC price charts  (Read 4004 times)
cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
November 24, 2013, 03:05:47 AM
Last edit: January 03, 2014, 05:11:47 PM by cosurgi
 #1

Hi,

I needed some charts that are actually useful, fast in the browser, and don't display unnecessary things on the website. This is official thread for these charts. I have some plans for adding more currencies and other stuff, I will edit this first post to list all current features on this simple website.

LTC & BTC price charts by cosurgi
  • Currently supported currencies:
    • btc-e:LTC/BTC, LTC/USD, LTC/RUR, LTC/EUR, BTC/USD, BTC/EUR, BTC/RUR,
    • vircurex:LTC/BTC, LTC/USD,
    • bitcurex:BTC/PLN, BTC/EUR,
    • btcchina:BTC/CNY,
    • fxbtc:BTC/CNY, LTC/CNY, LTC/BTC,
    • mtgox:BTC/USD, BTC/EUR, BTC/PLN, BTC/JPY,
    • bitstamp:BTC/USD,
    • cavirtex:BTC/CAD,
    • kraken:LTC/BTC, BTC/USD, BTC/EUR, LTC/USD, LTC/EUR,
    • okcoin:BTC/CNY, LTC/CNY,
    • bitfinex:BTC/USD, LTC/USD, LTC/BTC
  • Technical analysis:
    • Exponential moving average: EMA(10), EMA(25)

Few of those exchanges unfortunately are missing history, so we will need for the data to fill up.

I want to thanks weex for sharing his python script for downloading API data.

please give your feedback below

1714202539
Hero Member
*
Offline Offline

Posts: 1714202539

View Profile Personal Message (Offline)

Ignore
1714202539
Reply with quote  #2

1714202539
Report to moderator
1714202539
Hero Member
*
Offline Offline

Posts: 1714202539

View Profile Personal Message (Offline)

Ignore
1714202539
Reply with quote  #2

1714202539
Report to moderator
1714202539
Hero Member
*
Offline Offline

Posts: 1714202539

View Profile Personal Message (Offline)

Ignore
1714202539
Reply with quote  #2

1714202539
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714202539
Hero Member
*
Offline Offline

Posts: 1714202539

View Profile Personal Message (Offline)

Ignore
1714202539
Reply with quote  #2

1714202539
Report to moderator
utuxia
Member
**
Offline Offline

Activity: 69
Merit: 10


View Profile
November 24, 2013, 07:50:19 AM
 #2

This is great for a quick look at what is going on.

Where do you get the data for btcchina and fxbtc? I'm looking for last trade price for the currency pairs they offer.

I hadn't heard of Bitcurex. I'm adding to my site TradeList - http://tradeli.st Smiley
cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
November 24, 2013, 11:12:14 AM
 #3

This is great for a quick look at what is going on.

Where do you get the data for btcchina and fxbtc? I'm looking for last trade price for the currency pairs they offer.

I hadn't heard of Bitcurex. I'm adding to my site TradeList - http://tradeli.st Smiley
Code:
"https://data.btcchina.com/data/historydata?since="+str(last_recorded_btcchina_tid)

self.fetch(conn ,"data.fxbtc.com/api?op=query_last_trades&symbol=btc_cny&count=100") ["datas"]

chovy
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile WWW
November 24, 2013, 10:52:18 PM
 #4

This is great for a quick look at what is going on.

Where do you get the data for btcchina and fxbtc? I'm looking for last trade price for the currency pairs they offer.

I hadn't heard of Bitcurex. I'm adding to my site TradeList - http://tradeli.st Smiley
Code:
"https://data.btcchina.com/data/historydata?since="+str(last_recorded_btcchina_tid)

self.fetch(conn ,"data.fxbtc.com/api?op=query_last_trades&symbol=btc_cny&count=100") ["datas"]


Excellent. Thank you.
cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
November 25, 2013, 09:27:17 PM
 #5

I added printing of "closing price" on the chart, and the last bar is always taken from 10-minute interval. So even when you look at 24-hour bars, the last bar is always the latest price. Even if current 24-hour peroid isn't finished.

Currently this last bar has width of all other bars, while it should have width of 10 minutes, but for now I will leave it at this.

cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
November 27, 2013, 09:52:12 PM
 #6

can you give some feedback guys? I made some changes today, I need bugreports, and testing.

cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
January 03, 2014, 05:04:05 PM
 #7

OK guys, the website update was finished. I added a load of new exchanges:

mtgox    BTC/USD
mtgox    BTC/EUR
mtgox    BTC/PLN
mtgox    BTC/JPY
bitstamp BTC/USD
cavirtex BTC/CAD
kraken   LTC/BTC
kraken   BTC/USD
kraken   BTC/EUR
kraken   LTC/USD
kraken   LTC/EUR
okcoin   BTC/CNY
okcoin   LTC/CNY
bitfinex BTC/USD
bitfinex LTC/USD
bitfinex LTC/BTC

also I have moved everything a to a new domain: http://cosurgi.info

I wanted also to add bitcoin.de but they didn't respond to my email asking about access to API. So in fact they are in my database, but collecting zeros Smiley

Also I added option to toggle vertical and horizontal layout for viewing a pair exchanges, and an auto refresh option every 5 minutes. Sorry I can't do 1 minute refresh. I don't have relevant data to show every minute.

please give feeback Smiley

cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
January 30, 2014, 11:24:32 PM
 #8

Do you think that dividing okcoin volume by 3 is a good approach? See Attention in the footnote, on the frontpage: http://cosurgi.info

empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
January 31, 2014, 04:14:07 AM
 #9

Not sure of need for yet more coin charting websites. What niche are you filling with this one?
cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
January 31, 2014, 10:41:58 AM
 #10

Not sure of need for yet more coin charting websites. What niche are you filling with this one?
I made these charts, because i wanted to see side by side BTC and LTC prices. No other charting site can do that. Also other sites are too slow for me and they use too much javascript. I plan to add more technical analysis too, like MACD and hypothetical profit based on buy/sell signals.

balanghai
Sr. Member
****
Offline Offline

Activity: 364
Merit: 253


View Profile
January 31, 2014, 10:44:24 AM
 #11

Some good stuffs.  Smiley
niktitan132
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000



View Profile
January 31, 2014, 11:31:28 AM
 #12

Good job! I like it.  Grin
cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
January 31, 2014, 11:42:37 AM
 #13

Good job! I like it.  Grin
Thanks a lot! Grin

empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
January 31, 2014, 12:16:23 PM
 #14

Not sure of need for yet more coin charting websites. What niche are you filling with this one?
I made these charts, because i wanted to see side by side BTC and LTC prices. No other charting site can do that. Also other sites are too slow for me and they use too much javascript. I plan to add more technical analysis too, like MACD and hypothetical profit based on buy/sell signals.

Use too much .js? Its 2014 not 1998. But cool. Hope you find a market for the site.
cosurgi (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile
February 09, 2014, 12:29:03 AM
 #15

Use too much .js? Its 2014 not 1998. But cool. Hope you find a market for the site.
What market? It's non-profit.

Sure you can use a cannon to kill a fly, that's why everyone uses javascript. I prefer KISS.

empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
February 09, 2014, 02:08:47 AM
 #16

Use too much .js? Its 2014 not 1998. But cool. Hope you find a market for the site.
What market? It's non-profit.

Sure you can use a cannon to kill a fly, that's why everyone uses javascript. I prefer KISS.

Javascript is not a "cannon" lol. Its incredibly simple. With node.js you can have hundreds of concurrent users without the memory hogging / thread creating nonsense that PHP creates. By "market", I meant visitors.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!