Pages:
Author

Topic: Chrome Browser extension: MtGox trading bot - page 8. (Read 72509 times)

member
Activity: 66
Merit: 10
Yes, MtGox is quite frustrating :/
I just took a quick look at the btc-e API (https://btc-e.com/api/documentation), and the main functions are there. But I can spot one problem right away: You don't seem to be able to place trades at "market price" using their API. So the bot would have to specify a price, which means that there's big risk that orders will not go through...

Anyone know how to deal with that?
What would happen if the bot would place an order with an extreme price?
E.g. when selling, it could try to sell with the price $1 and btc-e will sell at the highest bid?
And when buying, if the bot specifies $10,000, it will start buying at the lowest price asked?
Can we trust that and not end up buying/selling at crazy rates?

My only thought is to consult the ticker api link: https://btc-e.com/api/2/btc_usd/ticker and place orders at the listed buy or sell amounts when placing a trade. It's still possible to miss a trade at those prices, I suppose, but it's fairly likely to execute and it's not likely to be wildly innaccurate. You could always check open orders at the next sample point and if the previous order is still not executed then cancel, I guess. Not sure that's ideal, exactly, but might be worth testing. 
legendary
Activity: 965
Merit: 1000
I think it's great, that you are now working together on such a bot.

But do you really think, it's a good idea to realize it as a browser plugin?

I would recommend to use some lib to connect to exchanges, so you could easily add new exchanges or do trades between 2 exchanges.

newbie
Activity: 46
Merit: 0


Here's some assumptions I made:
* Gox has a big volume, but is unreliable (recent news+api downtime)
* Btc-e has no market orders
* bitstamp follows, and I've been told I could give it a try
* Price on exchanges other than Gox ROUGHLY follow Gox's pattern, with some intrinsic delay
* This bot has its own delay: it buys a bit after the bottom, it sells a bit after the top; this is due to the EMA inertia

So, my idea would be the one of a bot that gets the price data from gox, and trades on Bitstamp (or another suitable exchange )

Provided that some events could heavily  influence the price on this alternative exchange INDIPENDENTLY to what's going on on gox, so further checking is needed, could this be an idea?
newbie
Activity: 42
Merit: 0
Any idea why bot sometimes connect to my account at mtGox sometimes not? Sometime I see connection then don't then I see it again...

EDIT: I have 30 minutes delay in my numbers. Interval is 15 minutes and I see price dropping but on mt.Gox is going up now for about 30 minutes. Or is this EMA effect?
I think mtgox goes down when ever theres a large movement, which is exactly when you dont want it to. I hope someone can code this for btc-e, much more reliable and the lower fees make it much more suitable for this type of trading.

Yes, MtGox is quite frustrating :/
I just took a quick look at the btc-e API (https://btc-e.com/api/documentation), and the main functions are there. But I can spot one problem right away: You don't seem to be able to place trades at "market price" using their API. So the bot would have to specify a price, which means that there's big risk that orders will not go through...

Anyone know how to deal with that?
What would happen if the bot would place an order with an extreme price?
E.g. when selling, it could try to sell with the price $1 and btc-e will sell at the highest bid?
And when buying, if the bot specifies $10,000, it will start buying at the lowest price asked?
Can we trust that and not end up buying/selling at crazy rates?
hero member
Activity: 514
Merit: 500
Any idea why bot sometimes connect to my account at mtGox sometimes not? Sometime I see connection then don't then I see it again...

EDIT: I have 30 minutes delay in my numbers. Interval is 15 minutes and I see price dropping but on mt.Gox is going up now for about 30 minutes. Or is this EMA effect?
I think mtgox goes down when ever theres a large movement, which is exactly when you dont want it to. I hope someone can code this for btc-e, much more reliable and the lower fees make it much more suitable for this type of trading.
hero member
Activity: 826
Merit: 1000
Any idea why bot sometimes connect to my account at mtGox sometimes not? Sometime I see connection then don't then I see it again...

EDIT: I have 30 minutes delay in my numbers. Interval is 15 minutes and I see price dropping but on mt.Gox is going up now for about 30 minutes. Or is this EMA effect?
hero member
Activity: 826
Merit: 1000
Are there any recommended settings for a beginner to start with? And then starts figuring out from there?

EDIT: what about adding a Bollinger band width as a block for not selling or buying where there is not trend... The moment the price jumps it gets wider.
sr. member
Activity: 371
Merit: 250
That is a problem because MtGox sucks.
Just since yesterday we had two periods of outages. At this moment their API/Web is not working.
Add to that MtGox/Dwolla warrant, CoinLab 75 Million, DDos attacks, too frequent outages, api changes without notice and CEOs sitting on plastic balls and we get a platform where some people won't feel safe.
newbie
Activity: 42
Merit: 0
Thanks a lot for this great tool.

Due to the last MtGox/Dwolla news. Have you considered the idea of including other bitcoin exchanges like btc-e or bitstamp just in case?

Maybe in the future. I don't know what APIs they offer...
But at the moment I don't have very much time to develop (my wife and I are having our second child any day now, so expect me to "disappear" from here for a while any day Smiley
newbie
Activity: 42
Merit: 0
@TobbeLino:

Minor bug found. Graphs shown wrong interval after changing "Show last". Restart and wait 12 hours didn't help.



Thanx for your work!



UPD: Reinstall helps..  Sad  on every changing "Show last"
  

Yes, the graph currently always shows all fetched 144 samples... The "show last" only affects the list at the moment... I'll make the graph follow this setting as well...
legendary
Activity: 1183
Merit: 1000
For another EMA bot check out:

www.btcbots.com Smiley.

Pablo.
legendary
Activity: 1372
Merit: 1000
@TobbeLino:

Minor bug found. Graphs shown wrong interval after changing "Show last". Restart and wait 12 hours didn't help.



Thanx for your work!



UPD: Reinstall helps..  Sad  on every changing "Show last"
  
newbie
Activity: 28
Merit: 0
Is this the GTB in action ? (look at 21:30 - 22:00)

http://i41.tinypic.com/2dpe1g.jpg

Smiley
hero member
Activity: 514
Merit: 500
Thanks a lot for this great tool.

Due to the last MtGox/Dwolla news. Have you considered the idea of including other bitcoin exchanges like btc-e or bitstamp just in case?
great idea, and the lower fees on btc-e are much more suitable for this style of trading as well
sr. member
Activity: 371
Merit: 250
Thanks a lot for this great tool.

Due to the last MtGox/Dwolla news. Have you considered the idea of including other bitcoin exchanges like btc-e or bitstamp just in case?
newbie
Activity: 7
Merit: 0
Hey TobbeLino

Just wanted to say thanks for your update, its everything I wanted over the original and works perfect.

Since manually changing to use api v2, its worked fine.  It sold out this morning based on my specified EMA crossover and threshold settings, exactly as it was supposed to!

Thanks again Cheesy
newbie
Activity: 42
Merit: 0
I'm using way different settings and and it working well for me.
I haven't made big bucks but in this recent drop my settings are dampening out the noise while still catching the big movements.

You will have to do some analysis using bitcoincharts.com to see what you would like this bot to do for you.

I feel the default settings are way to aggressive...I have mine tuned way down to only grab the big corrections.

Tune the EMA's and the % to what's been happening the last month, not the last few days.

I think that's is a very wise advice!
Many seem to use way too aggressive settings, and loses.
You simply can't make good trades every day - if there IS no trend, the bot can't find one! Smiley
hero member
Activity: 588
Merit: 500
I'm using way different settings and and it working well for me.
I haven't made big bucks but in this recent drop my settings are dampening out the noise while still catching the big movements.

You will have to do some analysis using bitcoincharts.com to see what you would like this bot to do for you.

I feel the default settings are way to aggressive...I have mine tuned way down to only grab the big corrections.

Tune the EMA's and the % to what's been happening the last month, not the last few days.
legendary
Activity: 1372
Merit: 1000
Maybe we should consider even the 0.6% Mtgox fee per trade (?)

Is anyone having good results with non-default settings?

Definitely margin settings equal the loss stop should be. I.e. bot should be allowed the next operation only when it cover predefined margin, at least - the 0.6% Mtgox fee.  

No one can get good result without stupid straight loss protection.   
legendary
Activity: 2352
Merit: 1064
Bitcoin is antisemitic
Maybe we should consider even the 0.6% Mtgox fee per trade (?)

Is anyone having good results with non-default settings?
Pages:
Jump to: