Pages:
Author

Topic: Haasonline Simple Trade Bot For BTCe and Bitstamp[Main topic] - page 53. (Read 416703 times)

sr. member
Activity: 449
Merit: 250
Software developer
@xpumpa:
Thank you very much for this! I fully support this kind of initiatives.

--------------------------

Alright people, i have got the new update prepared and its launched. If you restart your software the update form will popup and if you agree the update will be executed.

Before i have done this release i have confirmed Cryptsy is stable again in this build. For as far as possible again, the last part depends a little on the API of Cryptsy itself. (i have been told this is caused by a server overload)

At this moment it seems Bitstamp throws an error inside the log, we are keeping close track to the events around this. If needed an small update will be pushed. But is does not yet look like its related to the software of API. All older versions show this message too at this moment.


Because this a quit a big update i have prepared some common questions and answers. I hope they will cover the most things.


How do i get Cex.IO in?
This is done exactly the same way as you setup any other exchange.


How to get to the Windows Classic interface?
Its described here: (https://www.haasbot.com/change-interface/)

Please note, some interface error messages are known to appear. It does not affect the software itself, so do not be afraid of them. We are on this to solve it better. (it happens due the multi-threaded setup of the software)


How to auto-tune an trade-bot?
Please follow the next steps to make optimal use of the auto-tunig of a trade-bot.

1. Add a new trade-bot
2. Setup the exchange, currency and the trade-amount
3. Add the indicators that you want to use to the trade-bot
4. Make sure the indicators run at the update speed you want have.
5. Go to the edit trade-bot -page and next to "Backtest" you will see a new button called "Auto-tune". Click on this one.
-> As you can see it is recommended to not add the Safeties and Insurances yet. (but its supported!)
6. Press the "Auto-tune" and give your computer a minute or 2 to progress it all (normally this goes faster of course)
-> If everything has gone well the chart will show the trade momentum. If it does you can review your trade-bot like you do if you do a backtest or like it has ran the pas hours.

You might want to make some changes to your strategy. But simply adding new or different indicators is not recommended. In general i recommend to remove ALL the trade indicators and repeat the steps 4, 5 and 6.

By default the auto-tune will fail if a safety responds, therefore again the recommendation to just add them later or to make them temporary inactive.

Please understand this kind of technology is impressive, but it has its limits. Sometimes a strategy is just impossible due the nature of the indicators. But do not give up yet and retry it in a day or 2 and then i might work.

BTW Within the logger the tuning information can be traced. You can see the engine really at work there.


How does the new safties work?
Its described here: (https://www.haasbot.com/roof-in-safties/)


How does the new MA-histogram work?
Let me first avoid confusion, this is a MACD-Histogram but it is SMA based instead of EMA. Therefore this name.

Some extra info about all the moving average based indicators can be found here (https://www.haasbot.com/moving-average-based-indicators/) (it is a work in progress this page)


How does the Dynamic High/Low work?
First of all, this indicator is the first and only exclusive indicator for the Advanced license. Users with the Donation and Simple license do not have this indicator.

This indicator can be compared to the price high/low indicator but there is a small benchmark build-in to set the prices dynamicly. Making it an very interesting indicator.


How does the new insurances work?
Its described here: (https://www.haasbot.com/fee-insurances/)
and here (https://www.haasbot.com/price-insurances/)
and here (https://www.haasbot.com/remaining-insurances/)


Want to be a little proud too?
This software, this update contains the auto-tune ability for trade-bots. This is the first time this feature is recorded for the crypto coins. You as a user are one of the few world-wide to be able to have access this kind of technology.  Cool
hero member
Activity: 952
Merit: 502
SAPG Pre-Sale Live on Uniswap!
i made slight modification template for list trading bots. Reorganized and added some buttons.
i hope i did not break any rules...

Just unpack and replace this file in folder Interface (BACKUP OLD FILE!)
It is not necessary to restart server.



http://imgbox.com/YvWWww7T
http://www.filedropper.com/runningtradebots

Great! Thanks
newbie
Activity: 18
Merit: 0
i made slight modification template for list trading bots. Reorganized and added some buttons.
i hope i did not break any rules...

Just unpack and replace this file in folder Interface (BACKUP OLD FILE!)
It is not necessary to restart server.

http://t.imgbox.com/YvWWww7T.jpg

http://imgbox.com/YvWWww7T
http://www.filedropper.com/runningtradebots
sr. member
Activity: 449
Merit: 250
Software developer
At this moment the backtest will go back for 26-27 hours in time. The source of the prices are my own server, i have a own cache server that reads/polls the prices and that information is send to you if you start the software. Once started the software will begin to collect prices on its own. (this way every user stay unique) You can fully trust the prices collected, those are solid and double checked. At the first sign of trouble the cache system will go down to avoid problems at your software (at the start). (it only happened to Cryptsy a few times before, the the software did its work back then to correct the situation)

I can not explain the exact situation you describe when a buy or sell signal is produced. But keep in mind, you are looking into the future at the charts, the bot can not do this. It uses plain math to find out the situation and based on this it responds. At the backtest this goes step by step meaning it will really reproduce the real-time situation. But the bot does no know the future, it just estimates it.

I would like to remind everybody who read this that this problem of finding a good strategy is really soon a part of the past. There is improvement at ready inside the update of version 0.9.8.0 to make this entire problem go away (for as far as possible). Most beta testers have reported this new feature works very good. Even people who where totally unable to make profit are now making profit thanks to this. Once i got the approval of all the beta testers i will proceed to launch this update. (i hope this will be today, i have high expectations of this feature)
KS
sr. member
Activity: 448
Merit: 250
Right now I'm testing the backtest, which is doing fine (when starting from the right position) in this uptrend within the general downtrend (the latest pennant should break soon, we'll see how it goes).

I don't understand how I get the values I get though, I shouldn't have a 477 sell, the price is being held by USD/BTC walls between 550 and 580 ATM and it hasn't dropped that far since 2 days ago. So here I'm wondering what data is really used by the backtest and how I can be certain it's the correct one.
sr. member
Activity: 449
Merit: 250
Software developer
I can also tell that its sure possible to use this indicator stand-alone. But to make that work you need to expand the scope of the time-span the RSI watches. To make this work you can choose to increase the update timer to 2 minutes (or longer, i use normally 4min) or you could extend the length. By default 30 prices are used, but if you double this the scope will become lager too. By the end both solutions will just expand the time-span, giving a better relative position both in there own way.

My bad... I thought it was set to 30 days, so I set it back to 14  Embarrassed (). Now you tell me it's really 30 prices (trades?), so I should probably set it much higher than 14.

What' s the max value the length can be set to? (60 or 90 are indicated in the help, but can it do moar?).

Thx.

edit: with RSI 40/60 with length at 90 and 2 min timer, and overcome fees insurance, I got 1 sell at 477 (no buys). What the Huh We haven't seen that price for much longer than 1 or 6 hours. Is there a way to check my bots are running with current data? (the server was restarted yesterday morning)

edit2: the timer I was previously running was also 2 mins. I tried 1/2/4/10mins and settled for 2mins.

It looks like you have read the documentation well, normally the RSI is expressed in days instead of smaller timer. And normally the RSI would also work better based on days, but for the crypto coins you do not want to analyse on this high level. It just changes to fast, so that why a timer is used instead.

Setting it to 14 would give it a really fast response, personally i do not recommend this kind of low values unless you have adjusted the update timer of course. 30 is the default value and 60 and 90 are some good suggestions to try. But of course you are free to enter any length you want, is all (dynamically) supported.

It is also sure possible that you did only get a buy or a sell and nothing else. I can not be sure for 100% but i think this was caused by the fee-overcome insurance and the prices themselves. If the bot can not make any profit then it just halts trading to avoid losses. I mentioned the prices already and they are most likely the cause of this, i just guess a downtrend is going on. the the the most known cause of the fee-overcome to halt the trading.

Just to tell: In case we go into a downtrend you can choose to do 2 things, try to trade on it (disrecommended) or leave it up to the drop-loss safety to protect you. Personally i recommend to stop trading and sell all until the bottom is found. From here i restore trading (of the dynamic drop-loss does this for me) and using the uptrend (or stable trend) is becomes possible earn coins again.

BTW this might be usefull to read to, it explains (and shows) the effect of using a different update speeds. (https://www.haasbot.com/update-speed-and-trading/)
KS
sr. member
Activity: 448
Merit: 250
I can also tell that its sure possible to use this indicator stand-alone. But to make that work you need to expand the scope of the time-span the RSI watches. To make this work you can choose to increase the update timer to 2 minutes (or longer, i use normally 4min) or you could extend the length. By default 30 prices are used, but if you double this the scope will become lager too. By the end both solutions will just expand the time-span, giving a better relative position both in there own way.

My bad... I thought it was set to 30 days, so I set it back to 14  Embarrassed (). Now you tell me it's really 30 prices (trades?), so I should probably set it much higher than 14.

What' s the max value the length can be set to? (60 or 90 are indicated in the help, but can it do moar?).

Thx.

edit: with RSI 40/60 with length at 90 and 2 min timer, and overcome fees insurance, I got 1 sell at 477 (no buys). What the Huh We haven't seen that price for much longer than 1 or 6 hours. Is there a way to check my bots are running with current data? (the server was restarted yesterday morning)

edit2: the timer I was previously running was also 2 mins. I tried 1/2/4/10mins and settled for 2mins.

edit3: starting from a bought position I get a sell at 477, run it again (from a sold position, with or without clearing the stats, with or without adding 120-480 mins of data to the indicator chart), I get 3 buys and 2 sells in the 560-590 range (but it could be the dataset from 2 days ago).

Do you plan on setting the "historical" time/price in the backtest log so we can manually check the trades against historical data from other sources? (instead of having the backtest time shown for every trade)
hero member
Activity: 966
Merit: 513
Thanks Stephan. Drop me a link when you're ready. The backtesting, autotune, and new signals were great. Keep up the good work.
sr. member
Activity: 449
Merit: 250
Software developer
Slight delay on new update
Today we wanted to post a new update for everybody. But because of an error in our “final” test we have a slight delay on the new update. We will do our best to solve this and retest everything again. The current version is (of course) not affected by this.


@trubar and @solarion:
The "Open order" signal was holding you both back in the test. I have this solved now. As soon as i got some few other things figured out i would like to do another beta test before the real release.


I bought back in dec, didn't have much success but I'm willing to try this update out. will I have to pay to update?

No you do not have to, there is a donation license available for you.  Smiley
newbie
Activity: 37
Merit: 0
Yes. Thank you for info. I will do the same.
hero member
Activity: 966
Merit: 513
@trubar

That's the problem I had. Are you using the beta 0.9.8.0 by chance? Also the open orders screen was not working.

I had to revert to 0.9.7.0 to get trades moving again.
newbie
Activity: 37
Merit: 0
In my log trade are lines:

26.2.2014 21:36:38 There are open orders.
26.2.2014 21:36:38 Indicators are in agreement of a sell command.

and it wont sell. Is it because of open orders? Open orders are my manual trading.

I have enough founds/coins for trade.
legendary
Activity: 927
Merit: 1000
I bought back in dec, didn't have much success but I'm willing to try this update out. will I have to pay to update?
newbie
Activity: 18
Merit: 0
Suggestion:

Tradebots list
- Divide amount by thousand.. Altcoins are really big. 3.000.000 or 3 000 000.
- Calculate and show profit in USD with actual price of cryptocoin
- Calculate and show totalprofit with costs (now it is without costs)
- Bottom of table SUM of profits...
sr. member
Activity: 449
Merit: 250
Software developer
True, its inside the nature of the RSI indicator. It in the name too, because RSI stands for relative strength index, in other words it relative. Its also fully true this indicator is used to get the best trade momentum on the short period, so combined with for example MA or MACD this indicators will work very good. (or you can use a StochRSI or stochastic too instead)

I can also tell that its sure possible to use this indicator stand-alone. But to make that work you need to expand the scope of the time-span the RSI watches. To make this work you can choose to increase the update timer to 2 minutes (or longer, i use normally 4min) or you could extend the length. By default 30 prices are used, but if you double this the scope will become lager too. By the end both solutions will just expand the time-span, giving a better relative position both in there own way.

Tuning the RSI with any other indicator can be hard, especially if you miss the total overview of whats happening. But this problem will soon become a part of the past. The update that is being tested right now will offer the ability to "auto-tune" an entire trade-bot at once. By offering this ability you can leave it up to the software to work out a good strategy. Wink

I will post some advises later on how to make optimal use of this new tuning feature, after the update is released. (i do this to avoid confusion right now)

Of course this technology is NOT fully solid. In some cases at some indicator combinations it just impossible to find out a good strategy. Or if the prices are in a downtrend, in that case the tuning will fail to because at that moment its up to the Safeties to do there work. In a stable or upward trend this is different, in these cases the tuning will work at its best.


About Cryptsy... it took us 2 beta testes but it looks like we have Crytpsy for the biggest part up and running again. I measure a success rate of more then 95% of reading the prices properly again. I also have had contact with Cryptsy themselves to ask whats going on and how to solve it. They have told me the main cause of the problems is a overload on there API. Thats why the prices are not coming back, especially now in the current version because the orderbook is just missing from the API. The work-around solves this for the biggest part at the moment. I hope Cryptsy itself will solve the server overload so we can get that remaining 5% inside the success rate.

About MtGox... At the current moment MtGox is down, trading has halted and the API does not show anymore activity. For the existing users this is not a direct problem, because the software just halted to in this situation. But the future for MtGox is unclear, personally i think they will be gone in a few days. So we are making preperations to move MtGox out of the software. No worry, the code will stay so if they will make a comeback we are ready. But we will remove them from the interface itself, its seems to serve no use to keep them in there if the trading is halted.
newbie
Activity: 43
Merit: 0
I also find the backtest behavior strange. It never seems to catch the latest prices/trends. Say I do an RSI-only backtest, with default values, I was testing it yesterday during the crash and it never picked up the  400$ trades, always the high 500$ ones, that were not even in the backtest window (then)?!? It would also consistently buy high and sell low, even when it was tested in the uptrend, after the price had rebounded. Huh
I guess that is due to the nature of the RSI indicator. As far as i understand it this indicator is not meant to be used alone but in combination with a trend indicator (such as MACD). You can use BitcoinWisdom to visualize the RSI indicator quickly. There you will see that if you use only this it will give you bad trades quite often. I also read somewhere that RSI+MACD fits sideways markets rather than trending markets (such as we're having right now) but since im not deep enough into this i can't confirm this.

@Stephan: Since this is my first post in this thread i also want to say that i really appreciate your work. I've been using STB since last december and have also tested an alternative. What i have learned so far is that it is really hard to tune a profitable bot and requires constant changes. Your work really seems to be going towards making this process easier, or even possible at all for people that don't really know much about technical analysis and i like that! So keep up the good work Smiley
KS
sr. member
Activity: 448
Merit: 250
Edit:
I have written down the suggestions posted by the users. The login screen and the expansion of the backtest are scheduled to be added on the next update cycle. For the login i can be 100%, but for the backtest expansion i am not fully sure yet. The possible bottleneck could be users who use an older computer, we need to be sure those people can also use the longer backtest too. But i will do my best to work this out in time.

It might be useful to display a backtest progess bar/% with a "cancel" button, in case you want to stop it for reason XYZ (like your computer is too slow or you want to change sth).

I also find the backtest behavior strange. It never seems to catch the latest prices/trends. Say I do an RSI-only backtest, with default values, I was testing it yesterday during the crash and it never picked up the  400$ trades, always the high 500$ ones, that were not even in the backtest window (then)?!? It would also consistently buy high and sell low, even when it was tested in the uptrend, after the price had rebounded. Huh
newbie
Activity: 42
Merit: 0
@Stephan

Please drop all support for those crooks over at MtGox.  They are officially a dead exchange as of last night.

Thanks.
sr. member
Activity: 449
Merit: 250
Software developer
The beta test is again open for version 0.9.8.0. Please submit me you email per PM so we can check you license and i will send the needed information to get in the beta test group.

The rated risk is low for this beta test.

If the test goes well then the update is scheduled in 2 days.

Edit:
I have written down the suggestions posted by the users. The login screen and the expansion of the backtest are scheduled to be added on the next update cycle. For the login i can be 100%, but for the backtest expansion i am not fully sure yet. The possible bottleneck could be users who use an older computer, we need to be sure those people can also use the longer backtest too. But i will do my best to work this out in time.
hero member
Activity: 966
Merit: 513
.45BTC to upgrade from STB. .9BTC w/o upgrade coupon.

The new product is not without it's flaws, but it's miles ahead of the old simple trading bot.
Pages:
Jump to: