Bitcoin Forum
April 26, 2024, 05:38:22 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 [27] 28 29 30 31 32 »
  Print  
Author Topic: Real Time Charting, Order Book, and Time & Sales  (Read 85481 times)
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
May 08, 2013, 01:36:59 PM
 #521


Is the "Time & Sales" only updated for USD? ..When I switch to EUR, it doesn't show any data.

It might start working once you reload, after you've chosen another currency. There are still some issues with the socket.io client library and reconnection.

1714153102
Hero Member
*
Offline Offline

Posts: 1714153102

View Profile Personal Message (Offline)

Ignore
1714153102
Reply with quote  #2

1714153102
Report to moderator
1714153102
Hero Member
*
Offline Offline

Posts: 1714153102

View Profile Personal Message (Offline)

Ignore
1714153102
Reply with quote  #2

1714153102
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714153102
Hero Member
*
Offline Offline

Posts: 1714153102

View Profile Personal Message (Offline)

Ignore
1714153102
Reply with quote  #2

1714153102
Report to moderator
1714153102
Hero Member
*
Offline Offline

Posts: 1714153102

View Profile Personal Message (Offline)

Ignore
1714153102
Reply with quote  #2

1714153102
Report to moderator
1714153102
Hero Member
*
Offline Offline

Posts: 1714153102

View Profile Personal Message (Offline)

Ignore
1714153102
Reply with quote  #2

1714153102
Report to moderator
Geremia
Sr. Member
****
Offline Offline

Activity: 502
Merit: 251


View Profile WWW
May 08, 2013, 08:11:53 PM
 #522

This may have already been asked here, but what is "slippage"? thanks

BTC tip jar | my BTC wiki, BTC StackExchange | Tox ID: 65C3E8810738AD9D175234808FCB317A1103632903436203D45411AE97C03F54C34861AB6663
Join Kraken. | The best, free book on Bitcoin: Mastering Bitcoin
Nos cum prole pia benedicat Virgo Maria.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
May 09, 2013, 02:24:45 AM
 #523

This may have already been asked here, but what is "slippage"? thanks

Slippage is the difference between the value of your buy/sell whether calculated with the inner bid/ask or calculated based on the orders on the book.

Simple example: say you want to sell 2 BTC. The inner Bid is 1 @ $10. The next highest bid is 1 @ $8 (thin book). The face value of your 2 BTC is $20, but the actual sale price you can get is $18, since you would take both bid orders to fill your sale. Thus, the slippage would be $2.

wamatt
Member
**
Offline Offline

Activity: 85
Merit: 10


View Profile
May 09, 2013, 08:10:12 AM
 #524

Great work on the charts clark.

I have a question. Is it possible to add a toggle to show/hide spread lines? If you look at H4, the green line makes it a bit difficult to read the EMA, and might be nice to hide them sometimes

Second thing. Are D3 and W1 accurate in terms of EMA? The reason I'm asking is that there doesn't appear to be 21 periods of data for such large intervals. That could just be a display issue though?
shackleford
Full Member
***
Offline Offline

Activity: 281
Merit: 100



View Profile
May 09, 2013, 04:51:17 PM
 #525

site api keeps going down is this normal?

What API?

I think he means the connection to Mt Gox where it disconnects and reconnects. Is there any way to disable the sound for that? Sometimes the connection stays up but when it constantly disconnects and reconnects it can be a bit annoying.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
May 10, 2013, 11:27:53 PM
 #526

Please don't tell me the site is down at the moment, thanks.

I'm working to get it back online  Smiley

Geremia
Sr. Member
****
Offline Offline

Activity: 502
Merit: 251


View Profile WWW
May 11, 2013, 05:08:46 PM
 #527

Slippage is the difference between the value of your buy/sell whether calculated with the inner bid/ask or calculated based on the orders on the book.

Simple example: say you want to sell 2 BTC. The inner Bid is 1 @ $10. The next highest bid is 1 @ $8 (thin book). The face value of your 2 BTC is $20, but the actual sale price you can get is $18, since you would take both bid orders to fill your sale. Thus, the slippage would be $2.
Ah, so it seems to be a measure of how precisely the exchange can find a trade matching your bid.
Thanks for the explanation

BTC tip jar | my BTC wiki, BTC StackExchange | Tox ID: 65C3E8810738AD9D175234808FCB317A1103632903436203D45411AE97C03F54C34861AB6663
Join Kraken. | The best, free book on Bitcoin: Mastering Bitcoin
Nos cum prole pia benedicat Virgo Maria.
avaughn
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
May 14, 2013, 02:22:57 AM
 #528

Pardon me if this has been answered already. What are you using for your charting tools?
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
May 14, 2013, 03:01:49 AM
 #529

Pardon me if this has been answered already. What are you using for your charting tools?

The charts are custom built by me  Wink

avaughn
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
May 14, 2013, 03:36:04 AM
 #530

Pardon me if this has been answered already. What are you using for your charting tools?

The charts are custom built by me  Wink

They look great! Wish I could build my own charts like that. Any pointers?
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
May 14, 2013, 03:38:03 AM
 #531

They look great! Wish I could build my own charts like that. Any pointers?

Go slow and solve lots of little problems. Build yourself lots of helper functions to do simple things and put them together to create complex behavior.

AMuppInTime
Donator
Sr. Member
*
Offline Offline

Activity: 290
Merit: 250



View Profile
May 15, 2013, 03:18:52 AM
 #532

I'm a little confused as to the "no lag" and MtGox - I've used the site many times but lately it seems to be missing orders:
Ex: I placed a bid order at 106.5 when there is no lag around (Market at 107). The order shows as "Open" on my MtGox account, but never shows up on CM... for 5 minutes, with no mtGox lag. Wondering if it's something else, I move closer to market price, order opens and gets filled... very weird behavior!

=> is MtGox selecting which orders get broadcasted?
=> does CM miss some of those "updates" ?

Just wondering why after 5 minutes my order was nowhere to be found on the bid stack.
baracuda
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
May 15, 2013, 04:07:02 AM
 #533

I'm a little confused as to the "no lag" and MtGox - I've used the site many times but lately it seems to be missing orders:
Ex: I placed a bid order at 106.5 when there is no lag around (Market at 107). The order shows as "Open" on my MtGox account, but never shows up on CM... for 5 minutes, with no mtGox lag. Wondering if it's something else, I move closer to market price, order opens and gets filled... very weird behavior!

=> is MtGox selecting which orders get broadcasted?
=> does CM miss some of those "updates" ?

Just wondering why after 5 minutes my order was nowhere to be found on the bid stack.

@Clark: I don't have data to reproduce this, but I have noticed a few occasions where I placed an order via a POST with my MtGox API, and then I see the order show up in MtGox, but it doesn't show up in the bid/ask depth data. Even though I see other data adding and removing itself from the bid/ask still. Eventually my order fills, and I see the trade entry in the trade list, but it never showed up on the ask/bid depth. (These are often 0.1 or 0.05 BTC orders.)

I'll try to keep a closer eye on it to see if I can get more valuable reproduceable details. Take this from me with a grain of salt right now though because who knows what it could be.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
May 15, 2013, 05:28:55 AM
 #534

=> is MtGox selecting which orders get broadcasted?
=> does CM miss some of those "updates" ?

a) I don't know.

b) I'm certainly not filtering out any updates that make sense: for instance, since there is the order book syncing issue, I won't update the book if I get a bid that's higher than the inside ask; things like that.


@Clark: I don't have data to reproduce this, but I have noticed a few occasions where I placed an order via a POST with my MtGox API, and then I see the order show up in MtGox, but it doesn't show up in the bid/ask depth data. Even though I see other data adding and removing itself from the bid/ask still. Eventually my order fills, and I see the trade entry in the trade list, but it never showed up on the ask/bid depth. (These are often 0.1 or 0.05 BTC orders.)

I'll try to keep a closer eye on it to see if I can get more valuable reproduceable details. Take this from me with a grain of salt right now though because who knows what it could be.

If your order is the same price as an existing order on the book, then it will add to that order, not show up as a distinct issue. You probably know this, but it could factor into the behavior.

