Pages:
Author

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

hero member
Activity: 588
Merit: 500
Thanks for your hard work Tobbelino!

newbie
Activity: 42
Merit: 0
I just released a new version (v0.2.1.6) of the bot that uses MtGox API v2 by default.
(MtGox still seems to have problems today delivering user data with the old API v0)

It also includes a lot of improvements on caching trade data, so loading and changing sample intervals will be as fast and efficient as possible with the current MtGox API (every sample that can be useful from every call is cached in local storage).

Download here: https://github.com/TobbeLino/GoxTradingBotTobli

Pleas report any problems with trading, etc with the new API!
It is not as extensively tested as API v0...
newbie
Activity: 42
Merit: 0
It says "Problem Accessing MtGox Info" since MtGox has problems. Has any of you the bot disabled with this message?


EDIT: Changed to const useAPIv2=true; and now is working fine again.

Yes API v0 seems unstable at the moment. Maybe it's time to switch to API v2 by default.
Have your bots done any trading etc with API v2 and everything looks correct?
I haven't tested with API v2 very much myself (although it "should work") Smiley


It has not crossed down since yesterday i posted the message. Hope it works. Do you plan to include better support for Api2?

If the constant "useAPIv2" is set to "true", the bot is using the equivalent API v2 for all calls, so it's fully supported already.
But I haven't looked into it more - maybe there are some new API v2 calls that could make the bot better/more effective.
But the API v2 is quite poorly documented, and for the features currently implemented in he bot, I have not seen any major improvements in API v2 (other than it seems to be a bit more reliable when MtGox is under DDoS-attacks or having other problems).

I'm currently working on improved caching and faster and more effective loading of trade data, without having to be hammering MtGox with calls.
sr. member
Activity: 371
Merit: 250
It says "Problem Accessing MtGox Info" since MtGox has problems. Has any of you the bot disabled with this message?


EDIT: Changed to const useAPIv2=true; and now is working fine again.

Yes API v0 seems unstable at the moment. Maybe it's time to switch to API v2 by default.
Have your bots done any trading etc with API v2 and everything looks correct?
I haven't tested with API v2 very much myself (although it "should work") Smiley


It has not crossed down since yesterday i posted the message. Hope it works. Do you plan to include better support for Api2?
newbie
Activity: 42
Merit: 0
I'm just wondering, but is there a reason that buying BTC with this bot is limited to 1000 of whatever currency in the code? (Lines 216 and 218 in background.js)

When buying, the bot tries to buy 1000 BTC (regardless of currency).
This will result in buying "as much as possible" and spending all funds.
...unless you have more than the equivalent of ~$118,000 with today's price on your account of course, but I don't think anyone with that much funds would let a bot play with it Smiley
newbie
Activity: 8
Merit: 0
I'm just wondering, but is there a reason that buying BTC with this bot is limited to 1000 of whatever currency in the code? (Lines 216 and 218 in background.js)
newbie
Activity: 42
Merit: 0
It says "Problem Accessing MtGox Info" since MtGox has problems. Has any of you the bot disabled with this message?


EDIT: Changed to const useAPIv2=true; and now is working fine again.

Yes API v0 seems unstable at the moment. Maybe it's time to switch to API v2 by default.
Have your bots done any trading etc with API v2 and everything looks correct?
I haven't tested with API v2 very much myself (although it "should work") Smiley
hero member
Activity: 588
Merit: 500
^Thanks, I did that to mine and it is working again too.

Edit is to be done in the background.js file in case anyone doesn't know where to find it.
sr. member
Activity: 371
Merit: 250
It says "Problem Accessing MtGox Info" since MtGox has problems. Has any of you the bot disabled with this message?


EDIT: Changed to const useAPIv2=true; and now is working fine again.
member
Activity: 84
Merit: 10
Gox is lagging bigtime right now...I'm sure this is why.


Ok  Smiley
hero member
Activity: 588
Merit: 500
Gox is lagging bigtime right now...I'm sure this is why.
member
Activity: 84
Merit: 10
Hi, thanks for the extension, I'm testing it since 1 week.

But i just discovered that the bot is not connected to Gox (everything worked just fine for 5 days), and why I put the mouse on he icon, it says "SyntaxError: Unexpected Token <". Just FYI  Wink

newbie
Activity: 28
Merit: 0
As I've wrote lately - I've implemented simple "stop loss" function as I don't like to loose BTC - would prefer not to trade (I'm patient player Smiley.
So now the bot (at least my local version I'm testing) is using wallet history to check the price BTC was sold/bought and do not trigger trade untill the difference is less that certain amount (I've set 10% difference for a test) The effect is that my stupid bot is not trading at all Smiley as I have BTC bought at $113 and current price is around $120 (less 10% difference).
If the price will go above ~ $125 and then EMA trigger a trade - bot will sell (of course still have no warranty that then it can buy at good price - or how much time it will take to reach good price (again 10% low from selling) ...

Seems I've got some safety for a cost of less flexibility ... Sad

I think I will do yet a manual trade trigger with setting amount also manually.

PS.
Now I think ideally would be to add some flexibility to buying BTC (as I believe price will increase over time an I prefer to "seet on BTC" - maybe I'll differenciate it yet - maybe to 3% ... let's see what will happen Smiley
member
Activity: 301
Merit: 10
I suggest that you replace the most important thing aka EMA with better indicator like Hull Moving Average HMA with adjustable smoothing.

EDIT:

Hull Moving Average
  HMA = WMA(2*WMA(PRICE, n/2) - WMA(PRICE, n), sqrt(n))

    where...
         n = Period
         WMA = Weighted Moving Average

EDIT2: seems HMA overreacts sometimes but on average it follows trend much more accurately than EMA
sr. member
Activity: 371
Merit: 250
Thanks for your great work,

Cannot download version 2. Mega says it is currently unavailable. Do you have other address?

Another thing. Would be possible to have a bigger graph? (even full screen).
And last one. Would be great if the Keep BTC could be in percent, in that way you could always save an amount of BTC and that would go and grow with your savings

Thanks,
newbie
Activity: 14
Merit: 0
I've managed to get the bot to get the latest ask and bids prices from the market depth. I'm thinking that we could do a check to see how much it would cost to buy say 500 bitcoins and if that figure is below say $1 above the current latest price then it will stop a buy taking place and vice versa for sells. Basically spotting where the buy and sell walls are, this can definitely be done.
newbie
Activity: 12
Merit: 0
I've been running this bot for about 5 days so far.

I started with 0.5btc and now I'm down to 0.4btc. I have the standard settings, and every single trade has been at a loss Sad

Has this happened to other users of this bot recently?
I don't think current market conditions are suited to bot use.

That said, I'm currently running eduk's version just to see how things go.

The only time I've lost money was when I stupidly started the bot in the middle of a downward trend and it did an instant sell.
legendary
Activity: 1330
Merit: 1003
Hello all,

Is there a trading bot that just gives a trailing stop loss option? I simply want the bot to sell my BTCs on Mt. Gox if the current price of BTC drops 10% within a specified time span. I prefer to do all BTC buying myself but cannot monitor my BTC investments 24/7. If Mt. Gox ever implemented a trailing stop loss function, I would absolutely use it for its convenience. In the meantime, I'm looking for a bot that can perform this function. Thanks.

If Mt.Gox implemented a stop loss feature, it would likely result in much larger crashes any time the market drops. I'm not a fan of that anyway because I like to buy low, instead of selling low.  Wink
newbie
Activity: 8
Merit: 0
I've been running this bot for about 5 days so far.

I started with 0.5btc and now I'm down to 0.4btc. I have the standard settings, and every single trade has been at a loss Sad

Has this happened to other users of this bot recently?
newbie
Activity: 31
Merit: 0
Hello all,

Is there a trading bot that just gives a trailing stop loss option? I simply want the bot to sell my BTCs on Mt. Gox if the current price of BTC drops 10% within a specified time span. I prefer to do all BTC buying myself but cannot monitor my BTC investments 24/7. If Mt. Gox ever implemented a trailing stop loss function, I would absolutely use it for its convenience. In the meantime, I'm looking for a bot that can perform this function. Thanks.
Pages:
Jump to: