Bitcoin Forum
November 19, 2024, 11:47:07 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   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 142249 times)
slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
April 18, 2011, 01:51:38 AM
Last edit: December 09, 2012, 12:06:29 PM by slush
 #1

SierraChart is desktop application providing a professional Trading, Real-time and Historical Charting, and Technical Analysis platform for the financial markets. It's not so intuitive as other platforms, but once you learn how it works (and remember few shortcuts), it is very strong tool for professional technical analysis. Because of lacking real trading tools for Bitcoin economy, I decided to write simple Bitcoin markets->Sierrachart bridge, which enable real time Bitcoin charting in Sierrachart.

How to start
  • 1. Download and install SierraChart software (use default settings and data directory)
  • 2. Download SierraChart feed for bitcoin markets.
  • 3. Start feed in a console. No parameters required list of all parameters: sierrachartfeed.exe --help
  • 4. Start SierraChart software
  • 5. Go to File->New/Open Intraday Chart and select (for example) mtgoxUSD.scid
  • 6. Customize your view using F5 (chart settings) and F6 (analysis/studies) menus
  • 7. Enjoy real time charting!

After those steps, you should see something similar like following image:


Used settings/indicators in this screenshot: 60min candles, Volume, Current price line, Moving Average-Exponential, vertical line every week. There are hundreds of other indicators and studies. I'm sure you will find something which fit your needs...

Linux support
Sierrachart recently released version without .NET requirements, which runs nicely on Linux under Wine. You can download this version on http://www.sierrachart.com/index.php?l=doc/download.php (choose "No-.NET/CLR" version). This version is still under development so it is missing some fancy studies and features, but it works well for basic charting.


sierrachartfeed.exe is using bitcoinchart.com's CSV feed for historical downloads and socket API for real time updates of all charts published on bitcoincharts.com. Thanks tcatm for providing this API on his amazing website!

Source (github repository) for sierrachartfeed is available here.
Source code (ZIP archive) for latest release is here.

Changelog
09.12.2012 - Fixed issue with endianess, runs natively on Linux now.
27.04.2012 - Automatic storing of all Bitcoin markets, added --volume-precision option.
23.11.2011 - Dropped support for mtgox websocket, using bitcoinchart socket connection instead.
07.09.2011 - Added multicurrency support for Mtgox. Please update to avoid weird price peaks.

N12
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1010



View Profile
April 18, 2011, 02:18:02 AM
 #2

Awesome.
ColdHardMetal
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 18, 2011, 02:32:10 AM
 #3

That is awesome.

Now hook it up to the MTGox API so we can trade off of chart clicks and then we'll be getting somewhere.

rezin777
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
April 18, 2011, 02:36:34 AM
 #4

Amazing. The wonders never cease.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
April 18, 2011, 03:34:58 AM
 #5

Source for sierrachartfeed.exe is available here.

Is this in a git repo anywhere?   Would like to see it added (registered) on:
  Bitcoin Git Repositories: http://luke.dashjr.org/programs/bitcoin

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


tcatm
Sr. Member
****
Offline Offline

Activity: 337
Merit: 285


View Profile
April 18, 2011, 05:05:16 AM
 #6

@slush: can you add support for other symbols?
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
April 18, 2011, 06:44:22 AM
 #7

It does not work in Linux (Wine+Mono). Sad

Code:
Method '<Module>:_WinMainCRTStartup ()' in assembly 'C:\SierraChart\SierraChart.exe' contains native code that cannot be executed by Mono in modules loaded from byte arrays. The assembly was probably created using C++/CLI.

Method '<Module>:<CrtImplementationDetails>.DoDllLanguageSupportValidation ()' in assembly 'C:\SierraChart\SierraChart.exe' contains native code that cannot be executed by Mono in modules loaded from byte arrays. The assembly was probably created using C++/CLI.

Method '<Module>:<CrtImplementationDetails>.ThrowModuleLoadException (string,System.Exception)' in assembly 'C:\SierraChart\SierraChart.exe' contains native code that cannot be executed by Mono in modules loaded from byte arrays. The assembly was probably created using C++/CLI.

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
deadlizard
Member
**
Offline Offline

Activity: 112
Merit: 11



View Profile
April 18, 2011, 07:27:02 AM
 #8

Nice. can you still use it after the Trial Package expires?

btc address:1MEyKbVbmMVzVxLdLmt4Zf1SZHFgj56aqg
gpg fingerprint:DD1AB28F8043D0837C86A4CA7D6367953C6FE9DC

Frodo
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
April 18, 2011, 09:49:13 AM
 #9

  • 2. Download SierraChart feed for MtGox market.
Can't download "502 Bad Gateway"
Enky1974
Sr. Member
****
Offline Offline

Activity: 254
Merit: 250



View Profile
April 18, 2011, 02:54:08 PM
 #10

  • 2. Download SierraChart feed for MtGox market.
Can't download "502 Bad Gateway"
me2, doesnt work,slush fix it plz!!

__________________________________
My Blog at http://btctrading.wordpress.com/ | « O Fortuna,velut Luna statu variabilis, semper crescis aut decrescis »
slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
April 18, 2011, 04:16:50 PM
 #11

Site is running again, sorry for troubles.

Actually I found a bug in the sierrachart feed; updates are more and more delayed. I'm thinking about bug in used websocket library (I already had to fix that crappy code), because my code is pretty trivial and MagicalTux claimed his side is definitely working well. I'll try to investigate it soon...

slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
April 18, 2011, 04:22:34 PM
 #12

Nice. can you still use it after the Trial Package expires?

Yes, AFAIK feed will be working after trial expired, too. I'm running paid version right now, but I remember that my licence once expired and charting still worked well.

slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
April 18, 2011, 04:24:11 PM
 #13

sgornick, tcatm: I'll create some repo and add maybe add support for realtime feeds from bitcoincharts in next release.

slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
April 19, 2011, 08:27:29 AM
 #14

It does not work in Linux (Wine+Mono). Sad

Try older releases - main charting functionality is the same. In later releases they added mainly DOM and trading functionality (which is disabled anyway on mtgox).

Last version I tested on Linux is 559 (details: http://appdb.winehq.org/objectManager.php?sClass=version&iId=18961), maybe some newer version will work, too.

List of sierrachart releases: http://www.sierrachart.com/index.php?l=SCInstallerList.php

zhalox
Full Member
***
Offline Offline

Activity: 176
Merit: 106


XMR = BTC in 2010. Rise chikun.


View Profile
April 20, 2011, 02:14:02 AM
 #15

Sierra Chart forces me to make an account before even entering that program's main interface. Embarrassed   Are there any versions of Sierra Chart that I can use to chart the mtgox Bitcoin market that do not require a username and password?

Enky1974
Sr. Member
****
Offline Offline

Activity: 254
Merit: 250



View Profile
May 16, 2011, 09:33:59 AM
 #16

Sierra Chart forces me to make an account before even entering that program's main interface. Embarrassed   Are there any versions of Sierra Chart that I can use to chart the mtgox Bitcoin market that do not require a username and password?
it is a commercial software, once the trial period is over you can still use some basic function and charting too with slush plugin.

__________________________________
My Blog at http://btctrading.wordpress.com/ | « O Fortuna,velut Luna statu variabilis, semper crescis aut decrescis »
slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
May 17, 2011, 02:16:31 AM
 #17

Version 0.2 is out. It uses another, more stable websocket library. Feed should be more stable and much faster now.

Btw - do you know any good service like github, but for mercurial? I like social layer of github, but prefer hg...

slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
May 17, 2011, 02:18:12 AM
 #18

it is a commercial software, once the trial period is over you can still use some basic function and charting too with slush plugin.

Thanks for making this clear. Yes, this mtgox plugin and realtime charting work even with expired trial of SierraChart.

slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
May 17, 2011, 02:34:20 AM
 #19

I have no idea how many people is using this stuff - please let me know!

cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
May 17, 2011, 02:41:04 AM
 #20

SierraChart is desktop application providing a professional Trading, Real-time and Historical Charting, and Technical Analysis platform for the financial markets. It's not so intuitive as other platforms, but once you learn how it works (and remember few shortcuts), it is very strong tool for professional technical analysis. Because of lacking real trading tools for Bitcoin economy, I decided to write simple Mtgox->Sierrachart bridge, which enable real time Mtgox charting in Sierrachart.

How to start
  • 1. Download and install SierraChart software (use default settings and data directory)
  • 2. Download SierraChart feed for MtGox market.
  • 3. Start feed in a console (no parameters required, list of all parameters: sierrachartfeed.exe --help)
  • 4. Start SierraChart software
  • 5. Go to File->New/Open Intraday Chart and select mtgoxUSD.scid
  • 6. Customize your view using F5 (chart settings) and F6 (analysis/studies) menus
  • 7. Enjoy real time mtgox charting!

After those steps, you should see something similar like following image:


Used settings/indicators in this screenshot: 60min candles, Volume, Current price line, Moving Average-Exponential, vertical line every week. There are hundreds of other indicators and studies. I'm sure you will find something which fit your needs...

Linux support
Older Sierrachart releases works also in Linux under Wine. Main charting functionality in older versions is the same, they improved mainly DOM and trading functionality, which is disabled anyway on mtgox. Last version I tested on Linux was 559 (details: http://appdb.winehq.org/objectManager.php?sClass=version&iId=18961), but maybe some newer version will work, too. Downloads of older Sierrachart releases: http://www.sierrachart.com/index.php?l=SCInstallerList.php


sierrachartfeed.exe is using mtgox's websocket API for real time updates and bitcoincharts.com for downloading historical mtgox prices. Thanks tcatm for providing this API. Bitcoincharts.com currently provide 3 day history for everybody, longer history will be probably available for some small fee.

Source for sierrachartfeed.exe is available here.

this is good but does it do realtime during off hours (NYSE closing) or in middle of night?
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!