Bitcoin Forum

Economy => Speculation => Topic started by: sohd on May 18, 2013, 02:26:33 PM



Title: Bitcoin Barometer
Post by: sohd on May 18, 2013, 02:26:33 PM
http://mogsta.com/btc/

This little tool displays the ratio of sold and bought coins over a given time.
Data comes from the MtGox BTCUSD Stream.

Feedback, any? :>


Title: Re: Bitcoin Barometer
Post by: fitty on May 18, 2013, 02:31:51 PM
The 4H, 1D, 1W, 30D are all the same?


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 02:35:41 PM
It's running since 1:30pm UTC+1, so no older data available, sorry.
Found no place where to get historical trading data :(


Title: Re: Bitcoin Barometer
Post by: fitty on May 18, 2013, 02:38:01 PM
It's running since 1:30pm UTC+1, so no older data available, sorry.
Found no place where to get historical trading data :(

From the MtGox API? Just use

http://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=

and go back as far as you want.

Looks cool though. I'd change "Buying" to "RALLY!" and "Selling" to "CRASH!?". A little more dramatic. =)

EDIT: This will start getting all trades on 00:00:00 April 14th 2013.

http://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=1365911993951305

Then just loop it until you catch up. =)

Edit2: Just use the last tid you get and call it again. I'd add a little delay so you don't piss off MtGox. I have the data but this should be fairly easy for you to figure out.


Title: Re: Bitcoin Barometer
Post by: Jaroslaw on May 18, 2013, 02:42:38 PM
good site :D


Title: Re: Bitcoin Barometer
Post by: ronaldlee0917 on May 18, 2013, 02:47:07 PM
nice tool, bookmarked


Title: Re: Bitcoin Barometer
Post by: hacknoid on May 18, 2013, 02:51:45 PM
Very cool! Could you add "ghostly" indicators to show the previous values for the same time window a short while ago  (maybe from a moving window) to help show how the trend is changing?

Hmm... Hope that's clear!  :P


Title: Re: Bitcoin Barometer
Post by: RyNinDaCleM on May 18, 2013, 03:05:52 PM
That is pretty cool!
I would change "Stable" for "Neutral" Because there is no stable, just periods of low volume


Title: Re: Bitcoin Barometer
Post by: fitty on May 18, 2013, 03:11:48 PM
That is pretty cool!
I would change "Stable" for "Neutral" Because there is no stable, just periods of low volume

Well stable is relative. You can have his version of stable in high volume. His stable really just means "sideways". I do agree with showing the price change for the timeframe selected.


Title: Re: Bitcoin Barometer
Post by: Singlebyte on May 18, 2013, 04:02:13 PM
Very nice....bookmarked as well.


Title: Re: Bitcoin Barometer
Post by: Rockford on May 18, 2013, 04:36:36 PM
Great!
I really like it!
...Bookmarked! 8)


Title: Re: Bitcoin Barometer
Post by: dexX7 on May 18, 2013, 04:52:05 PM
Haha, great! +1 :)


Title: Re: Bitcoin Barometer
Post by: cbeast on May 18, 2013, 05:06:12 PM
I found a use for an old smartphone. It will sit propped on my desk.


Title: Re: Bitcoin Barometer
Post by: hacknoid on May 18, 2013, 05:41:43 PM

One other suggestion - instead of using a droplist for the time frame, could you make them a series of links across the bottom?  It seems good to look at various time frames, but its a bit of a pain to select from the droplist each time.  But again - very nice!

Oh and - bookmarked!


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 05:58:57 PM
Thanks for the feedback =)

It's running since 1:30pm UTC+1, so no older data available, sorry.
Found no place where to get historical trading data :(

From the MtGox API? Just use

http://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=

and go back as far as you want.

Looks cool though. I'd change "Buying" to "RALLY!" and "Selling" to "CRASH!?". A little more dramatic. =)

EDIT: This will start getting all trades on 00:00:00 April 14th 2013.

http://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=1365911993951305

Then just loop it until you catch up. =)

Edit2: Just use the last tid you get and call it again. I'd add a little delay so you don't piss off MtGox. I have the data but this should be fairly easy for you to figure out.

Thanks, i will look into getting all trades i can and put them into my db.

Buying = RALLY / Selling = CRASH? In the 1M time frame? I wouldn't do that :p

Very cool! Could you add "ghostly" indicators to show the previous values for the same time window a short while ago  (maybe from a moving window) to help show how the trend is changing?

Hmm... Hope that's clear!  :P
I already thought about making this tool more informative, we'll see what comes next. Thanks :)

I found a use for an old smartphone. It will sit propped on my desk.
Never thought it worked on smartphones. Actually i tried it with a slow EDGE connection and it failed. At home with wireless lan it works.


One other suggestion - instead of using a droplist for the time frame, could you make them a series of links across the bottom?  It seems good to look at various time frames, but its a bit of a pain to select from the droplist each time.  But again - very nice!

Oh and - bookmarked!
Sounds good, that's what i'm going to do next.


Title: Re: Bitcoin Barometer
Post by: BTC Books on May 18, 2013, 07:10:16 PM
Maybe I'm just thick, but I don't get this.

How is there ever a difference between the number of bitcoin sold and the number bought?  How is this calculated?


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 07:17:44 PM
I'm also quite new to this trading thing. What i think is this:

Somebody places an ask order, someone else fills it -> coins got sold.

Vice versa:
Someone places a bid order, someone else fills it -> coins got bought.

Thats how i understand this, to experts, am i right? :D


Title: Re: Bitcoin Barometer
Post by: And1 on May 18, 2013, 07:18:28 PM
+10 ;)


Title: Re: Bitcoin Barometer
Post by: Miz4r on May 18, 2013, 07:19:14 PM
Maybe I'm just thick, but I don't get this.

How is there ever a difference between the number of bitcoin sold and the number bought?  How is this calculated?

Bitcoins sold is when a standing bid order is being sold into (price goes down), and bought is when asks are being bought into (price goes up). In both cases bitcoins are being bought and sold ofcourse, but the difference is direction and the one taking action.


Title: Re: Bitcoin Barometer
Post by: BTC Books on May 18, 2013, 07:27:11 PM
Maybe I'm just thick, but I don't get this.

How is there ever a difference between the number of bitcoin sold and the number bought?  How is this calculated?

Bitcoins sold is when a standing bid order is being sold into (price goes down), and bought is when asks are being bought into (price goes up). In both cases bitcoins are being bought and sold ofcourse, but the difference is direction and the one taking action.

Ahh.  'The one taking action.'  That makes a certain amount of sense.

* shrug *  I mostly just buy and hold and spend, so I guess it doesn't matter.  Maybe a couple times a year I'll sell some into obviously stupid spikes, and buy back the crash, but I don't think that's really considered to be trading.


Title: Re: Bitcoin Barometer
Post by: hahahafr on May 18, 2013, 08:19:40 PM
I'm also quite new to this trading thing. What i think is this:

Somebody places an ask order, someone else fills it -> coins got sold.

Vice versa:
Someone places a bid order, someone else fills it -> coins got bought.

Thats how i understand this, to experts, am i right? :D

Other way around please.

I place a bid order, someone fills it -> coins got sold.
I place a sell order, someone fills it -> coins got bought.

I wanna "buy" coins -> I fill a sell order -> coins got bought.
I wanna "sell" coins -> I fill a bid order -> coins got sold.

Don't confuse the two.


Title: Re: Bitcoin Barometer
Post by: hahahafr on May 18, 2013, 08:33:42 PM
Hey apparently you inverse the two in the code:

Code:
			if (trade.trade_type == "bid") {
bid_Sum += parseFloat(trade.amount);
} else if (trade.trade_type == "ask") {
ask_Sum += parseFloat(trade.amount);
}

Code:
$("#bought_Sum").text(bid_Sum.toFixed(2));
$("#sold_Sum").text(ask_Sum.toFixed(2));

From MtGow API:

Code:
trade_type : Did this trade result from the execution of a bid or a ask? 

So

Code:
{"date" : 1368876871, "amount": 0.410579, "trade_type": "bid"}

means that someone fulfilled a bid order = someone sold coins.


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 08:52:04 PM
I'm getting a bit confused now  ::)

I think this way: person A places a bid order (wants to buy)
The order is open until person B comes and says "that price is okay for me to sell my coins".

The bid order gets filled and it makes person A buy the coins from person B. This tool renders this as "coin bought".

When you compare the price 4 hours ago to the price now, it went up.
So does this tools arrow in the 4h timeframe, so i think this direction is correct.

Or am i thinking wrong?  ???


Title: Re: Bitcoin Barometer
Post by: hahahafr on May 18, 2013, 09:06:47 PM
Selling <=> Price going down <=> Lots of fulfilled bid order
Buying <=> Price going up <=> Lots of fulfilled ask order

That's how it is.

Edit: Isn't it?
Edit2: Yes it is.

When placing a bid order or an ask order you don't sell or buy anything, you just show that you *want* to sell or *want* to buy.
Or maybe we are just circling in round.


Title: Re: Bitcoin Barometer
Post by: UltimateReaper on May 18, 2013, 09:46:23 PM
I was just thinking the BTC speculation world needed something like this.

Friggen awesome if you ask me.

Assuming it's at least 75% reliable.


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 09:48:50 PM
@hahahafr:
I'm getting it :>

It's different perspectives: i'm viewing this from the side where the people are that placed their orders.
The other (correct) side is where the people are that fulfilled orders.

I'm about to fixing this.

Order placement isnt used for calculation, just trades that really happened. But i think you saw that in my code :D


Title: Re: Bitcoin Barometer
Post by: Franktank on May 18, 2013, 09:51:40 PM
Very useful! Thanks!


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 09:57:35 PM
http://mogsta.com/btc/ - fixed the confusion in the code + relabled "BUYING" and SELLING" to "PRICE UP" and "PRICE DOWN"


Title: Re: Bitcoin Barometer
Post by: willphase on May 18, 2013, 10:59:09 PM
quite cool - but I think that it's the wrong way round.

if people are buying bitcoins - i.e. bitcoins are being sold - then that is good i.e. the barometer should be indicating UP - but it seems that the barometer indicates down in this case...?

caveat: this based on a few minutes watching transactions on bitcoin.clarkmoody.com and comparing, not from looking at the source.

Will


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 11:14:43 PM
so you think this (http://mogsta.com/btc/beta/) has the correct arrow movement? that's what i also thought, but got confused by hahahafr, so i made it like it's now..


Title: Re: Bitcoin Barometer
Post by: keewee on May 18, 2013, 11:19:56 PM
More bids filled (red) = price dropping, more asks filled (green) = price rising. I think the beta page is correct   :)

edit: damn, now I'm not sure it is correct. Have to watch Clark Moody for a bit  :D


Title: Re: Bitcoin Barometer
Post by: hahahafr on May 18, 2013, 11:22:58 PM
On /beta/ if you replace at the bottom "sold" by "bought", and "bought" by "sold" then the arrow is ok.
Or at least change the color if you are the opposite side.

Suggestion 1 : Add the title "State of the market" on top of the page
Suggestion 2 : Rename "Price up" to "Bullish", "Stable" to "Equilibrium", & "Price down" to "Bearish"
Suggestion 3 : Go from a barometer to a chart over time :)


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 11:28:47 PM
/btc/beta/ is now the same as /btc/

i'll stick to the version that's online now. the barometer should indicate what people on the fulfilling side are doing. when they fill ask orders, then they're buying, so bought coins increase, price goes up and so does the arrow. that's the most logical behaviour this barometer can do. or am i confused again?  ::)


Title: Re: Bitcoin Barometer
Post by: keewee on May 18, 2013, 11:29:14 PM
I think the beta page is ok. As bids are filled (red) the arrow drops and as asks are filled (green) the arrow rises. Looks good!


Title: Re: Bitcoin Barometer
Post by: keewee on May 18, 2013, 11:32:31 PM
Out of curiosity, how much change of price does it take to "pin" the needle?


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 11:34:03 PM
price isn't processed, only the amount of btc that have been traded.


Title: Re: Bitcoin Barometer
Post by: keewee on May 18, 2013, 11:35:52 PM
So how many btc have to bought or sold to move the needle to either end?


Title: Re: Bitcoin Barometer
Post by: hahahafr on May 18, 2013, 11:38:11 PM
So how many btc have to bought or sold to move the needle to either end?

It's the ratio during the period of time.


Title: Re: Bitcoin Barometer
Post by: keewee on May 18, 2013, 11:42:31 PM
So how many btc have to bought or sold to move the needle to either end?

It's the ratio during the period of time.

Ah, got it. Thanks


Title: Re: Bitcoin Barometer
Post by: hahahafr on May 18, 2013, 11:43:58 PM
Your barometer is now right  8)

Maybe change the term "price" to "value" or "worth", best would be "bullish" for "price up" and "bearish" for "price down", since the price is not processed and it's more about the emotional state of the market (which is an information way more valuable than just the price)  ;)


Title: Re: Bitcoin Barometer
Post by: bennett616 on May 18, 2013, 11:44:22 PM
Nice! Very usable site for us all :)

Andy B


Title: Re: Bitcoin Barometer
Post by: sohd on May 18, 2013, 11:50:49 PM
Thanks for all your feedback and help :) I'm going to bed now. Will continue working on that tomorrow.


Title: Re: Bitcoin Barometer
Post by: adamstgBit on May 19, 2013, 12:43:37 AM
http://s14.postimg.org/458w69rpt/Untitled.png (http://mogsta.com/btc/)
http://mogsta.com/btc/


lovely little app  :)


Title: Re: Bitcoin Barometer
Post by: dexX7 on May 19, 2013, 04:14:56 AM
I think you should swap xx sold | yy bought under the barometer to bought | sold. Or maybe it's just me, but I associate top with left and green/top is the first thing you see and because we read from left to right, shouldn't green be the first thing to read, too? :)


Title: Re: Bitcoin Barometer
Post by: bennett616 on May 19, 2013, 06:10:12 AM
I think you should swap xx sold | yy bought under the barometer to bought | sold. Or maybe it's just me, but I associate top with left and green/top is the first thing you see and because we read from left to right, shouldn't green be the first thing to read, too? :)

+1

Andy B


Title: Re: Bitcoin Barometer
Post by: sohd on May 19, 2013, 08:07:21 AM
swapped them and relabled directions to bullish and bearish

//edit: added option "market orders only", because i think market orders are more emotional than limited orders
and we now have a favicon, please update your bookmarks  :D


Title: Re: Bitcoin Barometer
Post by: keewee on May 19, 2013, 10:40:19 AM
I think you should swap xx sold | yy bought under the barometer to bought | sold. Or maybe it's just me, but I associate top with left and green/top is the first thing you see and because we read from left to right, shouldn't green be the first thing to read, too? :)

+1

Andy B

Hmmm, just seen this change and I think I preferred it the other way. I think because I always associate left with down and right with up, probably from looking at Mt Gox Live and Bitcoinity a lot


Title: Re: Bitcoin Barometer
Post by: Miz4r on May 19, 2013, 10:53:51 AM
How about adding some kind of volume indicator as well? I know the raw numbers are posted but it's hard to say whether it's high or low volume for a specific time frame without any comparison.


Title: Re: Bitcoin Barometer
Post by: sohd on May 19, 2013, 02:00:11 PM
I think you should swap xx sold | yy bought under the barometer to bought | sold. Or maybe it's just me, but I associate top with left and green/top is the first thing you see and because we read from left to right, shouldn't green be the first thing to read, too? :)

+1

Andy B

Hmmm, just seen this change and I think I preferred it the other way. I think because I always associate left with down and right with up, probably from looking at Mt Gox Live and Bitcoinity a lot

Agreed and swapped back to align with bitcoinity and clarkmoody.


Title: Re: Bitcoin Barometer
Post by: RyNinDaCleM on May 19, 2013, 02:26:16 PM
swapped them and relabled directions to bullish and bearish

//edit: added option "market orders only", because i think market orders are more emotional than limited orders
and we now have a favicon, please update your bookmarks  :D

Every order is filled by a market order. If there is a standing limit Bid, and your limit Ask overlaps that price, that limit Ask becomes a market order and would be in the sell direction


Title: Re: Bitcoin Barometer
Post by: dexX7 on May 19, 2013, 02:29:13 PM
swapped them and relabled directions to bullish and bearish

//edit: added option "market orders only", because i think market orders are more emotional than limited orders
and we now have a favicon, please update your bookmarks  :D

Every order is filled by a market order. If there is a standing limit Bid, and your limit Ask overlaps that price, that limit Ask becomes a market order and would be in the sell direction

It's not. Gox differentiates here and clearly tags transactions with "market" and "limit" order types.


Title: Re: Bitcoin Barometer
Post by: Hawker on May 19, 2013, 02:32:36 PM
That is a great job!  Nice work.


Title: Re: Bitcoin Barometer
Post by: DoomDumas on May 20, 2013, 03:49:32 AM
Nice,
Love it,
Bookmarked :)


Title: Re: Bitcoin Barometer
Post by: adamstgBit on May 20, 2013, 06:06:27 PM
Bitcoin Barometer is bullish  :)


Title: Re: Bitcoin Barometer
Post by: sohd on May 20, 2013, 07:24:23 PM
small update: added thousand separator to increase readability of large numbers


Title: Re: Bitcoin Barometer
Post by: keewee on May 20, 2013, 07:29:35 PM
Now we just need a decent pump 'n dump to really get the needle swinging  :D


Title: Re: Bitcoin Barometer
Post by: sohd on May 20, 2013, 11:03:26 PM
thats not my part :p


Title: Re: Bitcoin Barometer
Post by: phatsphere on May 22, 2013, 07:26:27 PM
Can you also make an indicator for the volume? E.g. since you like CSS transforms, you can resize the arrow to be really small and thin for the current volume, or when it declines… Also filters like making it a bit transparent (i.e. grey) in that case.

If the volume goes up, thicker arrow of course ;)


Title: Re: Bitcoin Barometer
Post by: zakalwe on May 22, 2013, 07:32:33 PM
Nice! :)


Title: Re: Bitcoin Barometer
Post by: sohd on May 29, 2013, 09:14:02 PM
update: data loading is done via json now, opening the barometer should be a LOT faster now :)


Title: Re: Bitcoin Barometer
Post by: sohd on May 30, 2013, 11:41:11 PM
bigger update now: http://mogsta.com/btc/

- now using trading data since 2013-04-01 (my db actually contains trading data since mid 2011, i have to figure out some performance issues when displaying huge amounts of data.. :S)
- new live updating price chart (from highchart.com)
- barometer displays volume for the time range displayed in the chart
- time interval buttons no longer sets "show last X trading volume", now they're for setting the time interval used in the chart


Title: Re: Bitcoin Barometer
Post by: afbitcoins on May 31, 2013, 10:53:02 AM
Great work! One thing I noticed is the needle doesn't actually move much and stays in the stable region all the time. Could it be calibrated to exaggerate the swing?

For example if you look at the time period during the run up to the all time price peak the needle only moves as far as near the top of stable. similarly if you look at the time period of the steep price drop after that, the needle points to the lower end of stable. If those extremes aren't bullish and bearish then I don't know what is!


Title: Re: Bitcoin Barometer
Post by: sohd on May 31, 2013, 12:21:38 PM
absolutly right, thanks! needle is now a lot more sensitive :)


Title: Re: Bitcoin Barometer
Post by: afbitcoins on May 31, 2013, 03:50:07 PM
Awesome!

Very neat app, liking the bigger swings



Title: Re: Bitcoin Barometer
Post by: hacknoid on May 31, 2013, 03:57:15 PM

Those improvements are really awesome!  I had been looking for someone to have a chart with the Google time-plot widget so that I could easily change the range of time and go back in history.  The display of "sentiment" over that same time period is very cool!

Great work!


Title: Re: Bitcoin Barometer
Post by: discobean on June 04, 2013, 03:31:32 AM
I liked the original barometer, where it was just a barometer.  Was a neat idea.

Now it seems like its all hacked together.  Maybe my screen size is just too small for it.


Title: Re: Bitcoin Barometer
Post by: ukw on June 04, 2013, 08:34:43 AM
The barometer is too sensible now.

The buttons "1M 5M 10M 30M 1H 2H 4H 1D" on the bottom of the page don't work in the matter as inspected, anymore. In the past it was clear what they are doing. Now they change only the zoom in a non-comprehensible way. Now I have to click the lower buttons to get an acceptable zoom range in the top, then I can change the zoom value at the top. This is very circuitous.

Perhaps you should offer all possible zooms "30M 1H 2H 4H 1D 2D 3D 7D 14D 28D 30D 60D" at the same time at the top and delete the (stupid) buttons at the bottom.


Title: Re: Bitcoin Barometer
Post by: super3 on June 04, 2013, 11:38:54 PM
Do you think you could add an API?


Title: Re: Bitcoin Barometer
Post by: sohd on June 07, 2013, 10:03:14 AM
Quote
I liked the original barometer, where it was just a barometer.  Was a neat idea.

Now it seems like its all hacked together.  Maybe my screen size is just too small for it.

It's actually the same what it was before, with the difference that you can select the period of time to display data for. And a more sensible arrow.

The barometer is too sensible now.

The buttons "1M 5M 10M 30M 1H 2H 4H 1D" on the bottom of the page don't work in the matter as inspected, anymore. In the past it was clear what they are doing. Now they change only the zoom in a non-comprehensible way. Now I have to click the lower buttons to get an acceptable zoom range in the top, then I can change the zoom value at the top. This is very circuitous.

Perhaps you should offer all possible zooms "30M 1H 2H 4H 1D 2D 3D 7D 14D 28D 30D 60D" at the same time at the top and delete the (stupid) buttons at the bottom.

Could you give me an example where the barometer is too sensible?

The lower buttons don't change the zoom, they select the time period of the chart candles.
I agree with the changing-possible-zooms-buttons thing and am going change that on the next update.
I just thought it would make sense to only display sense-making zoom buttons on the Top ;)

Quote
Do you think you could add an API?
For what? The barometer arrow? Trading data?


Title: Re: Bitcoin Barometer
Post by: super3 on June 07, 2013, 09:02:51 PM
Quote
I liked the original barometer, where it was just a barometer.  Was a neat idea.

Now it seems like its all hacked together.  Maybe my screen size is just too small for it.

It's actually the same what it was before, with the difference that you can select the period of time to display data for. And a more sensible arrow.

The barometer is too sensible now.

The buttons "1M 5M 10M 30M 1H 2H 4H 1D" on the bottom of the page don't work in the matter as inspected, anymore. In the past it was clear what they are doing. Now they change only the zoom in a non-comprehensible way. Now I have to click the lower buttons to get an acceptable zoom range in the top, then I can change the zoom value at the top. This is very circuitous.

Perhaps you should offer all possible zooms "30M 1H 2H 4H 1D 2D 3D 7D 14D 28D 30D 60D" at the same time at the top and delete the (stupid) buttons at the bottom.

Could you give me an example where the barometer is too sensible?

The lower buttons don't change the zoom, they select the time period of the chart candles.
I agree with the changing-possible-zooms-buttons thing and am going change that on the next update.
I just thought it would make sense to only display sense-making zoom buttons on the Top ;)

Quote
Do you think you could add an API?
For what? The barometer arrow? Trading data?
Just return Bullish, Stable, Bearish and/or the amount bought or sold when passed the time interval 1M, 5M etc. Would be a helpful stat to add to my ticker.


Title: Re: Bitcoin Barometer
Post by: ManBearPig on June 16, 2013, 12:18:43 PM
I do like this a lot. Of course everyone's algorithm to find a spot on the sentiment continuum will differ but it's always nice to have well-presented data :)


Title: Re: Bitcoin Barometer
Post by: 420 on June 16, 2013, 07:55:10 PM
ratio of sold and bought coins?

so some people are buying or selling coins from no one?

every bought coin has a seller

and every sold coin has a buyer

how are these numbers derived?

forgive me if this was already addresses


Title: Re: Bitcoin Barometer
Post by: lucas.sev on June 16, 2013, 07:59:25 PM
ratio of sold and bought coins?

so some people are buying or selling coins from no one?

every bought coin has a seller

and every sold coin has a buyer

how are these numbers derived?

forgive me if this was already addresses


My bet is that:

 sold coins = sold into bid walls

bought coins = bought from ask walls.


Title: Re: Bitcoin Barometer
Post by: 420 on June 16, 2013, 08:00:25 PM
ratio of sold and bought coins?

so some people are buying or selling coins from no one?

every bought coin has a seller

and every sold coin has a buyer

how are these numbers derived?

forgive me if this was already addresses


My bet is that:

 sold coins = sold into bid walls

bought coins = bought from ask walls.

so orders that are over a limit of a certain arbitrary amount?

like 50 orders of 2BTC don't make the scale but 1 order of 100BTC does


Title: Re: Bitcoin Barometer
Post by: K1773R on June 16, 2013, 08:08:55 PM
http://mogsta.com/btc/

This little tool displays the ratio of sold and bought coins over a given time.
Data comes from the MtGox BTCUSD Stream.

Feedback, any? :>
well done!


Title: Re: Bitcoin Barometer
Post by: Spekulatius on June 16, 2013, 08:41:29 PM
Bookmarked

1. How is this different to the On Balance Volume (OBV) and Accumulation/Distribution- Indicators?

2. Can someone make a diary only trading according to what the Barometer says ;) ?

3. +tip sohd 0.001 BTC verify


Title: Re: Bitcoin Barometer
Post by: 420 on June 16, 2013, 10:05:37 PM
sohd tell us the calculations for the numbers


Title: Re: Bitcoin Barometer
Post by: Crypt_Current on June 16, 2013, 10:25:21 PM
neat tool -- fun to play with while drinking!   :D ;)


Title: Re: Bitcoin Barometer
Post by: Adrian-x on June 16, 2013, 10:45:09 PM
http://mogsta.com/btc/

This little tool displays the ratio of sold and bought coins over a given time.
Data comes from the MtGox BTCUSD Stream.

Feedback, any? :>

Thank,
I would love to see this the same thing as an average of the top 10 exchanges by volume.


Title: Re: Bitcoin Barometer
Post by: ukw on June 17, 2013, 07:47:59 AM
Could you give me an example where the barometer is too sensible?

4,336.85 sold | 5,835.64 bought --> arrow is vertically "bullish", but the chart shows, that this rate is more stable than bullish.

The lower buttons don't change the zoom, they select the time period of the chart candles.

Yes, okay, but this is really confusing:

upper zoom        lower buttons           rate
1D                    10 M                       5,163.07 sold | 6,297.74 bought
1D                    30 M                       4,336.85 sold | 5,835.64 bought

The zoom (range to calculate) is the same, but I get totally different values.


Title: Re: Bitcoin Barometer
Post by: phoenix1 on June 17, 2013, 11:00:58 AM
ratio of sold and bought coins?

so some people are buying or selling coins from no one?

every bought coin has a seller

and every sold coin has a buyer

how are these numbers derived?

forgive me if this was already addresses


My bet is that:

 sold coins = sold into bid walls

bought coins = bought from ask walls.

so orders that are over a limit of a certain arbitrary amount?

like 50 orders of 2BTC don't make the scale but 1 order of 100BTC does

Take the 'walls bit out of what lucas.sev said and you got it ...

All trades are considered.

When a bid is hit a coin is considered 'sold'
When an ask is taken a coin is considered 'bought'

So it is a measure of whether the current price action is more biased towards price being knocked down by sellers (bearish), or raised by buyers (bullish)
There is always a spread between bid and offer ... the one who crosses it is considered the indicator of sentiment in this model
Like this a big dump, where asks are continuously being hit and price knocked down, the needle would swing to 'bearish' very rapidly.

As I understand it, how far the needle swings is a function of the ratio of coins bought to coins sold over the period being looked at. Not sure on the calibration though.

Hope this helps


Title: Re: Bitcoin Barometer
Post by: Adrian-x on September 17, 2013, 10:19:24 PM
http://mogsta.com/btc/

This little tool displays the ratio of sold and bought coins over a given time.
Data comes from the MtGox BTCUSD Stream.

Feedback, any? :>

is this still up and running?


Title: Re: Bitcoin Barometer
Post by: derpinheimer on September 17, 2013, 11:22:49 PM
Stopped working on the 7th


Title: Re: Bitcoin Barometer
Post by: derpinheimer on October 09, 2013, 08:30:40 PM
No plan to fix it? Seems like waste of money to run it since it doesnt work.


Title: Re: Bitcoin Barometer
Post by: mogrith on October 09, 2013, 09:02:15 PM
Try different dates. It seems to be working for me. If i move the start date farther back I get data.