Bitcoin Forum
December 06, 2016, 08:12:44 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: MtGox Market Mover: How does a trade affect MtGox?  (Read 1393 times)
hendi
Jr. Member
*
Offline Offline

Activity: 30


View Profile WWW
May 18, 2011, 02:53:31 PM
 #1

I've made a small script to help you understand how a transaction (buying/selling usd/btc) affects the market at MtGox. It gives you the answer to question like
  • I want to buy X Bitcoins, how much $ does it cost?
  • I want to spent X $, how much Bitcoins do I get?
  • I want to sell X Bitcoins, how much $ do I get?
  • I want to get X $, how much Bitcoins do I have to sell?
and also calculates the bid/ask price that would be in effect after you'd perform these trades.

This was very helpful for me (I wanted to know how many BTC I would have to sell in order to cover all my expenses so far) and I hope it is for you, too Smiley

Feedback/criticism/suggestions welcome!

http://hendi.name/bitcoin/mmm/

1481011964
Hero Member
*
Offline Offline

Posts: 1481011964

View Profile Personal Message (Offline)

Ignore
1481011964
Reply with quote  #2

1481011964
Report to moderator
1481011964
Hero Member
*
Offline Offline

Posts: 1481011964

View Profile Personal Message (Offline)

Ignore
1481011964
Reply with quote  #2

1481011964
Report to moderator
1481011964
Hero Member
*
Offline Offline

Posts: 1481011964

View Profile Personal Message (Offline)

Ignore
1481011964
Reply with quote  #2

1481011964
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
hendi
Jr. Member
*
Offline Offline

Activity: 30


View Profile WWW
May 19, 2011, 08:20:14 AM
 #2

It's PHP and gets the most expensive price buy or sell. Simple adaptation would easily allow you to do what you're doing on your site. Code below:
What's the point of doing "simple adaption" to get something that's already done? Of course this is not rocket science, but me making my site available is just an offer for convenience.

sammoocow
Jr. Member
*
Offline Offline

Activity: 39


View Profile
May 21, 2011, 12:56:04 PM
 #3

Very cool script hendi. Good job.
kseistrup
Hero Member
*****
Offline Offline

Activity: 565


Unselfish actions pay back better


View Profile WWW
May 21, 2011, 02:24:48 PM
 #4


It would be sweet with a commandline thing doing the same.  Is your script opensource/available?  If so, I'm pretty sure I could make, say, a python CLI version.

Cheers,

Klaus Alexander Seistrup
http://about.me/kseistrup
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!