Bitcoin Forum
April 30, 2024, 10:41:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 »
  Print  
Author Topic: SierraChart bridge - Realtime Bitcoin charts [v0.5] (MtGox, Intersango, ...)  (Read 142184 times)
c0inbuster
Member
**
Offline Offline

Activity: 105
Merit: 10



View Profile WWW
April 23, 2013, 04:49:44 PM
 #381

why not taking data directly from MtGox (instead of Bitcoin charts) ?

like goxtool
https://bitcointalk.org/index.php?topic=148462.0

Download free softwares! - crypto mining profit calculator - crypto triangular arbitrage tools - crypto stocks tools...
https://sites.google.com/site/working4coins/
1714516891
Hero Member
*
Offline Offline

Posts: 1714516891

View Profile Personal Message (Offline)

Ignore
1714516891
Reply with quote  #2

1714516891
Report to moderator
1714516891
Hero Member
*
Offline Offline

Posts: 1714516891

View Profile Personal Message (Offline)

Ignore
1714516891
Reply with quote  #2

1714516891
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714516891
Hero Member
*
Offline Offline

Posts: 1714516891

View Profile Personal Message (Offline)

Ignore
1714516891
Reply with quote  #2

1714516891
Report to moderator
lucif
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


Clown prophet


View Profile
April 23, 2013, 04:51:15 PM
 #382

why not taking data directly from MtGox (instead of Bitcoin charts) ?
they also have limited by trades number and requests feed.
xeverse
Full Member
***
Offline Offline

Activity: 124
Merit: 100



View Profile
April 23, 2013, 04:53:04 PM
 #383

I changed mtgox feed to native SC data source: https://www.sierrachart.com/SupportBoard.php?ThreadID=527
Not free..
myself
Legendary
*
Offline Offline

Activity: 938
Merit: 1000


chaos is fun...…damental :)


View Profile
April 23, 2013, 05:45:04 PM
 #384

if 10USD per month is a problem then you should rethink all the btc trading

Los desesperados publican que lo inventó el rey que rabió, porque todo son en el rabias y mas rabias, disgustos y mas disgustos, pezares y mas pezares; si el que compra algunas partidas vé que baxan, rabia de haver comprado; si suben, rabia de que no compró mas; si compra, suben, vende, gana y buelan aun á mas alto precio del que ha vendido; rabia de que vendió por menor precio: si no compra ni vende y ván subiendo, rabia de que haviendo tenido impulsos de comprar, no llegó á lograr los impulsos; si van baxando, rabia de que, haviendo tenido amagos de vender, no se resolvió á gozar los amagos; si le dan algun consejo y acierta, rabia de que no se lo dieron antes; si yerra, rabia de que se lo dieron; con que todo son inquietudes, todo arrepentimientos, tododelirios, luchando siempre lo insufrible con lo feliz, lo indomito con lo tranquilo y lo rabioso con lo deleytable.
xeverse
Full Member
***
Offline Offline

Activity: 124
Merit: 100



View Profile
April 23, 2013, 07:04:01 PM
Last edit: April 23, 2013, 07:25:27 PM by Xenius
 #385

if 10USD per month is a problem then you should rethink all the btc trading
Then we should probably introduce volume based fees for bitcoin txs..

Btw bitcoin exchanges want to be transparent with public statements for each account..
So everybody can really check how much hard cash traders "earn" in the market..
Not fair only exchange owners have access to such precious stats..

This is a project of cryptoanarchy which is gonna change everything
not just another stuff to earn a quick buck out of it..
lucif
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


Clown prophet


View Profile
April 23, 2013, 07:04:50 PM
 #386

Sierra accepts bitpay btw
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
April 23, 2013, 07:43:32 PM
 #387

Details of why it's broken/bounty thread: https://bitcointalk.org/index.php?topic=184922.msg1923036#msg1923036
abednego
Newbie
*
Offline Offline

Activity: 58
Merit: 0



View Profile WWW
April 24, 2013, 04:31:44 AM
 #388

I have read back through posts and see that many are having problems downloading historical data.

I had a gap in my data file during the last weeks' problems and so deleted my mtgoxUSD.scid.  Unfortunately, it will not pull all the historical data to create a new, complete scid file.  All I get now is the last 2 days of data. 

