Bitcoin Forum

Bitcoin => Project Development => Topic started by: Puppet on March 12, 2013, 12:37:54 AM



Title: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 12, 2013, 12:37:54 AM
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:

http://storage7.static.itmages.com/i/13/0318/h_1363562430_6948924_c25d6675b7.png

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.


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: K1773R on March 12, 2013, 08:42:46 PM
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 :P)

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


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 12, 2013, 09:26:44 PM
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 :P)

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?


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: danieldaniel on March 12, 2013, 09:48:11 PM
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 :P)

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!)


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Sukrim on March 12, 2013, 09:52:08 PM
Are trades executed against existing offers or just against the latest trade price? Meaning: Is there slippage?


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 12, 2013, 09:57:44 PM
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 :).


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 12, 2013, 10:00:02 PM
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.


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Sukrim on March 13, 2013, 08:58:48 AM
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... :-\


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 13, 2013, 09:10:59 AM
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... :-\

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.



Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Sukrim on March 13, 2013, 10:46:18 AM
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.


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 16, 2013, 08:41:53 PM
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.


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Monster Tent on March 16, 2013, 09:49:20 PM
Pretty nice execution  :)


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 17, 2013, 02:23:23 PM
Pretty nice execution  :)

TY :)

Added volume bars and fixed a bunch of bugs. Performance should be way better too now.
Next: depth chart


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 17, 2013, 11:24:59 PM
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.


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: stephwen on March 19, 2013, 02:32:35 PM
Hi,

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

Nice work btw.


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 19, 2013, 03:05:50 PM
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.


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: K1773R on March 19, 2013, 05:13:15 PM
login still isnt working...


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 19, 2013, 06:44:41 PM
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.


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Puppet on March 21, 2013, 01:12:05 PM
lots of small updates. added a shoutbox, some dynamic images behind the charts etc.

http://storage4.static.itmages.com/i/13/0321/h_1363871334_4302486_5bac1a21ee.png

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


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: inh on May 02, 2013, 07:23:27 AM
I want to play, how do I make an account? :D


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: monsterer on May 16, 2013, 08:59:44 PM
These charts look absolutely stunning - if this project has died, please do something with these charts! :)


Title: Re: [ANN] GoxGame. So you think you can trade?
Post by: Therealcos on June 17, 2013, 07:33:28 AM
Is this project dead? :(