Bitcoin Forum
April 25, 2024, 02:01:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [ANN] GoxGame. So you think you can trade?  (Read 1820 times)
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 12, 2013, 12:37:54 AM
Last edit: March 17, 2013, 11:22:40 PM by Puppet
 #1

Im working on a (fairly simple) bitcoin trading simulation, called GoxGame.

The idea is simple; every player gets a certain amount of virtual dollars and can use those to trade on a virtual exchange which follows MtGox prices more or less in real time.  After every 2 weeks or so, a winner is declared and the amounts reset.

In order to make sure people actually trade rather than buy and hold, players will receive a penalty if they do not meet a (to be determined) treshold in trading fees (set at 0.6%).

Players will only be allowed to register with their forum names, so 1 account per forum account.
Here is a screenie of the WIP:



About the chart:
The chart is updated in realtime.
You can click the legend to show/hide various elements.
Depth 2500 shows the price swing 2500BTC would cause in either way.
Also note you can download the chart as bitmap, vector, or PDF if you want

As for trading, history, ranking limit and stop loss orders are being worked on.
I will also make something to visualize how you are doing  compared to others

You can have a look here:
http://goxgame.sytes.net/demo/

Chrome recommended.

If you have some good ideas I may not have thought of, feel free to share.
1714053705
Hero Member
*
Offline Offline

Posts: 1714053705

View Profile Personal Message (Offline)

Ignore
1714053705
Reply with quote  #2

1714053705
Report to moderator
1714053705
Hero Member
*
Offline Offline

Posts: 1714053705

View Profile Personal Message (Offline)

Ignore
1714053705
Reply with quote  #2

1714053705
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714053705
Hero Member
*
Offline Offline

Posts: 1714053705

View Profile Personal Message (Offline)

Ignore
1714053705
Reply with quote  #2

1714053705
Report to moderator
1714053705
Hero Member
*
Offline Offline

Posts: 1714053705

View Profile Personal Message (Offline)

Ignore
1714053705
Reply with quote  #2

1714053705
Report to moderator
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
March 12, 2013, 08:42:46 PM
 #2

will there be a option for privacy? this could be abused to display/leak/identify someones trading strategys (just had this worst case scenario, well there are probably worse than this Tongue)

anyway, count me in if you start it. that could be a funny thing.

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 12, 2013, 09:26:44 PM
 #3

will there be a option for privacy? this could be abused to display/leak/identify someones trading strategys (just had this worst case scenario, well there are probably worse than this Tongue)

anyway, count me in if you start it. that could be a funny thing.

Hadnt considered that.
I could keep actual trade history secret (well, to all but the player and me) , but the result should be public.

Meanwhile I finished the dynamic charts (quite happy with them)  and applied a tiny bit of eye candy. Updated screenie above.

I will probably need a host for this tho, my new provider's router/fw is a real nightmare. Anyone know of a cheap mysql/php provider?
danieldaniel
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
March 12, 2013, 09:48:11 PM
 #4

will there be a option for privacy? this could be abused to display/leak/identify someones trading strategys (just had this worst case scenario, well there are probably worse than this Tongue)

anyway, count me in if you start it. that could be a funny thing.

Hadnt considered that.
I could keep actual trade history secret (well, to all but the player and me) , but the result should be public.

Meanwhile I finished the dynamic charts (quite happy with them)  and applied a tiny bit of eye candy. Updated screenie above.

I will probably need a host for this tho, my new provider's router/fw is a real nightmare. Anyone know of a cheap mysql/php provider?

Heh, if you want my 128mb of ram VPS that I have, I'll sell it to you for $5 a month.  I haven't used it in forever.

Anyways, is there a prize to the winner?

(BTW, I had this idea a year ago and was too lazy to do it.  Glad that someone is doing it!)

Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
March 12, 2013, 09:52:08 PM
 #5

Are trades executed against existing offers or just against the latest trade price? Meaning: Is there slippage?

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 12, 2013, 09:57:44 PM
 #6

Heh, if you want my 128mb of ram VPS that I have, I'll sell it to you for $5 a month.  I haven't used it in forever.

Anyways, is there a prize to the winner?

Eternal fame and glory, bragging rights,..  I dont plan on paying prizes out of my own pocket. but once its working and there is enough interest, I will probably let  players play either for free (no prizes) or  pool like 1 BTC per week or month, and the winner(s) will collect the prize(s).

As for the VPS, thanks, but I just ordered one. Barely more expensive and lots more Ram Smiley.
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 12, 2013, 10:00:02 PM
 #7

Are trades executed against existing offers or just against the latest trade price? Meaning: Is there slippage?

Against existing offers, so there is a spread. However, I dont take depth in to account, so if there is an offer on MtGox for 0.1 BTC, you will be able to sell all your coins at that price. There is no way around that really, if I would take depth in to account, then my prices would begin to diverge from MtGox.
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
March 13, 2013, 08:58:48 AM
 #8

Well, you could make it virtual, as in a huge order causes slippage but the price resets on the next time you get an update from Gox. On the other hand that would only lead to people dumping a million of single Bitcents instead of 10k BTC at once... Undecided

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 13, 2013, 09:10:59 AM
 #9

Well, you could make it virtual, as in a huge order causes slippage but the price resets on the next time you get an update from Gox. On the other hand that would only lead to people dumping a million of single Bitcents instead of 10k BTC at once... Undecided

The goal of the game is to test your market prediction abilities, not one's (theoretical) ability to manipulate the market with a huge amount of coins or dollars.  The game should work as well with $50 base capital  as it would with $5000.

Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
March 13, 2013, 10:46:18 AM
 #10

One of my ideas is to do something like a http://en.wikipedia.org/wiki/Parimutuel_betting of options (similar to the "binary options" thread here). You could simulate these. On one hand with parimutel betting the house never can loose, on the other hand however when betting you don't know how much you'll earn. Also the earlier you bet (especially on something like BTC prices) the worse, as you cannot observe the market, other bets and their predictions as well as having less money for a longer time.

As you only deal with "play money" you could offer parimutel options, but keep the wagers secret until the deadline has passed.

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 16, 2013, 08:41:53 PM
 #11

I have updated the chart and made a public demo. Have a look here:
http://goxgame.sytes.net/demo/

Expect some bugs and you cant trade without login.
You can click the legend to show/hide various curves.  More depth info and volume are coming soon.
Monster Tent
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
March 16, 2013, 09:49:20 PM
 #12

Pretty nice execution  Smiley

Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 17, 2013, 02:23:23 PM
 #13

Pretty nice execution  Smiley

TY Smiley

Added volume bars and fixed a bunch of bugs. Performance should be way better too now.
Next: depth chart
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 17, 2013, 11:24:59 PM
 #14

Major update.
-Added depth info in a novel way, so you can see evolution of the market depth. I think thats a first?
Of course its limited,  I only chose a few points to store (a few more than being shown currently). I only started logging those a few hours ago, so if you zoom out, you will get straight lines for the depth.
-More bugs and performance fixes

Feedback is welcome.
stephwen
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
March 19, 2013, 02:32:35 PM
 #15

Hi,

Do you plan on creating an API or will it be web-based only?

Nice work btw.
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 19, 2013, 03:05:50 PM
 #16

Hadnt thought of an API yet. Maybe I will do that at some point, but for now Im focusing on making it work at all. Currently trying to get socket.io to work as Mtgox websockets prove incredibly unreliable (ie all the missing data). After that I will have to finish the ordering process and game logic, plus some reporting. After that and a succesfull trial, if there is enough demand, I might implement an API if you want to test your trading bot skills.
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
March 19, 2013, 05:13:15 PM
 #17

login still isnt working...

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 19, 2013, 06:44:41 PM
 #18

I actually deleted your account as I uploaded a new db.. sorry about that, but for now the focus is on getting gox to work at least a bit more reliably, without that, the trading doesnt make too much sense.
Puppet (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1040


View Profile
March 21, 2013, 01:12:05 PM
 #19

lots of small updates. added a shoutbox, some dynamic images behind the charts etc.



The Mtgox api seems to be working fairly well now too, so I will concentrate on the actual game now. Stay tuned
inh
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
May 02, 2013, 07:23:27 AM
 #20

I want to play, how do I make an account? Cheesy
Pages: [1] 2 »  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!