Bitcoin Forum
November 08, 2024, 08:14:58 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 8 »  All
  Print  
Author Topic: goxtool bot: portfolio rebalancing  (Read 26578 times)
whizter
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
May 10, 2013, 07:32:50 AM
 #61

Is the bot currently broken? I only get "identification required to access private API". I didn't change anything, it just doesn't work anymore.

        ███████████████████▄▄▄
        ████████████████████████▄▄
           ████████████████████████▄
    ▄▄▄▄▄▄▄██████████████████████████▄
    ███████████████       ▀▀███████████
        ███████               ██████████
        ███████                ██████████
████████   ████████             █████████
▀▀▀▀▀▀▀▀▄▄▄████████             █████████
        ███████████             █████████
    ████   ████████            ██████████
    ████   ████████           ██████████
        ███    ████       ▄▄███████████
    ▄▄▄▄███▄▄▄▄██████████████████████▀
    ███████████████████████████████▀
████    ████████████████████████▀▀
████    ███████████████████▀▀▀
DIMCOIN   
❱❱❱  facebook  ❱❱❱  twitter  ❱❱❱  Telegram  ❱❱❱
.The Future of Equity on The Blockchain.
prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 10, 2013, 08:03:23 AM
 #62

Is the bot currently broken? I only get "identification required to access private API". I didn't change anything, it just doesn't work anymore.

MtGox http api is broken again. As a woraround leave away the --use-http option (or if you have set it in yor ini then temporarily use the --no-http option) until they have fixed it again.

K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
May 10, 2013, 08:06:04 AM
 #63

Is the bot currently broken? I only get "identification required to access private API". I didn't change anything, it just doesn't work anymore.

MtGox http api is broken again. As a woraround leave away the --use-http option (or if you have set it in yor ini then temporarily use the --no-http option) until they have fixed it again.

for me its working even with --use-http

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 10, 2013, 08:34:21 AM
 #64

for me its working even with --use-http

Tnen cloudflare (or whatever anycasting web-proxy network they are using) must be messing it up. I'm located in Germany (Arcor / Vodafone).

ghostshirt
Full Member
***
Offline Offline

Activity: 216
Merit: 100



View Profile
May 10, 2013, 11:27:42 AM
 #65

Is the bot currently broken? I only get "identification required to access private API". I didn't change anything, it just doesn't work anymore.
I was getting the same error with use_ssl=False, I switched it to True, now it's working again.

prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 10, 2013, 11:42:37 AM
 #66

I was getting the same error with use_ssl=False, I switched it to True, now it's working again.

Yes, I can confirm this.

I just tried it and https API does not produce this error. So the workaround (or solution) is now to set use_ssl=True in the ini file and then --use-http will work again as before. Seems their anti-ddos web cache proxies have gone mad.

dwolfman
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile WWW
May 13, 2013, 10:55:11 PM
 #67

Not sure why, but I keep having to set the percentage higher to keep this from cycling endlessly selling and buying, as much as two or three times a second!

I've set it for 23%, which seems ok for now.

Any idea why?  Is it due to the price being pretty volatile right now, since it seems they just came off another DDOS attack?

Wanna send coins my way? 1BY2rZduB9j8Exa4158QXPFJoJ2NWU1NGf or just scan the QR code in my avatar.  :-)
prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 14, 2013, 07:58:39 AM
 #68

Not sure why, but I keep having to set the percentage higher to keep this from cycling endlessly selling and buying, as much as two or three times a second!

How much money do you have in your account, how big are the orders it generates?

dwolfman
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile WWW
May 14, 2013, 03:40:37 PM
 #69

It's not much.  About 0.036 BTC and $5.44.  It's been generating 0.01 buy/sell amounts.

Since I don't have much, I'm just "playing around" with it for now.  If I can ever get my cash out of Bitfloor, I'll likely put that back into BTC and add that in so that I'll have a bit more to work with.  I'd have between 0.75 and 1 BTC once I can do that.

Wanna send coins my way? 1BY2rZduB9j8Exa4158QXPFJoJ2NWU1NGf or just scan the QR code in my avatar.  :-)
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
May 14, 2013, 04:47:21 PM
 #70

It's not much.  About 0.036 BTC and $5.44.  It's been generating 0.01 buy/sell amounts.

Since I don't have much, I'm just "playing around" with it for now.  If I can ever get my cash out of Bitfloor, I'll likely put that back into BTC and add that in so that I'll have a bit more to work with.  I'd have between 0.75 and 1 BTC once I can do that.
with so few u waste your BTC @ fees. id say atleast 100$+

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 14, 2013, 04:54:27 PM
 #71

It's not much.  About 0.036 BTC and $5.44.  It's been generating 0.01 buy/sell amounts.
This is not enough. 0.01 is the minimum order size at mtgox, the bot will adjust the order size to reach at least 0.01 and this is just too much for such a small account.

dwolfman
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile WWW
May 14, 2013, 08:46:20 PM
 #72

Well, at least with a larger % it doesn't go buy/sell crazy.  I'm adding about .016 BTC a day from my mining rigs (just some slower GPUs I happen to have, about 280 MH/s worth).

So about $100 worth would be a good start, as someone else mentioned?  Eventually I'll be able to get to about that amount, if Bitfloor ever gives me back my $.  Sad

I'm going to leave it running as is, since I'm just doing this for fun right now.

And it just started going nuts with orders again, so I upped it to 30%.

Wanna send coins my way? 1BY2rZduB9j8Exa4158QXPFJoJ2NWU1NGf or just scan the QR code in my avatar.  :-)
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
May 14, 2013, 09:13:35 PM
 #73

Well, at least with a larger % it doesn't go buy/sell crazy.  I'm adding about .016 BTC a day from my mining rigs (just some slower GPUs I happen to have, about 280 MH/s worth).

So about $100 worth would be a good start, as someone else mentioned?  Eventually I'll be able to get to about that amount, if Bitfloor ever gives me back my $.  Sad

I'm going to leave it running as is, since I'm just doing this for fun right now.

And it just started going nuts with orders again, so I upped it to 30%.
you wont make money, you will give your money to mtgox in form of fees...

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 14, 2013, 09:21:56 PM
 #74

So about $100 worth would be a good start, as someone else mentioned?

$100 is still not enough, thats not worth the electricity running the computer. It starts with $5000 or $10000 and it becomes interesting with $100k or $500k (one can modify the code to add offsets to the account balance, so only the absolutely needed money must be in MtGox and the rest can be stored in safer places, maybe I could post this modification, I'm using it myself)

dwolfman
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile WWW
May 14, 2013, 09:33:47 PM
 #75

Well, it doesn't really matter now.  After seeing the postings on the forum about the court ordered Mt Gox account seizure from Dwolla, I've decided I'm not going to get stuck again like at Bitfloor.  Moved everything off of Gox for now, and won't be running this bot any more.

I imagine things will start going badly for Gox soon, since they have that lawsuit going on and now this seizure as well.

Sure would be nice if goxtool supported other exchanges, like Camp BX for example.  That's about the only place left that doesn't have some stupid fees for withdrawing even bitcoins out (BTC-e charges .01 to withdraw, which hurts when you have a small amount like mine).

Guess it's time to dust off my programming skills and work on that bot I've been thinking about.  Smiley

Wanna send coins my way? 1BY2rZduB9j8Exa4158QXPFJoJ2NWU1NGf or just scan the QR code in my avatar.  :-)
dwolfman
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile WWW
May 14, 2013, 09:35:03 PM
 #76

$100 is still not enough, thats not worth the electricity running the computer.

Oh, I'm not worried about the electricity.  I was running it in a virtual machine on my home network server which is on 24/7 anyway.  So whether goxtool was running or not, and whether it was making any money either, didn't really matter to me.  Smiley

Now if I had more to work with in BTC/$, then I'd be worried about it.  Wink

Wanna send coins my way? 1BY2rZduB9j8Exa4158QXPFJoJ2NWU1NGf or just scan the QR code in my avatar.  :-)
bitmango
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile WWW
May 15, 2013, 10:08:20 AM
 #77

So about $100 worth would be a good start, as someone else mentioned?

$100 is still not enough, thats not worth the electricity running the computer. It starts with $5000 or $10000 and it becomes interesting with $100k or $500k (one can modify the code to add offsets to the account balance, so only the absolutely needed money must be in MtGox and the rest can be stored in safer places, maybe I could post this modification, I'm using it myself)

I'd like to see how this works. Would you be willing to post?
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
May 16, 2013, 12:13:13 AM
 #78

I made the change myself as well and it is pretty (i.e. very) trivial. 

While I agree it is a good idea, and I don't really see any harm in posting it, I also kind of think that given the target audience being one where people are reading and understanding the code it shouldn't be necessary to post this.

There are a lot of ways to blow up your money with any trading bot if you don't really understand how it works.  Don't do that.

Hint: add the offline amounts to fiat_have and btc_have
whizter
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
May 16, 2013, 10:10:06 AM
 #79

So about $100 worth would be a good start, as someone else mentioned?

$100 is still not enough, thats not worth the electricity running the computer. It starts with $5000 or $10000 and it becomes interesting with $100k or $500k (one can modify the code to add offsets to the account balance, so only the absolutely needed money must be in MtGox and the rest can be stored in safer places, maybe I could post this modification, I'm using it myself)

I'm very interested in a version with this feature.

        ███████████████████▄▄▄
        ████████████████████████▄▄
           ████████████████████████▄
    ▄▄▄▄▄▄▄██████████████████████████▄
    ███████████████       ▀▀███████████
        ███████               ██████████
        ███████                ██████████
████████   ████████             █████████
▀▀▀▀▀▀▀▀▄▄▄████████             █████████
        ███████████             █████████
    ████   ████████            ██████████
    ████   ████████           ██████████
        ███    ████       ▄▄███████████
    ▄▄▄▄███▄▄▄▄██████████████████████▀
    ███████████████████████████████▀
████    ████████████████████████▀▀
████    ███████████████████▀▀▀
DIMCOIN   
❱❱❱  facebook  ❱❱❱  twitter  ❱❱❱  Telegram  ❱❱❱
.The Future of Equity on The Blockchain.
prof7bit (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 16, 2013, 10:26:25 AM
 #80

I have pushed that change to the gist (please test it to make sure it still works, I had to clean up my code and remove some other experimantal stuff from my own version before committing)

there are now 2 new variables:

Code:
FIAT_COLD   = 0     # Amount of Fiat stored at home but included in calculations
COIN_COLD   = 0     # Amount of Coin stored at home but included in calculations

If all your money is at mtgox then these must be both 0. If you want to pretend you have more money than what is in the mtgox account then simply add non-zero positive numbers here.

Example: You own 42฿ and want to run the strategy with all of them but you only want to put 20฿ into MtGox and keep the other 22฿ at home. Then you just set COIN_COLD = 22 and the bot will include your cold coins in all calculations (which means the order sizes will be larger). You can do the same also with USD you don't want to store too many USD at the exchange all the time.

Note that when doing this it might easily run out of coins or USD if price moves too far in one direction. In this case you have to cancel all orders (press "c"), (also press "i" and write down the current imbalance for later comparison), stop the bot, then send enough of the cold funds to MtGox (and maybe also withdraw some from the other side if it has become too much), then adjust FIAT_COLD and COIN_COLD to reflect the new situation, wait for your funds to arrive in your account, start the bot again: First press "i" and compare the numbers to make sure the bot calculations are still correct (if not then try to figure out your mistake and fix it, if its as expected then restart the bot), if it is too far out of balance rebalance with "b", otherwise just start it again with "p".

Pages: « 1 2 3 [4] 5 6 7 8 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!