Author

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

sr. member
Activity: 449
Merit: 250
Software developer
It might be an option (Checkbox: Allow Slippage) that you could configure in the application.

This is not as simple as you write it down. Adding an checkbox is easy, but making it work is a different story. As i said, i will have a look into this. Right now my focus is on version 0.9.

Quote
Imho a weakness in your application is that users can not configure their own strategies to a wide extend. For example a cool feature would be to have trading strategies as plug-ins and people could write their own plug-ins for their own needs (for example write a small script in VB or .NET).

Also for a default strategy the most effective I have tried out recently on NASDAQ data was a combination of MACD and RSI (Only trade if both indicators signal a buy and sell if both indicators signal a sell). In the BTC rally of 2013 RSI would have indicated overbought but MACD would have confirmed the rally trend and you wouldn't have missed out on that epic rally. Then when MACD discovered a turn around, RSI would still be overbought and you would sell nearly at the top.

Just wait till you get your hand on version 0.9. With that version you are able to build up a trading strategy yourself. You will be able to combine more indicators resulting into 1 trade signal. Benchmarking can be done, currency data files can be shared. Results can be shared and verified and strategies can be shared and discussed.

And i will remain active and i will keep on adding indicators, exchanges and new coins.

But if you really want something to program yourself you could use the Command Line Trade Bot for this. With this software you can setup the entire logic in the development environment you want. That piece of software offers a interface over the Command Prompt or using a local webserver.
sr. member
Activity: 462
Merit: 250
Well i think Yes and No at the same time.

Yes because it should solve the issue, in principle. But no because you think to know what the currency is doing, while in fact nobody knows. You could make a buy at both 100 Usd and 101 Usd, but the currency can drop after this to 99 Usd and then you may have missed a better momentum. The same applies sell moment, you can sell it for 150 Usd and 149 Usd. But the currency can go up again to 151 Usd and there will be the momentum you will be losing.

Do not get me wrong because i like your suggestion and i will have an look if i could support this. But i can not promise anything yet, it will not be easy. I have to think out a better and more stable solution then you are suggesting. I must remain focused on 24/7 trading of course and protecting everybody from losses or wrong trades.

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

Edit: I am searching for somebody who want to help the German market. It means you have to translate the software for me to German and after this you can do affiliation to help to get the software sold. Affiliation is rewarded per sell.

Hi, thanks for taking the time in explaining your thought process and being open to suggestions.
What you just wrote is indeed the issue with allowing slippage, losses might be minor or significant and it's hard to determine.

It might be an option (Checkbox: Allow Slippage) that you could configure in the application.

As far as trading strategies go:

Imho a weakness in your application is that users can not configure their own strategies to a wide extend. For example a cool feature would be to have trading strategies as plug-ins and people could write their own plug-ins for their own needs (for example write a small script in VB or .NET).

Also for a default strategy the most effective I have tried out recently on NASDAQ data was a combination of MACD and RSI (Only trade if both indicators signal a buy and sell if both indicators signal a sell). In the BTC rally of 2013 RSI would have indicated overbought but MACD would have confirmed the rally trend and you wouldn't have missed out on that epic rally. Then when MACD discovered a turn around, RSI would still be overbought and you would sell nearly at the top.
sr. member
Activity: 449
Merit: 250
Software developer
Well i think Yes and No at the same time.

Yes because it should solve the issue, in principle. But no because you think to know what the currency is doing, while in fact nobody knows. You could make a buy at both 100 Usd and 101 Usd, but the currency can drop after this to 99 Usd and then you may have missed a better momentum. The same applies sell moment, you can sell it for 150 Usd and 149 Usd. But the currency can go up again to 151 Usd and there will be the momentum you will be losing.

Do not get me wrong because i like your suggestion and i will have an look if i could support this. But i can not promise anything yet, it will not be easy. I have to think out a better and more stable solution then you are suggesting. I must remain focused on 24/7 trading of course and protecting everybody from losses or wrong trades.

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

Edit: I am searching for somebody who want to help the German market. It means you have to translate the software for me to German and after this you can do affiliation to help to get the software sold. Affiliation is rewarded per sell.
sr. member
Activity: 462
Merit: 250
Stephan, any reaction on this?

Sorry, i have not read the your response.

The Simple Trade Bot has been build for both the short therm and long therm. So any order that will get stocked will simply be forfilled in time. A currency evolves in waves of going up and down. And as long this is stable you do not have to expect orders to be stocked. You can just wait it out. The only case this could happen is if the overall currency is dropping or raising.

There is not really a solution for this problem, because like you say i can cancel an order. But an order can be filled for a part at the exchange, so in case i cancel it you will only be getting a part of the coins back. (the other coins are exchanged already)  In this case your trade-amount will be wrong and everything will go wrong from this point on. I could re-stabilize it using logic and All-in, but a second problem will come. That problem is that i have no way of controlling the minimum trade amounts, so this could also result in getting stocked too. (trade amount to lot to trade -> no trade made, coins stocked) So in the end there is no good solution to solve this issue, the only way is manually control this issue if it happens.

The only logical solution I see is to allow slippage. For example:

- The bot identifies a rally and would like to buy 10 BTC (The current market price is 100 USD)
- The bot is able to buy 5 BTC at 100 USD and another 5 BTC at 101 USD.
- The rally ends and the bot would like to sell the 10 BTC bought. (The current market price is 150 USD)
- The bot is able to sell 5 BTC at 150 USD and another 5 BTC at 149 USD.

Slippage also has it's disadvantage that you will always pay a premium for what you want but at least your order size will be consistent and always filled.

What do you think?
sr. member
Activity: 449
Merit: 250
Software developer
Stephan, any reaction on this?

Sorry, i have not read the your response.

The Simple Trade Bot has been build for both the short therm and long therm. So any order that will get stocked will simply be forfilled in time. A currency evolves in waves of going up and down. And as long this is stable you do not have to expect orders to be stocked. You can just wait it out. The only case this could happen is if the overall currency is dropping or raising.

There is not really a solution for this problem, because like you say i can cancel an order. But an order can be filled for a part at the exchange, so in case i cancel it you will only be getting a part of the coins back. (the other coins are exchanged already)  In this case your trade-amount will be wrong and everything will go wrong from this point on. I could re-stabilize it using logic and All-in, but a second problem will come. That problem is that i have no way of controlling the minimum trade amounts, so this could also result in getting stocked too. (trade amount to lot to trade -> no trade made, coins stocked) So in the end there is no good solution to solve this issue, the only way is manually control this issue if it happens.
sr. member
Activity: 462
Merit: 250
@San1ty:
I simply avoid it to happen at all. Smiley

If you use technical market indicators you will notice they act before the lowest or highest point is reached. Of course this can cut you off some better momentum, but that is why i created version 0.9. Using more indicators an better momentum can be found. And again, there will be overhead inside it.

In the rare case a order be at the situation you have described (0,1%) the overall best solution is chosen: Wait it out. A currency goes up and down in time and the price will be reached most of the times. In absolute rare case it does not, you need to cancel the order yourself.

Hmm, my opinion is that a bot should be completely self sufficient.
I would like to suggest you add a clean-up procedure that checks your open orders that are no longer relevant and cancels them.

Otherwise if you leave the bot unattended for a longer period, you might have an unpleasant surprise.

Stephan, any reaction on this?
sr. member
Activity: 449
Merit: 250
Software developer
Stephan, can you explain the difference between the EMA and EMA_Alternative signals?

EMA uses the last value as the last reference point, EMA_Alternative uses the current value as the last reference point. (easy explanation)
The mathematics can be found here: http://en.wikipedia.org/wiki/Moving_average

Quote
I have only really been using high-low and that can work. It is also really good with the new jump out function since that works as a stop loss. You do have to reset the high-low indicator to reflect current prices.  I am still trying to understand the new indicators.

I keep on pushing to use the benchmark tool. It is very easy to find out how the indicators responses and when the given thresholds are met. (under which condition)

Think about this:
Setup a trade bot and do not activate it yet. Add the indicators you want to try. Wait to collect data or click the benchmark tool and Load a currency file. As long as you have some data to run a benchmark you are good. Now, go to the Indicators tab and browse through the available Graphs. You can reflect each individual indicators response here. Reflect it to the graph displayed above it.

If you see one of more that is giving you good buy/sell momentum (read this from both graphs) you can repeat the steps you made before but with variants indicators on the few you like. (different settings!) You can repeating this process as many times as you want. But be sure to test the indicators you find best to more currency data. This way your logic will work always or most of the times.