Could someone direct me to the instructions for fixing this by downloading all data or said time blocks of data?

Thanks!
Lgetty17
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
April 24, 2013, 04:56:31 AM
 #389

Why not just use bitcoincharts? Is this any more accurate? You can get 1min resolution on bitcoincharts
xeverse
Full Member
***
Offline Offline

Activity: 124
Merit: 100



View Profile
April 24, 2013, 05:36:29 AM
 #390

Is this any more accurate? You can get 1min resolution on bitcoincharts
1min is not enough. We need tick data..

dkasak, kind soul, has made changes to the source code.. need testing..
https://github.com/slush0/sierrachartfeed/pull/10
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
April 24, 2013, 10:31:44 AM
Last edit: October 24, 2013, 05:18:40 AM by deepceleron
 #391

I'm just going to leave this here:

(old windows 32 bit standalone exe removed)

or

http://we.lovebitco.in/schart/sierrachartfeed.py (python 2.7 source, replace old file)

Yes, it's fixed in a big way.


NOTE: rename or delete your old C:\SierraChart\data\*.scid files if you've been using the broken sierrachartfeed version, or want older history than you previously retrieved.


Code:
Usage: sierrachartfeed.py [options]

Options:
  -h, --help            show this help message and exit
  -d DATADIR, --datadir=DATADIR
                        Data directory of SierraChart software
  -y, --disable-history
                        Disable downloads from bitcoincharts.com
  -p PRECISION, --volume-precision=PRECISION
                        Change decimal precision for market volume.
  -s SYMBOLS, --symbols=SYMBOLS
                        Charts to watch, comma separated. Use * for streaming
                        all markets.
  -l HISTORY, --history=HISTORY
                        Number of days of history to retrieve (default=7).

I set the default "symbol" to only be mtgoxUSD. The symbols are the file names for the exchange you can see here: http://api.bitcoincharts.com/v1/csv/ - for multiple exchanges, use the command-line option like:
sierrachartfeed -smtgoxUSD,bitfloorUSD,btceUSD

This is my own code, you can examine how I solved the problem of reading from old to new without an external database to sort and with 0 chance of missing or duplicate trades being downloaded (although it does inevitably waste some bandwidth).

Update 1: smarter download size adaptation, "days of history" option, actual source comments.
Update 2: fixed duplicate trade bug I created in update 1.
Update 3: include volume git pull (tick accurate data now), undo precision change (back to real volume = 0.01 in Chart->Chart Settings->Volume Multiplier), show both current time & trade time on console.
Update 013: tolerate the random HTTP 502 Gateway errors, adaptive data request rate to mitigate, default 7 days of history
Update 017: refine rate adaptation, enforce max history when catching up scid, give a user-agent
xeverse
Full Member
***
Offline Offline

Activity: 124
Merit: 100



View Profile
April 24, 2013, 06:06:04 PM
Last edit: April 24, 2013, 06:34:10 PM by Xenius
 #392

I changed mtgox feed to native SC data source: https://www.sierrachart.com/SupportBoard.php?ThreadID=527
Hell, today it's good.. A bit faster than the bridge..
Very much like bitcoinity.. But slightly different somehow..

I'm sure quality service and good support worth it.. But we need more testing and feedback first..
I bet they are gonna be the first broker providing the btc datafeed and perhaps even trading.
Should be an option anyway, a good option.. 'Cause what really matters is the choice..

Why there's a difference in feeds? Different apis? Websockets vs socketio?

Great. That way i'll learn python pretty soon..

Are you going to up it into the github repo?
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
April 24, 2013, 07:08:24 PM
Last edit: October 24, 2013, 05:19:44 AM by deepceleron
 #393

sierrachartfeed.exe
Great. That way i'll learn python pretty soon..

Are you going to up it into the github repo?
I think I've got everything done worth doing, and it shouldn't break or have any more buffer overflow vulnerabilities than it did before. If bitcoincharts is down or 500, it errors out. If the data API changes to something else or is blank, just the current ticker works. If there are periods of data without trades in history (like from ddos) the logic doesn't care.

I'll just refactor to minimize diff lines before I put a pull request in (and create an account, install git, etc). Someone else could check it in; slush could look if I broke his functions, etc; it's public domain.


I changed mtgox feed to native SC data source: https://www.sierrachart.com/SupportBoard.php?ThreadID=527
Why there's a difference in feeds? Different apis? Websockets vs socketio?
SierraChart recently added their own mtgox data feed (and a $10/month bitcoin-only subscription).
Before that, and again now, the trial/free version of SierraChart can use data downloaded from bitcoincharts/mtgox when processed by the feed/bridge.
xeverse
Full Member
***
Offline Offline

Activity: 124
Merit: 100



View Profile
April 24, 2013, 08:28:04 PM
 #394

SierraChart recently added their own mtgox data feed (and a $10/month bitcoin-only subscription).
Before that, and again now, the trial/free version of SierraChart can use data downloaded from bitcoincharts/mtgox when processed by the feed/bridge.
The bitcoin only subscr is a very promising move forward..

Yes, but our bridge stream seems a bit more delayed..
Afaik there are two different apis/data sources. Maybe that's why..
Lgetty17
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
April 24, 2013, 08:31:10 PM
 #395

Will someone sum up what exactly this does or can be used for in laymans terms?
xeverse
Full Member
***
Offline Offline

Activity: 124
Merit: 100



View Profile
April 24, 2013, 08:37:47 PM
 #396

Will someone sum up what exactly this does or can be used for in laymans terms?
It's bridging, feeds almost realtime data into one of the most powerful charting platform..
myself
Legendary
*
Offline Offline

Activity: 938
Merit: 1000


chaos is fun...…damental :)


View Profile
April 24, 2013, 08:40:42 PM
 #397

on SC data feed since the data is properly formatted and you can use tick charts for example the only problem is they dont have data since day 1



here a sample BTCUSD.7z

Los desesperados publican que lo inventó el rey que rabió, porque todo son en el rabias y mas rabias, disgustos y mas disgustos, pezares y mas pezares; si el que compra algunas partidas vé que baxan, rabia de haver comprado; si suben, rabia de que no compró mas; si compra, suben, vende, gana y buelan aun á mas alto precio del que ha vendido; rabia de que vendió por menor precio: si no compra ni vende y ván subiendo, rabia de que haviendo tenido impulsos de comprar, no llegó á lograr los impulsos; si van baxando, rabia de que, haviendo tenido amagos de vender, no se resolvió á gozar los amagos; si le dan algun consejo y acierta, rabia de que no se lo dieron antes; si yerra, rabia de que se lo dieron; con que todo son inquietudes, todo arrepentimientos, tododelirios, luchando siempre lo insufrible con lo feliz, lo indomito con lo tranquilo y lo rabioso con lo deleytable.
movellan
Full Member
***
Offline Offline

Activity: 347
Merit: 100


View Profile
April 25, 2013, 06:08:37 AM
 #398

Will someone sum up what exactly this does or can be used for in laymans terms?

For those of us lacking programming expertise, is there a compiled version incorporating the recent changes discussed here? TIA.
arklan
Legendary
*
Offline Offline

Activity: 1778
Merit: 1008



View Profile
April 25, 2013, 06:16:24 AM
 #399

trying out the new feed from deepceleron. looks to be good. it's currently grabbing the history for me. to make sure i'm doing this right:

for the windows exe, the multiple exchanges option should look like this, right? "sierrachartfeed.exe -s mtgoxUSD,bitstampUSD,btceUSD"

i don't post much, but this space for rent.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
April 25, 2013, 08:02:40 AM
 #400

trying out the new feed from deepceleron. looks to be good. it's currently grabbing the history for me. to make sure i'm doing this right:

for the windows exe, the multiple exchanges option should look like this, right? "sierrachartfeed.exe -s mtgoxUSD,bitstampUSD,btceUSD"


There should be no space between the -s and the option.

You can also use sierrachartfeed.exe -s* if you want to download EVERY ticker, which is about 40 of them.

For those of us lacking programming expertise, is there a compiled version incorporating the recent changes discussed here? TIA.
Yes. 10 posts back.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 »
  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!