Pages:
Author

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

newbie
Activity: 43
Merit: 0
With the new version i still have problems with bitstamp. The bot executes the orders and eventually tells me they were filled and changes the coin position but my wallet amount doesn't change at all. When i log in to Bitstamp i see that no order was received at all. At least the message that my trade amount exceeds my wallet amount is gone.

I have also got some problems with the backtesting function. It seems to give me completely random results. I let the backtest run, clear my statistics, switch back the coin position to its original state, change no settings at all, let the backtest run again and get completely different results. The results range from nice profits to huge losses so i really can't trust any of these results at the moment.

Another problem is with the auto setup of indicators: For some indicators this works, for example MACD. I add the last x prices and press auto setup, the graph and the tuning of the indicator changes. For others, e.g. Aroon the graph does change once i press auto setup but the indicator settings won't so i can't really comprehend what the auto setup actually did.
newbie
Activity: 14
Merit: 0
@Stephan
I just wanna say Overcome fee insurance NOT working in 0.9.9.2



Have you tried 0.9.9.3?
hero member
Activity: 966
Merit: 513
Thanks Stephan, haven't had a parsing error since updating to 0.9.9.2.
hero member
Activity: 952
Merit: 502
SAPG Pre-Sale Live on Uniswap!
@Stephan
I just wanna say Overcome fee insurance NOT working in 0.9.9.2
newbie
Activity: 14
Merit: 0
0992 is a big improvement for me, much less memory usage so i can do a lot of backtesting/tuning thanks for this! Smiley

just updated to 0993, and 1 configured bot is missing now  (2014-29-03 10:24:57.398   |ERROR|   There is an error in XML document (79, 38).)

from last 12 hours i have the following issues:

on CEX.io i started with only btc available in my wallet with only HTS trading:
I had 4 bots running  (all the available btc pairs)with a static amount. for nmc i now have 3x trade NMC amount in wallet, for ghs i have 2x trade amount in wallet. and had to cancel 5x buy order ( 5x trade amount) and 2x sell order (2x trade amount) that went out of control. (I did not used the new timeout insurance) Something is seriously wrong here  Huh
(already experience same behaviour on cryptsy a while ago with HTS) 

on cryptsy i had fee overcome active with a small loss (this is fixed with 0993?)

deactivating bots until 0994...
sr. member
Activity: 449
Merit: 250
Software developer
@silverston:
If you really want to see the insurances at work (test them) then the best thing that you could do is setup a trade-bot with the new BlindIndicator and the Insurance that you can to test. This will show exactly how they will behave in real usage.

@all:
I have detected a minor issue with updating the fee percentages. Therefore new version has been released. Chances are small this issue will show itself, but still i recommend to get this update.
hero member
Activity: 952
Merit: 502
SAPG Pre-Sale Live on Uniswap!
@silverston:
If you connect to the exchange then its much more likely fee percentages will come out properly.  Wink

Making very, very tiny losses if you trade pure on the fee costs is not unknown. They can happen because of 2 reasons. First because of the used market prices on trading itself and secondly due rounding problems. The last one is the most known cause.

You can avoid this from happening, just by using the price percentage change -insurance and configure this at 0.21% for example.

But in general, with these numbers you have posted, i really would advice you to add 1 or 2 trade indicators.

 Grin
Indicators

Aroon Indicator (Aroon-up back 25, Aroon-down back 25) (BTCe LtcBtc 2min)   
MACD-Histogram Indicator (Trend type: EMA, Short 12, Long 26, Signal 12 MA Cross-over) (BTCe LtcBtc 10min)

If I use price percentage change -insurance and configure at 2% +and- . for example I buy at 0.028. Insurance not allow sell lower than 0.02856 and if price reach this level, bot sell. and conversely, insurance not allow buy higher than 0.028 if price goes down. is it correct?
sr. member
Activity: 449
Merit: 250
Software developer
@silverston:
If you connect to the exchange then its much more likely fee percentages will come out properly.  Wink

Making very, very tiny losses if you trade pure on the fee costs is not unknown. They can happen because of 2 reasons. First because of the used market prices on trading itself and secondly due rounding problems. The last one is the most known cause.

You can avoid this from happening, just by using the price percentage change -insurance and configure this at 0.21% for example.

But in general, with these numbers you have posted, i really would advice you to add 1 or 2 trade indicators.
hero member
Activity: 952
Merit: 502
SAPG Pre-Sale Live on Uniswap!
@Stephan
How can you explane this:

Code:
28.03.2014 22:18:00 1,02 coins sold for a price of 0,0276 and bought before for 0,028 making total profit of -0,000408
28.03.2014 22:16:42 Insurances agree on Sell command
28.03.2014 22:16:42 Sell signal produced by the indicator(s).

Insurance Overcome fee enabled!!!!


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

I dont think it was firewall problem. I make clean install and  clean licensing. After than all is good  Smiley

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

edit

Code:
2014-28-03 10:49:39.326	|ORDER_STACK|	{BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status COMPLETED
2014-28-03 10:49:39.343 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status COMPLETED
2014-28-03 10:55:55.383 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,02769333 Btc/Ltc} changed to status QUEUED
2014-28-03 10:55:55.383 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,02769333 Btc/Ltc} changed to status QUEUED
2014-28-03 10:55:55.383 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status EXECUTING
2014-28-03 10:55:55.578 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status FAILED
2014-28-03 10:55:55.594 |ORDER_STACK| Order BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc failed: Error placing order on BTCe.
2014-28-03 10:57:09.051 |ERROR| Error retrieving open orders from BTCe.
2014-28-03 10:57:09.051 |ERROR| Error retrieving open orders: Error retrieving open orders from BTCe.
2014-28-03 10:57:09.637 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status QUEUED
2014-28-03 10:57:09.637 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status QUEUED
2014-28-03 10:57:09.637 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status EXECUTING
2014-28-03 10:57:09.821 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status FAILED
2014-28-03 10:57:09.838 |ORDER_STACK| Order BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc failed: Error placing order on BTCe.

2014-28-03 10:58:23.188 |ERROR| Error retrieving open orders from BTCe.
2014-28-03 10:58:23.193 |ERROR| Error retrieving open orders: Error retrieving open orders from BTCe.
2014-28-03 10:58:23.617 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status QUEUED
2014-28-03 10:58:23.623 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status QUEUED
2014-28-03 10:58:23.623 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status EXECUTING
2014-28-03 10:58:23.820 |ORDER_STACK| {BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc} changed to status FAILED
2014-28-03 10:58:23.841 |ORDER_STACK| Order BTCe Buy 1,02 Ltc @ 0,0277 Btc/Ltc failed: Error placing order on BTCe.


and again sell lower buy higher?
I dont like this Smiley
sr. member
Activity: 449
Merit: 250
Software developer
@Stephan
What about my problem Huh
Still nothing...

edit.

strange, but this version working.

My guess is that your firewall setting has been reset. That was the cause of your problem, its a configuration issue of some kind inside the firewall.

Good to read its solved this way.  Smiley
hero member
Activity: 952
Merit: 502
SAPG Pre-Sale Live on Uniswap!
@Stephan
What about my problem Huh
Still nothing...

edit.

strange, but this version working.
sr. member
Activity: 449
Merit: 250
Software developer
We can not go back more then 2 days... yet. At the next update we will add support for 2 days, 1 week, 2 weeks, 3 weeks and 4 weeks of backtesting/auto-tuning. Smiley
newbie
Activity: 47
Merit: 0
Hi Stephan,

When I restarted the server it did not prompt for an update. I think because I have the 0992 beta it thinks it's the latest? Or does it update automatically?

Did you copy the test version over the existing version? If so then i can recommend to download the software again at the "My Account" page. Once you have it i can recommend to overwrite everything again. If you do so then you do not have to setup the APIs again and the trade-bots will be saved too. Smiley

Thanks, that worked. Any way to backtest further back than 2 days?
sr. member
Activity: 449
Merit: 250
Software developer
Hi Stephan,

When I restarted the server it did not prompt for an update. I think because I have the 0992 beta it thinks it's the latest? Or does it update automatically?

Did you copy the test version over the existing version? If so then i can recommend to download the software again at the "My Account" page. Once you have it i can recommend to overwrite everything again. If you do so then you do not have to setup the APIs again and the trade-bots will be saved too. Smiley
newbie
Activity: 47
Merit: 0
Hi Stephan,

When I restarted the server it did not prompt for an update. I think because I have the 0992 beta it thinks it's the latest? Or does it update automatically?
sr. member
Activity: 449
Merit: 250
Software developer
The HaasBot has been updated to version 0.9.9.2

Please restart your trade-server to get the update notification and agree to it if you want to update.

The main target was to bring 100% stability to the APIs for all users now. And beside this some minor new things are added.

This is the summary of the changes implemented into this update.
- Exchange disabled: BTCChina has been temporary disabled until approval (finally!) arrives
- Alt-coin added: Ctm, Kdc, Lyc, Pot, Zeit (and more)
- Alt-pairs added: (to many to list)
- New: Balloon messages about the orders and there state (it is enabled by default but it can be switched off inside the server settings)
- New: Inside the Classic interface there is a new status-row visible showing the orders as they are send and progressed. (the web interface will follow later)
- Trade Indicator added: BlindSignal (watches the coin position and just send out a trade signal. To be used by advanced strategies only!)
- Insurance added: CancelOrderAfterXmin (can cancel a order faster then 10minutes, 1 minute is the lowest)
- Changed: Several API changes have been made to solve the remaining connection and/or trade problems.
- Changed: Several kernel changes have been made to solve memory usage problems. (not everyting is fully solved here, sorry)
- Changed: The time-out for a open order has changed from 2 minutes to 10 minutes (use the new insurance to reduce this time-out)
- Changed: The weight of the prices read was calculated on a EMA, but this is back to SMA. (very minor impact, just a very, very slight change on the moving averages)
- Bugfix: Usage of the comma decimal in the Classic Windows Interface is fixed
- Bugfix: Small improvement to update fee of a trade-bot. (in case it fails for some reason)

We hope this update will solve all issues reported the past time and we also hope nobody is having anymore problems with the APIs. If you still encounter a problem, please contact us and we will try to solve it directly with a more recent build.

In case this update solves indeed all problems then we will get back to feature development. I can already disclose i have a appointment with the university near my home to work out some new trade indicators.

One last thing.... be aware of how you use the new BlindSignal indicator. If you do not see what you can do with it then i recommend to leave this indicator alone.
hero member
Activity: 966
Merit: 513
Recently we have started a test on the new update, this test has gone well. We got back 4 bug reports of some small issues that are solved by now. Today we will create another test version and if that version solves the 4 reported bugs then the update will be released.

We are expecting to launch the update tomorrow, the 28th of March 2014.

BTW The issues reported above my post here are solved. But we will not push the update today already to avoid any other new problems.

Thanks. Also, can we please please change the tradebot overview screen on the web interface back to what it was before? It's completely incomprehensible now. It takes 10x as long to check over the status of your bots.
legendary
Activity: 1851
Merit: 1020
Get Rekt
Quote
As to BTCe - it seems that it won´t be necessary to trade there, if the news are right Sad
I think you mean BTCChina  Wink
sr. member
Activity: 476
Merit: 250
I´ve got a picture! Haha!
Is this bot easy to use? What do I have to do before it starts trading if I use btc-e?
I saw someone here talking about cex-io, can I use this bot at there too?

Its trivial to use it, but way much harder is to force it to do what You want (But with new beta its flawless so far). And even harder is to forge good strategy.

As to BTCe - it seems that it won´t be necessary to trade there, if the news are right Sad

EDIT - Eeeh sorry - I mean BTCChina ofcourse
sr. member
Activity: 449
Merit: 250
Software developer
Is this bot easy to use? What do I have to do before it starts trading if I use btc-e?
I saw someone here talking about cex-io, can I use this bot at there too?

Easy to use is a relative thing. Some users find it hard to operate and some find it easy, i can not give a real image of it. But what i can tell is that you need to configure the API and you need to configure a trade-bot itself. To get a impression how this i done you can have a look at these links:

https://www.haasbot.com/drop-loss-strategies/
https://www.haasbot.com/basic-strategies/
https://www.haasbot.com/basic-rsi-strategies/

This is all very basic, but it gives a good impression how it works. Its also a good guideline for some basic setups.

Edit:
Bitstamp, BTC-e, Cex.IO, Cryptsy and BTCChina* are supported.

* ) BTCChina does not work, we are waiting for approval to trade on LTC too. I have been told its madness over there and that is why this takes so long. But i keep the pressure on it.
Pages:
Jump to: