Bitcoin Forum

Economy => Services => Topic started by: poikkeus on March 05, 2014, 06:17:24 PM



Title: xBot - Professional trading robot (DISCONTINUED)
Post by: poikkeus on March 05, 2014, 06:17:24 PM
http://oi60.tinypic.com/1z3a0le.jpg
DEMO version available with test-mode fully enabled!
xBot is a fully-automatized trading robot platform which supports BitStamp and BitFinex. I've developed and tested this since November, 2013. The bot is coded with Java so it works on Linux, Mac and Windows. No GUI.
http://s13.postimg.org/csc6obkqv/xbotscreenshot.png

Features
- Test-mode for back-testing and real-time testing
- 7 supported indicators: MACD, 2 EMAs cross, EMA & price cross, bid sum/ask sum ratio trend, thin asks/thin bids, SMA & price cross, VWAP & price cross
- Use custom time intervals like 4 min, 17 min or 63 min (anything higher than 1 min)
- Switch between configs on fly
- Create CSV files of your backtest runs for analyzing them in Excel by making charts of them etc.
- Works in command line/terminal so you can leave it on at dedicated linux server in a screen and check it with SSH with your android/meego/maemo phone or win/linux/mac pc
- Draw chart picture files of every indicator

How it works
All trades are made based on calculated risk points which may be positive or negative. Positive value is bullish and negative is bearish. The risk points are calculated by six different indicators (depending on their configuration). Risk points are then used to calculate your stake-% which means how much of your all money should be in BTC at the moment. Then the bot will sell or buy to reach the stake-% we want. If you are a programmer you can see from this code how it calculates the points: http://pastebin.com/embed_iframe.php?i=07vXxrqq

The bot uses 100-365 days of history data for calculations. One calculation takes 5-100 milliseconds depending on your CPU speed and selected interval.

Configuring it takes a lot of time because the bot is not simple. You should back-test every config before putting it in real use.

At first run the bot will download a lot of history data. You need 150 MB of disk space for the extracted file. After the first time those files (.csv and .gz) can be deleted because the bot will store the data in it's own formats which are 15 MB only (own file for both real-time and offline usage).  First start will take 5-10 min.

I recommend a dedicated Linux server for real use so you can run it 24/7. If you need help with linux stuff, contact me.

Fore more defailed information see these files (included in the download too) or post a question  :)
- ReadMe.pdf (http://www.btcharts.tk/xbot/ReadMe.pdf)
- Config_explanation.xlsx (http://www.btcharts.tk/xbot/Config_explanation.xlsx)

Pricing:
- 1 month €10.00 EUR
- 3 months €25.00 EUR
- 6 months €50.00 EUR
- 1 year €95.00 EUR

One license should be used from one computer only. When license expires, bot will disable trading but stay on.
Payment methods: Bitcoin (BitStamp price, contact me (https://bitcointalk.org/index.php?action=pm;sa=send;u=169531)) or PayPal (click here (http://license1.webatu.com/paypal/)). I make all licenses manually so there will be 0-12 hour delay. I will send e-mail with adownload link for full version of the bot with personal license included for your selected time length.

Contact information:
In case of Java problems, you have something to ask or you want to purchase the license with BTC, contact me.
e-mail: goxbot.servicedesk(at)gmail.com
IRC: keus @ Freenode or IRCnet
BitcoinTalk: poikkeus


Download link (http://www.btcharts.tk/xbot/xbotdemo.zip)
Demo version (real-trading disabled). Open ReadMe.pdf to get started. No API key needed for demo.

Need some tips with configuring? I'm here at this forum to answer all your questions  :)

I've set the best configuration I've found as the default configuration file. Below is an old chart of the results compared to Mt.Gox bitcoin price. It is a long-term config... It does a trade at every 7 day in average.
http://www.btcharts.tk/xbot/chart7.png (http://www.btcharts.tk/xbot/chart7.png)

The bot can also generate a status html page for www-monitoring if you've set up a http-server.
http://oi59.tinypic.com/2w38f8p.jpg

Source code?
This bot is not open-source at the moment. There is a repository at BitBucket but it's private. I can give access to a trusted bitcointalk member to check it's legit if this is needed. If you are one, PM me.

Some other configs
-- coming soon
-- post your own!

http://www.btcharts.tk/indicators.png
http://btcharts.tk/walls.png


Title: Re: xBot - Professional trading robot for BitStamp
Post by: poikkeus on March 07, 2014, 09:37:51 PM
Big update coming (not very soon though): auto-configuring mode (learning AI). I want to know how good it could be. Before that only little updates. I'm also gonna check  http://publib.boulder.ibm.com/infocenter/tivihelp/v15r1/topic/com.ibm.itm.doc_6.2.1/icon_checked.gif BitFinex API

All ideas are welcome.  :)


Title: Re: xBot - Professional trading robot for BitStamp
Post by: Camille on March 08, 2014, 11:06:29 AM
Hi,

I'm gonna test it seems very good with all indicators combined !

As for new uptades why not focusing in accepting all majors exchanges ?
It's not a very big work and it will make your bot more popular !


Title: Re: xBot - Professional trading robot for BitStamp
Post by: poikkeus on March 08, 2014, 11:09:31 AM
Hi,

I'm gonna test it seems very good with all indicators combined !

As for new uptades why not focusing in accepting all majors exchanges ?
It's not a very big work and it will make your bot more popular !

Hey,

All exhanges aren't providing trading history through their API which is needed for this bot. Mt.gox provided full history but bitstamp and bitfinex gives only 1-4 hours back. I can get the rest of the needed trading history from bitcoincharts.com API. BTC-E doesn't provide trading history at all.  :-\

So BitFinex support is coming.


Title: Re: xBot - Professional trading robot for BitStamp
Post by: poikkeus on March 09, 2014, 01:38:39 PM
Version 1.512 released

- Now you can draw charts of order book and depth. See my charts here: http://btcharts.tk
- BitFinex support still in progress


Title: Re: xBot - Professional trading robot
Post by: CC23 on March 09, 2014, 03:28:43 PM
Has anyone been trying this out? I'm currently backtesting around a bit with the demo version - but with another bot I got burned quite a bit, so.. anyone using this apart from the creator and actually profiting?


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 10, 2014, 05:14:58 PM
Now lower prices!
Version 1.514 released. Fixed little bugs with fee calculation in test mode. BitStamp uses doubles for their values... rofl.

Remember: you can always check for new version with this command:
Code:
checkupdates


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 10, 2014, 11:55:24 PM
New version coming again!  ;D This version will draw chart of indicators' with configured interval so you can easily see "where its going at".
http://s17.postimg.org/kq7do6d9r/indicators.png


Title: Re: xBot - Professional trading robot
Post by: daybyter on March 11, 2014, 03:40:21 PM
I'm working on a java tradelib. Might be interesting for you.

https://github.com/ReAzem/cryptocoin-tradelib


Title: Re: xBot - Professional trading robot
Post by: OlliBrandt80 on March 11, 2014, 03:45:39 PM
Well! That's great and the prices are good ! I'm really interesting in testing it


Title: Re: xBot - Professional trading robot
Post by: kroleg on March 11, 2014, 05:36:45 PM
Wow! That's what I really need!)) XBot - like the name of the bot  ;)


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 11, 2014, 08:57:56 PM
Version 1.516 released:
- Now you can have charts of all indicators the bot is using with your configuration (see my charts here: http://www.btcharts.tk/)
- Default config is set to real-time test and charts will be saved to "status" folder
- New config parameter: "draw_charts"

I made a video of backtesting the bot. For the video I changed code to save over 100 000 chart pictures then joined them into one video. Looks cool.
http://www.youtube-nocookie.com/embed/NaiyYtLaVkU?rel=0


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 13, 2014, 11:40:36 AM
Version 1.519 released:
- Little bit faster backtesting (more optimization)
- "interval" and "delay" parameters are now in minutes
- new default config (more passive but even better results in backtests)
- clearer output for backtests


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 15, 2014, 10:53:46 PM
Version 1.530 released:
- New command "vol x" for calculating volume of last x hours
- Volume chart
- VWAP indicator
- Little bit clearer output.. still some work do to with this one
- "avg. price" is now called SMA


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 16, 2014, 11:27:53 AM
All feature requests are welcome! Also requests for different kind of help files.

What do you think about scripting? The configuration would have same stuff but you could change the code which calculates the risk points. Currently it looks like this with all indicators in use but the sciprting language would be simpler: http://pastebin.com/embed_iframe.php?i=07vXxrqq


Title: Re: xBot - Professional trading robot
Post by: marcovaldo on March 17, 2014, 10:05:01 PM
I've been using this bot for one month. I bought it as goxbot and after mtgox went down he sent me xbot for bitstamp.

My own config is almost same than the default but ratio trend indicator is in more important role. Though it seems it's best to react to big movements like very long emas crossing - if we are only using these technical indocators.
Therefore the bot will be quite passive with good configuration... but it stays up all day and night. I made some profit with that drop from 670 to 620 (was sleeping) but since that it's been holding mostly.

Still waiting for bigger movement. It performed well in backtests.


All bots perform well in backtests, because it does not have any delay or bugs.
Anyway, it is useless to buy a bot.



If it is a good bot, noone will never sell it.
And if it is a bad bot, it is not a good idea to buy it.


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 18, 2014, 04:41:10 PM
I've been using this bot for one month. I bought it as goxbot and after mtgox went down he sent me xbot for bitstamp.

My own config is almost same than the default but ratio trend indicator is in more important role. Though it seems it's best to react to big movements like very long emas crossing - if we are only using these technical indocators.
Therefore the bot will be quite passive with good configuration... but it stays up all day and night. I made some profit with that drop from 670 to 620 (was sleeping) but since that it's been holding mostly.

Still waiting for bigger movement. It performed well in backtests.

All bots perform well in backtests, because it does not have any delay or bugs.
Anyway, it is useless to buy a bot.



If it is a good bot, noone will never sell it.
And if it is a bad bot, it is not a good idea to buy it.

Hey, thanks for pointing out your doubts  ;)

The backtest works in same way than real-time trading but the bot is set into a simulation where all data it "sees" is history data and it goes trough it but I guess you talk about network bugs? The bot is quite well tested and I run it 24/7 with two different settings. One bot is only for making charts though (trading disabled): http://www.btcharts.tk/ If I find any bugs, I fix them immediately because I need the fix myself too and then I release an update. You can check updates with "checkupdates" command.

You said all bots perform well in backtests. Could you tell me atleast one which has made more profit than by holding bitcoins if we talk about 2013 for example? Chart like this is very usefull though I don't know if you can generate CSV file with other bots for doing charts with excel: http://www.btcharts.tk/xbot/chart7.png It shows your current account balance converted to usd compared to bitcoin price during the time period of the backtest.
Code:
USD_balance + BTC_balance * Last_price * (1 - fee)

Delay is never higher than API lag which is usually 1-3 seconds at BitStamp if your own connection isn't bad. The bot does it's calculations in 100-200 milliseconds with slow CPU and 1-10 ms with fast CPU. You can set "show_calculation_times" to "true" in config if you want to see calculation times.

Why wouldn't I sell a good bot? That makes no sense. I don't lose anything if others are using it too. All the money I've got from selling this bot has gone to my exchange wallet for bot-trading.  :)

I dont get people with such a negative attitude., you have bad experiences about bot? Why not try the real-time test ::)


Title: Re: xBot - Professional trading robot
Post by: Agent99 on March 20, 2014, 07:41:32 PM
Well, nice to hear about such cool staff!
And that's great that previous bugs were solved.


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 22, 2014, 03:50:59 PM
Version 1.541 released:
- "minute_skip" parameter for faster back-testing with a cost of accuracy
- more output in back-tests
- new data format for faster calculations (full history re-download is needed)


Title: Re: xBot - Professional trading robot
Post by: mobile4ever on March 25, 2014, 02:15:58 AM
Thanks for another bot to make money with. Will there be a GUI soon?


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 26, 2014, 06:49:38 PM
Thanks for another bot to make money with. Will there be a GUI soon?

Hey,

I think only reason for a GUI would be features like inspecting your backtest with charts generated on fly. You could see table for profit of each day in the test and then you could select some days and view chart which shows all indicators and the points where it bought or sell etc for analyzing and making configs better. Stuff like that... or you have something in mind?

Those features might come in the future but will take a long time and they aren't now in the top of my priorities in developing this bot. Currently I should focus in making a better ReadMe because I think it's very hard to start configuring it without previous knowledge. I'll also make a list of example configs but at this moment I'm working with new version (again) and testing the new features..


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 28, 2014, 10:32:35 AM
Version 1.544 released:
- indicator points double -> integer (no decimals anymore, for accuracy use higher number e.g. 1234 instead of 1.234)
- negative points allowed in config (except ratio trend and thin ask/bid indicators [not needed])
- indicator locking ability for disabling neutral signal
- more helpfull backtest log
- more optimization again
- "debug" parameter and command for more output
- new default cfg using indicator locking


Title: Re: xBot - Professional trading robot
Post by: ryanmnercer on March 28, 2014, 10:41:28 AM
How do we know this isn't smuggling a trojan into our system to get at our wallets? Or that 3 months in the future it's not going to empty out any balance in our accounts?


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 28, 2014, 10:43:28 AM
How do we know this isn't smuggling a trojan into our system to get at our wallets? Or that 3 months in the future it's not going to empty out any balance in our accounts?
By checking the source code. Though this bot should be ran at a dedicated server for it being 24/7 running and you don't have to put your wallet at the server. Also it can't empty your exchange wallet if you don't add "withdraw" rights for the API key you create at bitstamp.com (the right is not needed).  :)

PS: http://jd.benow.ca/ Scroll down the page and drag&drop xbot.jar file to the "live demo" and you can view all source code (of any other java application too!).


Title: Re: xBot - Professional trading robot
Post by: ryanmnercer on March 28, 2014, 11:04:34 AM
Your paypal link is timing out...


Title: Re: xBot - Professional trading robot
Post by: poikkeus on March 28, 2014, 11:06:30 AM
Your paypal link is timing out...

Weird! It works for me. Here is another: http://54.186.135.53/xbot


Title: Re: xBot - Professional trading robot
Post by: ryanmnercer on March 28, 2014, 12:11:49 PM
Your paypal link is timing out...

Weird! It works for me. Here is another: http://[Suspicious link removed]/xbot

I'll give it a go again tonight most likely, think I'll give it a one month spin. Need to wipe one of my servers first.


Title: Re: xBot - Professional trading robot
Post by: poikkeus on April 06, 2014, 12:21:02 PM
New version coming! I've made backtesting 20-50 times faster, but now it uses more RAM too. You need at least 2 GB ram. I have 8 GB and I run four tests at the same time.

I'll release this version when I've brute forced the best possible bot configuration for last 4 months in backtest.  :D Also some testing to do with real-time use, because I had to change so many things...
www.youtube-nocookie.com/v/i9R3swQcSfM


Title: Re: xBot - Professional trading robot
Post by: poikkeus on April 14, 2014, 08:51:00 AM
The new version isn't coming before I've finished BitFinex support.


Title: Re: xBot - Professional trading robot
Post by: poikkeus on June 14, 2014, 01:44:04 PM
Version 1.572 released!

- BitFinex support (only exchange limit orders)
- Very stable, my own bot has currently over 2 months up-time
- More parameters for back-testing (filtering some configs out etc.)
- Added pre-calculations for super fast backtesting but you need more than 2 GB of RAM
- New default config. Still a long-term trader, but pretty good at it. I use it myself.


Title: Re: xBot - Professional trading robot
Post by: liteon on June 14, 2014, 11:02:56 PM
Well, nice to hear about such cool staff!
And that's great that previous bugs were solved.

Yeah, I like the idea and concept.
However, is it safe?
I mean, is it safe about 100% positive balance?


Title: Re: xBot - Professional trading robot
Post by: poikkeus on June 15, 2014, 11:02:23 AM
Well, nice to hear about such cool staff!
And that's great that previous bugs were solved.

Yeah, I like the idea and concept.
However, is it safe?
I mean, is it safe about 100% positive balance?

No, I can't promise something like that. Even the best config I have does some bad trades, but still has done more profit than loss on average, more profit than holders would've got.


Title: Re: xBot - Professional trading robot
Post by: Joca97 on June 15, 2014, 12:33:58 PM
did anyone test this product and what is it succsess?


Title: Re: xBot - Professional trading robot
Post by: poikkeus on June 23, 2014, 02:15:34 PM
Version 1.574 released

- Now uses the new minimum order amount for BitStamp (5 USD)


Title: Re: xBot - Professional trading robot
Post by: poikkeus on August 19, 2014, 07:38:00 PM
New long-term config (+1021% in last 10 months - best so far):

Code:
"interval": "40",
"delay": "289",
"sensitivity": "16",
"sma_adjusts_sensitivity": "1",
"hold_strongness": "1.352531049421612",
"max_stake_vs_risk_divergence": "100.0",
"static_pts": "0",

"emavsprice_ema": "366",
"emavsprice_mindiff": "3.506009795661502E-4",
"emavsprice_maxdiff": "59.99441945736523",
"emavsprice_points": "-41",
"emavsprice_locking": "false",

"emacross_ema1": "44",
"emacross_ema2": "289",
"emacross_mindiff": "-0.24288282712380288",
"emacross_maxdiff": "762.5783249189612",
"emacross_points": "75",
"emacross_locking": "false",

"macd_fast_ema": "194",
"macd_slow_ema": "152",
"macd_signal_ema": "39",
"macd_divergence_limit": "3.6757589696096002",
"macd_points": "23",
"macd_locking": "false",

"sma_hours": "2.2580520208693273",
"sma_limit": "47.86170800755874",
"sma_points": "0",
"sma_locking": "false",

"vwap_hours": "357.9617537753719",
"vwap_limit": "28.248904483156437",
"vwap_points": "-49",
"vwap_locking": "false",

"near_asks_vs_bids_limit": "0.1",
"near_asks_vs_bids_points": "20",
"near_asks_vs_bids_locking": "false",

"ratio_trend_hours": "2",
"ratio_trend_limit": "1",
"ratio_trend_points": "15",
"ratio_trend_locking": "false",

"max_lag_secs": "120",


Title: Re: xBot - Professional trading robot
Post by: poikkeus on September 24, 2014, 12:17:55 PM
Version 1.58 released
- Bitcoincharts no longer works for bitfinex. Data sources for bfx are now completely from bitfinex API. First start is super slow now but I will look for a way to fix this.

Demo version is not updated yet, but you can use bitstamp in the demo.


Title: Re: xBot - Professional trading robot
Post by: poikkeus on January 26, 2015, 07:59:31 AM
xBot licences are no longer for sale! Old licences will still work though and I keep the bot updated as I still use it myself too.