baracuda
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
May 15, 2013, 07:47:19 PM
 #535

If your order is the same price as an existing order on the book, then it will add to that order, not show up as a distinct issue. You probably know this, but it could factor into the behavior.

Yup, I'm specifically placing an order for a different value than any currently on the order book.

I'm certainly not filtering out any updates that make sense: for instance, since there is the order book syncing issue, I won't update the book if I get a bid that's higher than the inside ask; things like that.

Interesting, the value I bid is 0.00001 (or however many 0's there are) above the current high bid. Do you think that's related the cause?

By "bid higher than inside ask" you mean if the lowest ask is 115 and an "order" comes in for a bid at 115.01 you ignore it since it's higher than the lowest ask?

I have not seen this in the last few days but I'll try to watch closely when I have time later this week.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
May 15, 2013, 07:49:32 PM
 #536

By "bid higher than inside ask" you mean if the lowest ask is 115 and an "order" comes in for a bid at 115.01 you ignore it since it's higher than the lowest ask?

Actually, I trust the incoming data over the socket more than I do the data that's already on the book. So if that bid came in, then I eliminate the conflicting asks off the book, since it's likely that they are incorrect.

AMuppInTime
Donator
Sr. Member
*
Offline Offline

Activity: 290
Merit: 250



View Profile
May 17, 2013, 12:12:59 AM
 #537

We're talking non trivial order placed: 50+ BTC buy... There were no orders over 0 BTC within +-.02 strike.
For 3-5 minutes I was waiting to see it appear in CM - but it never showed, as the price moved around and new bids / asks were placed.

=> is MtGox selecting which orders get broadcasted?
=> does CM miss some of those "updates" ?

a) I don't know.

b) I'm certainly not filtering out any updates that make sense: for instance, since there is the order book syncing issue, I won't update the book if I get a bid that's higher than the inside ask; things like that.


@Clark: I don't have data to reproduce this, but I have noticed a few occasions where I placed an order via a POST with my MtGox API, and then I see the order show up in MtGox, but it doesn't show up in the bid/ask depth data. Even though I see other data adding and removing itself from the bid/ask still. Eventually my order fills, and I see the trade entry in the trade list, but it never showed up on the ask/bid depth. (These are often 0.1 or 0.05 BTC orders.)

I'll try to keep a closer eye on it to see if I can get more valuable reproduceable details. Take this from me with a grain of salt right now though because who knows what it could be.

If your order is the same price as an existing order on the book, then it will add to that order, not show up as a distinct issue. You probably know this, but it could factor into the behavior.
moocowpong1
Member
**
Offline Offline

Activity: 79
Merit: 10


View Profile
May 23, 2013, 03:59:15 AM
 #538

I've noticed something funny about the way bitcoin.clarkmoody.com colors the candles... it seems that the candle is colored not based on whether the open is greater or less than the close, but whether the close is greater or less than the previous close. Typically the open of one period will be close to the close of the previous period, but it can be different. There's an example of a strangely colored candle now: the 2013-5-22 22:15:00 (Chicago time, if it matters) candle for the M15 view is colored red even though the open is 124.40000 and the close is 124.40002. (The previous close is 124.43900.) Is this intentional behavior? It seems counterintuitive.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
May 23, 2013, 04:07:05 PM
 #539

I've noticed something funny about the way bitcoin.clarkmoody.com colors the candles... it seems that the candle is colored not based on whether the open is greater or less than the close, but whether the close is greater or less than the previous close. Typically the open of one period will be close to the close of the previous period, but it can be different. There's an example of a strangely colored candle now: the 2013-5-22 22:15:00 (Chicago time, if it matters) candle for the M15 view is colored red even though the open is 124.40000 and the close is 124.40002. (The previous close is 124.43900.) Is this intentional behavior? It seems counterintuitive.

First post of this thread describes the candle shading/coloring scheme.

Color is based on this close vs. previous close. Shading is based on up/down during this period.

visionary
Hero Member
*****
Offline Offline

Activity: 966
Merit: 587



View Profile
May 23, 2013, 06:39:48 PM
 #540

i can't use it in china


why???
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 [27] 28 29 30 31 32 »
  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!