After this, well... activation and happy trading. Cheesy

As soon as you have used the software for a while, click the benchmark button and save your currency data. This way you use it later on again to refine your trading strategy using the steps described before. Wink
newbie
Activity: 2
Merit: 0
I have only really been using high-low and that can work. It is also really good with the new jump out function since that works as a stop loss. You do have to reset the high-low indicator to reflect current prices.  I am still trying to understand the new indicators.
full member
Activity: 168
Merit: 100
BuyAnythingWithBitcoin.com
Stephan, can you explain the difference between the EMA and EMA_Alternative signals?
full member
Activity: 168
Merit: 100
BuyAnythingWithBitcoin.com

Hum that does not embed them the way I see in some posts here.  Anybody?

Not 100% sure but should work by putting link to pic between [ img] [/ img] tags (without the spaces)

Should be a pic of Woodstock below:



Don't think you can embed directly, the files have to be hosted somewhere else online.

Edit: Yep that worked  Smiley

Yup, that worked.  So I have to find a place to put the pics, accessible to the net & link to it.  Hum, an awful lot of work.  Oh well, guess what I had to say/show was not all that important anyway.

To switch gears, has anybody has success with signal triggers besides RSI?  I so, how are you using/setting them up?
newbie
Activity: 4
Merit: 0

Hum that does not embed them the way I see in some posts here.  Anybody?

Not 100% sure but should work by putting link to pic between [ img] [/ img] tags (without the spaces)

Should be a pic of Woodstock below:

http://i406.photobucket.com/albums/pp147/mulan1581/snoopy/bth_woodstock.jpg

Don't think you can embed directly, the files have to be hosted somewhere else online.

Edit: Yep that worked  Smiley
member
Activity: 64
Merit: 10
I am working on finessing the RSI settings to resist buys on price slides, to buy as close as possible to price reversals.  I was going to post some screen caps... but am not seeing how to embed pictures...?

I just put them on http://s1329.photobucket.com/user/enki74/media/trading_zps9f479024.jpg.html

Hum that does not embed them the way I see in some posts here.  Anybody?
Its highly prized secret only known by a few privileged Smiley I have asked and asked keep trying tho I will be interested maybe there is a forum thread on the subject maybe we should start one Smiley
full member
Activity: 168
Merit: 100
BuyAnythingWithBitcoin.com
I am working on finessing the RSI settings to resist buys on price slides, to buy as close as possible to price reversals.  I was going to post some screen caps... but am not seeing how to embed pictures...?

I just put them on http://s1329.photobucket.com/user/enki74/media/trading_zps9f479024.jpg.html

Hum that does not embed them the way I see in some posts here.  Anybody?
member
Activity: 64
Merit: 10
I am working on finessing the RSI settings to resist buys on price slides, to buy as close as possible to price reversals.  I was going to post some screen caps... but am not seeing how to embed pictures...?

I just put them on http://i1329.photobucket.com/albums/w544/enki74/trading_zps9f479024.jpg
full member
Activity: 168
Merit: 100
BuyAnythingWithBitcoin.com
I am working on finessing the RSI settings to resist buys on price slides, to buy as close as possible to price reversals.  I was going to post some screen caps... but am not seeing how to embed pictures...?
sr. member
Activity: 449
Merit: 250
Software developer
The "Jump out" is also known as a "Drop-loss". What it does is it monitors the current buy price. If the current buy price has become lower then the "Jump out" or "Drop-loss" then all your coins will be sold and trading will be stopped. This will prevent you from any big losses during sudden drops.

If the price gets back above the "Jump out" price then the software will resume trading.

By default the "Jump out" is set to 95% of the currency buy price. So the currency needs to drop at least 5% until this safety kicks in. But you are free to change this value.

By the way:
This is a feature from version 0.9, it is not present in version 0.8.x
member
Activity: 64
Merit: 10
Thanks for the screen cap enki74, but what are you using for settings?  RSI signals?  At what threshold?

Don't answer if you are of the opinion that this type of information should be kept "secret".  Many feel they have the "secret formula, and are afraid if they share it too many people will learn it and it will not work anymore.

This position is not well thought out.  Trading has been around so long, there are no "secrets".  There are only informed decisions & strategies.  I learned everything I know from other people, and will in turn pass that to anyone who wants to learn.  We all learn from each other, and IMO it makes us all better traders; especially is a small community like this one (STB).

That said, I am currently testing the RSI signal generator.  I want it to buy/sell fast on sudden, pronounced movement (spike) but not necessarily on more gradual movement (trend).  I also want it to recover as soon as possible from an 'out of trade range' condition.  Toward that end, I am using RSI30 with 10% & 90% thresholds and the minimum drop settings allowed.  The bot is making decent trades with these settings, but as I learn to use it better, I hope to refine that.



Im using the standard RSI settings 30-70 Its done pretty good and after my lesson in trade amounts Im makeing more on each trade however I have been burnt by the jump out price any help on that? Whats the idea with that keep it tight jump out a lot or leave it loose?  Thanks for sharing here I look forward to lots of "smart" trading Smiley
full member
Activity: 168
Merit: 100
BuyAnythingWithBitcoin.com
Great news Stephan.

I am looking forward to more people getting a hold of this tool so I can compare notes!


sr. member
Activity: 449
Merit: 250
Software developer
I can only hope the new version will become more clear to everybody, thats was one of the main targets. And of course what would be really cool is that more will come from this. Like sean notices, a community of people discussing different kind of strategies would be cool. It is possible, the software offers the abilities for it and because of things like the benchmarking tool can check every claim made by everybody. Theoretically it would also be possible to join in the trade contests, one of the things i was hoping for. This way i really can proof the software works and can make good profits. but of course this has to be discussed first, they need to accept the technical calculation methods i have implemented and the results. So reguarding that... well i just need to wait and see what will be possible.

Tonight i will upgrade the Alpha version to Alpha-2. This version will again be send to the Alpha testers. This will be one of the last Alpha versions that i made. With this version i hope to show all the reported issues are solved and its ready for release. The Beta release is planned for the end of next week. All the registered users will be updated by then. I am not fully sure if i would be able to be ready with all the translations, so it is possible i will do a release in English only. The other languages will follow every soon if this happens.


Something else... yesterday i had another person who was fallen for the scammed version. I am posting it here to really point out the danger of it:
Quote
hey , hows it going . i purchased your simple trade bot , i havent got the chance to use it yet as my windows machine is broken . my friend , who i think is scamming me and has possesion of my expensive miners told me your trade bot has a signiture that prevents it being copied . he asked me for half of the cost of the bot which i paid , he told me it he couldnt gve me a copy which is what i paid for , i was just wondering if this is true ?

I can not help this person, the only thing that remains for me to say is that this person was not smart doing this. He claim to have lost control over its mining rig, i can only imagine how big the damage could be.

But again, this person now has a problem. Even if he had a working version without scam trash inside it he would have a problem. The Bitstamp API needs to be updated before the end of the month and he is missing everything about version v0.9. So again..... this is not smart to do. The final price for him is now way higher.  Sad
full member
Activity: 168
Merit: 100
BuyAnythingWithBitcoin.com

That said, I am currently testing the RSI signal generator.  I want it to buy/sell fast on sudden, pronounced movement (spike) but not necessarily on more gradual movement (trend).  I also want it to recover as soon as possible from an 'out of trade range' condition.  Toward that end, I am using RSI30 with 10% & 90% thresholds and the minimum drop settings allowed.  The bot is making decent trades with these settings, but as I learn to use it better, I hope to refine that.



Sean, are you using 0.9 alpha or 0.8 - I'm still using 0.8, I didn't get on board soon enough to get in on the alpha testing.  When you say minimum drop settings, are you referring to the profit and drop safeties?  I think I'm coming to the same conclusion, the closer these are to the exchange fee (ie 2 times instead of the 6 to 12 mentioned in the setup instructions), the more likely it is to execute an order that ends up profitable more often. 

While watching for a few hours, using RSI 30 with 30/70 and 60 second interval, a setting at 2 times the rate would have executed 3 times with a profit of approximately 0.4% for each trade, while a setting at 5 times would have executed a buy order, but never a sell.

Would love to compare notes and see how different approaches affect the results.

Yes, I am, and I am using V.9.  It is far easier to use (IMO) to set & see what is going on.  I am sure you will be very impressed with it.

Smiley
Jump to: