Pages:
Author

Topic: SierraChart bridge - Realtime Bitcoin charts [v0.5] (MtGox, Intersango, ...) - page 9. (Read 142249 times)

hero member
Activity: 686
Merit: 500
Bitbuy
I guess I found the answer to my own question by looking at the source code :

BITCOINCHARTS_TRADES_URL = 'http://bitcoincharts.com/t/trades.csv'

The above URL doesn't exist.

Startup with no history has gotten extremely unreliable, so I took a whack at adding a while loop to chunk up the download 1 week at a time instead of grabbing the whole dataset. Unfortunately I don't have time to test it right now, but if anyone wants to try it out, please let me know if it helps.

https://github.com/scryb3/sierrachartfeed

Thanks,

Scrybe

Anyone that wants to help me out in fixing the Syntax errors in Scrybe's patch? I've never programmed in Python before, so I have absolutely no idea what I'm doing right now =P
hero member
Activity: 504
Merit: 500
Scattering my bits around the net since 1980
how to change candle charts to line charts ?
Chart pulldown -> Chart settings

lower left side, Graph Type

-- Smoov
hero member
Activity: 536
Merit: 500
how to change candle charts to line charts ?
legendary
Activity: 1386
Merit: 1097
Sorry for late reply - it clearly looks as an issue on bitcoincharts.com. Unfortunately I have absolutely no time to write support for fallback/alternate source for historical download (is there any?), but patches will be wildly appreciated!
legendary
Activity: 1778
Merit: 1008
ya know, i didn't even notice the potential time difference when i imported that uploaded data. though, with the downtime gox has had this last week, is it really any wonder?
newbie
Activity: 13
Merit: 0
Okay, looks like my original expectation with SC export was not correct. AFAIK when you export intra-day data its supposed to be GMT/UTC, irrespective of your data source (exchnage) or local time zones. (Source: http://www.sierrachart.com/index.php?l=doc/doc_ImportExport.html#Notes

However when I check the exported txt file, I can see that the time stamps are in PST. I exported the file at 12:53 PST the last bar in the file is time stamped 04/14/2013, 00:53:54, that's PST.

I have not tried this yes, but supposedly you can import in PST and fix the TIME to GMT/UTC or anything else, maybe it helps.
http://www.sierrachart.com/index.php?l=doc/doc_AdjustingData.html#TimeAdjustment
legendary
Activity: 938
Merit: 1000
chaos is fun...…damental :)
Okay the one thing I have seen is that if the tool tried to download from the very begining (i.e. start=0) then fails much more then say its trying to catchup for the last couple of days. So It may help to import recent data and then try to download the rest and re-sync.

I have uploaded two files in this folder. one SCID and one exported txt file up until the last few minutes  (Apr 14 2013 12:53 PST). Hope it helps.
https://www.dropbox.com/sh/cwy8hlg8yeyywtj/izpwnQBVrk
the time for the data is UTC format or is on your local pc time ?
If I remember right (it has been a long time since I set it up), they were in the exchange's local time (tho I think a couple converted to UTC)

You can adjust that in the individual graph's settings with an offset to your local time.

-- Smoov

the feed is saved on your PC time and you need to change the settings in SC to get all time on UTC
if you dont believe me start a VM put the feed and look at what time is saved
hero member
Activity: 504
Merit: 500
Scattering my bits around the net since 1980
Okay the one thing I have seen is that if the tool tried to download from the very begining (i.e. start=0) then fails much more then say its trying to catchup for the last couple of days. So It may help to import recent data and then try to download the rest and re-sync.

I have uploaded two files in this folder. one SCID and one exported txt file up until the last few minutes  (Apr 14 2013 12:53 PST). Hope it helps.
https://www.dropbox.com/sh/cwy8hlg8yeyywtj/izpwnQBVrk
the time for the data is UTC format or is on your local pc time ?
If I remember right (it has been a long time since I set it up), they were in the exchange's local time (tho I think a couple converted to UTC)

You can adjust that in the individual graph's settings with an offset to your local time.

-- Smoov
legendary
Activity: 938
Merit: 1000
chaos is fun...…damental :)
Okay the one thing I have seen is that if the tool tried to download from the very begining (i.e. start=0) then fails much more then say its trying to catchup for the last couple of days. So It may help to import recent data and then try to download the rest and re-sync.

I have uploaded two files in this folder. one SCID and one exported txt file up until the last few minutes  (Apr 14 2013 12:53 PST). Hope it helps.
https://www.dropbox.com/sh/cwy8hlg8yeyywtj/izpwnQBVrk
the time for the data is UTC format or is on your local pc time ?
legendary
Activity: 1778
Merit: 1008
heh. true enough. i'm not even a trader, but i fins watching it fascinating.
newbie
Activity: 13
Merit: 0
Ohh btw, I dont think I thanked slush for the great tool. Thanks man!!! I know I haven't made any money off this, but with SC' tech analysis and goxtool execution there may be a chance Smiley
newbie
Activity: 13
Merit: 0
great idea. appreciate. ...folder is showing empty though? apparently i was getting ahead of the upload... all sorted.

No problem, both the files should be there now.. I will try to updated them if there is demand for it.
legendary
Activity: 1778
Merit: 1008
Okay the one thing I have seen is that if the tool tried to download from the very begining (i.e. start=0) then fails much more then say its trying to catchup for the last couple of days. So It may help to import recent data and then try to download the rest and re-sync.

I have uploaded two files in this folder. once SCID and exported txt file up until the last few minutes  (Apr 14 2013 12:53 PST). Hope it helps.
https://www.dropbox.com/sh/cwy8hlg8yeyywtj/izpwnQBVrk

great idea. appreciate. ...folder is showing empty though? apparently i was getting ahead of the upload... all sorted.
newbie
Activity: 13
Merit: 0
Okay the one thing I have seen is that if the tool tried to download from the very begining (i.e. start=0) then fails much more then say its trying to catchup for the last couple of days. So It may help to import recent data and then try to download the rest and re-sync.

I have uploaded two files in this folder. one SCID and one exported txt file up until the last few minutes  (Apr 14 2013 12:53 PST). Hope it helps.
https://www.dropbox.com/sh/cwy8hlg8yeyywtj/izpwnQBVrk
legendary
Activity: 1778
Merit: 1008
any update on historical download ability? i had to reformat my pc and didn't save the old scid file so i'm chartless. Sad
legendary
Activity: 938
Merit: 1000
chaos is fun...…damental :)
Code:
Loading data file c:/SierraChart/data/mtgoxUSD.scid
Downloading historical data
Traceback (most recent call last):
  File "sierrachartfeed.py", line 159, in
  File "sierrachartfeed.py", line 132, in __getitem__
  File "sierrachartfeed.py", line 61, in __init__
Exception: Historical download failed: HTTP Error 504: Gateway Time-out, use -y
to disable history
Press any key to continue . . .

i get shit over and over again for the last 2 days ..........................
legendary
Activity: 938
Merit: 1000
chaos is fun...…damental :)
well mtgoxeur is working
legendary
Activity: 1512
Merit: 1036
The problem is not the program, it's the source of the history of mtgox trades.
sr. member
Activity: 373
Merit: 250
there is a similar program? Huh
newbie
Activity: 33
Merit: 0
not working for me either. this shit drives me mad!
Pages:
Jump to: