Bitcoin Forum
December 15, 2024, 05:51:45 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4]  All
  Print  
Author Topic: Realtime MtGox Time and Sales  (Read 19697 times)
realcoin
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
October 09, 2011, 10:14:04 AM
 #61

If you do a limit order  e.g. @4.231, to buy 100 BTC, you would get all BTC below. Right?

Code:
ASK price / volume
4.231     / 20 <- limit order
4.2      /  10
4.156    /  50
4.044    /  20
------------
             = 100 BTC



I think the point of the sweep is that is computes the right amount to purchase / sell to take the book to that point.
I think now I got the idea! Wink  But this could be "dangerous", because, if a big order will come to the book, you didnt expect (while clicking the mouse button), it could "sweep " your account...  Shocked

PS: If other user disturbing this thread with advertisement end senseless off topic discussion, I will  "Report to moderator" your postings next time!

I am not "Realcoin REC"! There were no REC when I sign up the forum...
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 17, 2011, 05:59:52 PM
 #62

Yeah, order book sweeps could be dangerous, but you can't buy more than you can afford with your account balance.

Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 21, 2011, 05:32:47 AM
Last edit: October 21, 2011, 02:50:12 PM by Clark
 #63

Edit: Wrong topic, sorry.

molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
October 21, 2011, 09:04:44 PM
 #64

I see you fixed the issue with "erratic" order book entries when grouping by price. Thanks. Was guessing these where "other currencies"?

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 21, 2011, 09:20:43 PM
 #65

I see you fixed the issue with "erratic" order book entries when grouping by price. Thanks. Was guessing these where "other currencies"?

Not other currencies (their depth messages are not broadcast over websocket yet). The bug came from sorting an array of strings instead of numbers. With strings, "1000" comes before "999" because the comparison is made on the first character.

Chefnet
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
January 17, 2012, 08:27:25 PM
 #66

what does it mean: Your account is suspended?
I can't use clarkmoody since today.

Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
January 17, 2012, 08:52:14 PM
 #67

what does it mean: Your account is suspended?
I can't use clarkmoody since today.

I am in the process of switching servers.

hoki
Member
**
Offline Offline

Activity: 105
Merit: 10


Say BYE to tobacco taxes and bureaucratized trade.


View Profile WWW
January 17, 2012, 11:04:26 PM
 #68

Nice job Clark, I found your tool extremely useful! Now I miss it Smiley When will it be back online?

http://www.cigs.eu — The Europe's leading discount cigarette shop. Worldwide shipping. Now accepting Bitcoins. Affiliates click here.
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
January 17, 2012, 11:05:53 PM
 #69

Nice job Clark! I now miss it Smiley When will it be back online?
I never realize exactly how horrible mtgoxlive is until I have to use it and then it is like ... damn ...

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
Jaques
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
February 14, 2013, 02:42:50 PM
 #70

OP nice one! thank you!
Pages: « 1 2 3 [4]  All
  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!