Bitcoin Forum

Economy => Services => Topic started by: caktux on December 22, 2013, 07:52:14 PM



Title: ZeroGox - Hosted MtGox trading bot
Post by: caktux on December 22, 2013, 07:52:14 PM
ZeroGox is a hosted version of goxtool.

  • SSH to your trading bot
  • Up and running in minutes
  • Includes a balancer and buy/sell strategies
  • Track your bot's performance in your Stats page
  • Simulate trades (paper trading) to test your settings (alpha)
  • 1 month free trial
  • Safe, simple, no bullshit and open source

Hosted:
https://zerogox.com (https://zerogox.com)

GitHub project (usage, docs and code):
https://github.com/caktux/goxtool (https://github.com/caktux/goxtool)

Launch promotion - bitcoin giveaway! (starts January 3rd 2014 until all claims have been made)
ZeroGox will be giving away 10 mBTC to the first 10 users (9 left!) who start live trading. See https://zerogox.com/giveaway (https://zerogox.com/giveaway) for details and winners (if shared).


http://www.zerogox.com/sites/zerogox.com/files/imagecache/screenshot/screenshot.png


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 23, 2013, 04:12:03 AM
What trading strategies does it use please?


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: infinitybo on December 23, 2013, 04:28:48 AM
The screen is confusing my eye balls anyways it looks great !


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: Amph on December 23, 2013, 08:43:33 PM
What trading strategies does it use please?

buy cheap sell high i suppose  :D


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 24, 2013, 04:14:27 AM
What trading strategies does it use please?

buy cheap sell high i suppose  :D

That's a goal, not an actual algorithm you can code up :)


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on December 24, 2013, 06:16:27 AM
The main strategy is the balancer which you can now fully simulate, so you can try it out without risking anything (quite fun actually). You get stats and graphs for both live and simulation logs on ZeroGox or separate raw logs using just goxtool and the strategy. It's also just a great interface for normal trading using the built-in dialogs. You can tweak the code while it's running inside your container and pretty much customize it however you want, but performance is limited so crazy algorithms won't work unless they're just as efficient. Make sure to read the GitHub page to learn about goxtool and the included strategies, then try it locally and/or on ZeroGox.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 24, 2013, 07:12:27 AM
The main strategy is the balancer which you can now fully simulate, so you can try it out without risking anything (quite fun actually). You get stats and graphs for both live and simulation logs on ZeroGox or separate raw logs using just goxtool and the strategy. It's also just a great interface for normal trading using the built-in dialogs. You can tweak the code while it's running inside your container and pretty much customize it however you want, but performance is limited so crazy algorithms won't work unless they're just as efficient. Make sure to read the GitHub page to learn about goxtool and the included strategies, then try it locally and/or on ZeroGox.

Sorry, still lost me. "Balancer" is not a trading strategy you can look up on investopedia. Are you using EMAs? Something else?


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on December 28, 2013, 01:27:01 AM
Sorry, still lost me. "Balancer" is not a trading strategy you can look up on investopedia. Are you using EMAs? Something else?

They call it "rebalancing": http://www.investopedia.com/terms/r/rebalancing.asp (http://www.investopedia.com/terms/r/rebalancing.asp)


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 28, 2013, 02:52:27 AM
Sorry, still lost me. "Balancer" is not a trading strategy you can look up on investopedia. Are you using EMAs? Something else?

They call it "rebalancing": http://www.investopedia.com/terms/r/rebalancing.asp (http://www.investopedia.com/terms/r/rebalancing.asp)

OK thanks. I'll read up on it at investopedia and also read more at goxtool.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on December 28, 2013, 03:16:50 AM
The exact strategy is called "Constant-weighting asset allocation" in http://www.investopedia.com/articles/04/031704.asp (http://www.investopedia.com/articles/04/031704.asp) and is defined as a "Constant ratio plan" here : http://www.investopedia.com/terms/c/constant-ratio-plan.asp (http://www.investopedia.com/terms/c/constant-ratio-plan.asp).


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 28, 2013, 03:21:29 AM
The exact strategy is called "Constant-weighting asset allocation" in http://www.investopedia.com/articles/04/031704.asp (http://www.investopedia.com/articles/04/031704.asp) and is defined as a "Constant ratio plan" here : http://www.investopedia.com/terms/c/constant-ratio-plan.asp (http://www.investopedia.com/terms/c/constant-ratio-plan.asp).

Fascinating stuff, all new to me. Problem is I understand EMA and some other technicals very well, but not "Constant-weighting asset allocation"

Guess I need to "play" to learn :)


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 28, 2013, 03:24:47 AM
Documentation says (very succinctly) this:

"Balancer

Portfolio rebalancing bot that will buy and sell to maintain a constant asset allocation ratio of exactly 50/50 = fiat/BTC."

Can someone explain in simplish terms why this is seen as a "good" strategy? Under what market conditions does it perform well? Anyone been using it the last few months? :)


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 28, 2013, 03:32:20 AM
OK, just thinking out loud ...

In a bull market, its going to perform relatively badly because you should be invested in btc
In a bear market, its going to perform relatively badly because you should be invested in $

Volatile market? :)

Or I suspect I am missing the point completely of what this does .........

Anyway, I can't try it for a further 5 days because my mtGox account was shut down for 7 days because one of their stupid security cock-ups, so any reply in that time much appreciated.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on December 28, 2013, 04:54:55 AM
You no longer need a MtGox account to try it, check the simulation.log file if you run it locally or the Simulation tab in your Stats page on ZeroGox.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 28, 2013, 06:48:36 AM
You no longer need a MtGox account to try it, check the simulation.log file if you run it locally or the Simulation tab in your Stats page on ZeroGox.

OK great, thanks!!


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: yuppie on December 28, 2013, 07:59:21 AM
Anyone have success with this?


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on December 28, 2013, 08:47:25 AM
Anyone have success with this?


That's what I was wondering. But I guess its what the simulation tab is for :)


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on January 02, 2014, 06:16:27 PM
This is totally biased but I'm having success with my service, making a few percents per week in profit, enough to cover server costs even with a few trial accounts running. At worst I'll keep updating it for myself, but I'd prefer to see a small community grow out of this since it's still an open source project before anything else. ZeroGox will still have a few advantages over a local goxtool installation, like graphs, reports and the new IRC bot (say "hi" to ZeroGox on freenode, he could be at your command).

Let me know how your simulations work out!


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: U1TRA_L0RD on January 03, 2014, 11:39:11 AM
What is this bot used for? What does it do?


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on January 04, 2014, 02:37:36 AM
This is totally biased but I'm having success with my service, making a few percents per week in profit, enough to cover server costs even with a few trial accounts running. At worst I'll keep updating it for myself, but I'd prefer to see a small community grow out of this since it's still an open source project before anything else. ZeroGox will still have a few advantages over a local goxtool installation, like graphs, reports and the new IRC bot (say "hi" to ZeroGox on freenode, he could be at your command).

Let me know how your simulations work out!

Sorry, I got sidetracked over the new year. Will give it a bash this week for sure and report back.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on January 04, 2014, 02:39:02 AM
This is totally biased but I'm having success with my service, making a few percents per week in profit, enough to cover server costs even with a few trial accounts running. At worst I'll keep updating it for myself, but I'd prefer to see a small community grow out of this since it's still an open source project before anything else. ZeroGox will still have a few advantages over a local goxtool installation, like graphs, reports and the new IRC bot (say "hi" to ZeroGox on freenode, he could be at your command).

Let me know how your simulations work out!

I'm happy you are making some money but with trading the question is always "what risk are you taking to take that amount of profit"?

Can you comment on this at all. What's the risk attached to making the profit you currently make?


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on January 04, 2014, 02:41:56 AM
I just tried to log in and failed, both with my email address and user name. All my passwords are generated and stored in a password manager so I'm 99% sure that is right.

What should I do?


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on January 04, 2014, 03:17:00 AM
I'm happy you are making some money but with trading the question is always "what risk are you taking to take that amount of profit"?

Can you comment on this at all. What's the risk attached to making the profit you currently make?

You're right, that IS the question. Right now goxtool has "cold storage" settings for BTC and fiat, which act like leverage or to "skew" the balancer towards one or the other. If you have 1 BTC and the equivalent in fiat in your Gox account and set those settings to 2 BTC and 2x your fiat balance, then you're running at 3x leverage. The balancer will make bigger trades but you risk running out of fiat if the price drops too much or out of BTC if the price skyrockets. I'm not sure how to calculate and put a number on that risk though. If you run it without using the cold storage settings (the default), the bot would never run out, no matter how high or how low the price goes, so there's very little risk if any by default.

There's already a few protections against bad trades in the balancer but I'll be adding a few more to limit those risks, the most important one being to be able to set reserves so the bot stops if one of the next trades would go above or below a reserve balance. For now you can use the "forced price" feature for more control but keep an eye on the github repo, I'll be adding this reserve setting shortly.

TL;DR - I'm running my instance at around 3x leverage but with a very small price distance to make more volume and lower my fees, so my risk is medium/high on this. However you would get around the same profit % if not higher with no leverage and a price distance above 5%; bigger payouts but less trades.

I hope that answers it :)

Regarding your login please use the password reset, you must have forgotten to change it and still have the initial random password, happens a lot.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on January 04, 2014, 03:58:36 AM
I'm happy you are making some money but with trading the question is always "what risk are you taking to take that amount of profit"?

Can you comment on this at all. What's the risk attached to making the profit you currently make?

You're right, that IS the question. Right now goxtool has "cold storage" settings for BTC and fiat, which act like leverage or to "skew" the balancer towards one or the other. If you have 1 BTC and the equivalent in fiat in your Gox account and set those settings to 2 BTC and 2x your fiat balance, then you're running at 3x leverage. The balancer will make bigger trades but you risk running out of fiat if the price drops too much or out of BTC if the price skyrockets. I'm not sure how to calculate and put a number on that risk though. If you run it without using the cold storage settings (the default), the bot would never run out, no matter how high or how low the price goes, so there's very little risk if any by default.

There's already a few protections against bad trades in the balancer but I'll be adding a few more to limit those risks, the most important one being to be able to set reserves so the bot stops if one of the next trades would go above or below a reserve balance. For now you can use the "forced price" feature for more control but keep an eye on the github repo, I'll be adding this reserve setting shortly.

TL;DR - I'm running my instance at around 3x leverage but with a very small price distance to make more volume and lower my fees, so my risk is medium/high on this. However you would get around the same profit % if not higher with no leverage and a price distance above 5%; bigger payouts but less trades.

I hope that answers it :)

Regarding your login please use the password reset, you must have forgotten to change it and still have the initial random password, happens a lot.

OK - thanks for the risk explanation. Definitely something I need to "experience" to get a full grip on it.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on January 04, 2014, 06:26:21 AM
I see no "simulator" tab on the stats page?

Do I need to do this:

"Connect to this SSH address to access your trading bot. It will change every time you reload your trading bot's container."

before the simulator tab will come up?


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on January 04, 2014, 07:00:40 AM
sorry to be a pita, but I am using OSX, and the ssh isn't working.

I just get "Permission Denied (publickey)", or "Permission Denied (publickey,password)

For reference, on OSX, SSL usage is:

--------
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-I pkcs11] [-i identity_file]
           [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]
--------

I'm not a Unix expert so not sure if OSX implementation of ssl is any different ...

Any ideas?

thx


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on January 04, 2014, 07:21:25 AM
I just get "Permission Denied (publickey)", or "Permission Denied (publickey,password)

You haven't set your public key in your account, it's under the Profile tab which is where all the bot's settings are located.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on January 05, 2014, 02:58:18 AM
I see no "simulator" tab on the stats page?

Simulation tab is back under the Stats page, sorry about that.


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: empoweoqwj on January 05, 2014, 04:29:07 AM
I just get "Permission Denied (publickey)", or "Permission Denied (publickey,password)

You haven't set your public key in your account, it's under the Profile tab which is where all the bot's settings are located.

Ah .... ok. Thank you very much !!


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: gweedo on January 05, 2014, 04:37:08 AM
I just get "Permission Denied (publickey)", or "Permission Denied (publickey,password)

You haven't set your public key in your account, it's under the Profile tab which is where all the bot's settings are located.

I set my public key and it still didn't allow me to login.. does it take some time to propagate?


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on January 05, 2014, 04:53:08 AM
I set my public key and it still didn't allow me to login.. does it take some time to propagate?

Nah you just need to reload your container. I added a note under the public key field and I'll make a complete how-to tonight for all this as I realize I need to make the setup more obvious.

Thanks a lot for your feedback, you're both getting the promo reward even if you don't start live trading. Send your btc address and I'll transfer the 10 mBTC. :)


Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: gweedo on January 05, 2014, 05:07:15 AM
I set my public key and it still didn't allow me to login.. does it take some time to propagate?

Nah you just need to reload your container. I added a note under the public key field and I'll make a complete how-to tonight for all this as I realize I need to make the setup more obvious.

Thanks a lot for your feedback, you're both getting the promo reward even if you don't start live trading. Send your btc address and I'll transfer the 10 mBTC. :)

Ok thanks that worked! and here you can just send it to the address in my sig. Thanks



Title: Re: ZeroGox - Hosted MtGox trading bot
Post by: caktux on January 05, 2014, 05:16:44 AM
Ok thanks that worked! and here you can just send it to the address in my sig. Thanks

Sent! https://blockchain.info/tx/6a5e23c8068bf913831b2c449e05156e3750700c5af3f4594303db3dd2b01dc6