Bitcoin Forum
May 07, 2024, 11:30:22 PM *
News: Latest Bitcoin Core release: 27.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 26522 times)
whizter
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
January 11, 2014, 03:38:31 PM
 #141

Bot is running nice, made about 1k eur in the last month. I'm tracking everything with excel.

        ███████████████████▄▄▄
        ████████████████████████▄▄
           ████████████████████████▄
    ▄▄▄▄▄▄▄██████████████████████████▄
    ███████████████       ▀▀███████████
        ███████               ██████████
        ███████                ██████████
████████   ████████             █████████
▀▀▀▀▀▀▀▀▄▄▄████████             █████████
        ███████████             █████████
    ████   ████████            ██████████
    ████   ████████           ██████████
        ███    ████       ▄▄███████████
    ▄▄▄▄███▄▄▄▄██████████████████████▀
    ███████████████████████████████▀
████    ████████████████████████▀▀
████    ███████████████████▀▀▀
DIMCOIN   
❱❱❱  facebook  ❱❱❱  twitter  ❱❱❱  Telegram  ❱❱❱
.The Future of Equity on The Blockchain.
1715124622
Hero Member
*
Offline Offline

Posts: 1715124622

View Profile Personal Message (Offline)

Ignore
1715124622
Reply with quote  #2

1715124622
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715124622
Hero Member
*
Offline Offline

Posts: 1715124622

View Profile Personal Message (Offline)

Ignore
1715124622
Reply with quote  #2

1715124622
Report to moderator
1715124622
Hero Member
*
Offline Offline

Posts: 1715124622

View Profile Personal Message (Offline)

Ignore
1715124622
Reply with quote  #2

1715124622
Report to moderator
shermozle
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
January 13, 2014, 05:42:03 AM
 #142

You can use this:
Code:
#!/usr/bin/gnuplot

set terminal wxt size 1000,650
set datafile sep ','

set xlabel "USD Account Balance"
set ylabel "BTC Account Balance"
plot '_balancer.log' using 3:4 with lines
pause -1

I've made a tiny change to this. It adds a circle to the latest data point (a la sparklines) which aids in readability. I'm looking at other changes too as I get into gnuplot.

Code:
set datafile sep ','
unset key

set xlabel "AUD Account Balance"
set ylabel "BTC Account Balance"

stats '/tmp/_balancer.log' nooutput
last_index = int(STATS_records - 1)
plot    '/tmp/_balancer.log' using 3:4 with lines,\
        '/tmp/_balancer.log' using 3:4 every ::last_index with points pointtype 7 lc 1

pause -1

http://dl.dropboxusercontent.com/u/62533350/graph.png
nitrox
Member
**
Offline Offline

Activity: 136
Merit: 10


tester


View Profile
January 19, 2014, 08:41:09 PM
 #143

can't start
Code:
./goxtool.py --strategy=_balancer.py --protocol=websocket --use-http
in log have only
Code:
2014-01-19 22:38:48,050:DEBUG:goxapi.Gox:### shutdown...


but
Code:
./goxtool.py --protocol=websocket --use-http
start normaly but not do traiding.

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

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
January 19, 2014, 10:20:33 PM
 #144

can't start
Code:
./goxtool.py --strategy=_balancer.py --protocol=websocket --use-http
in log have only
Code:
2014-01-19 22:38:48,050:DEBUG:goxapi.Gox:### shutdown...

Did you make any modifications to the _balancer.py? Does it work and just not logging or does it shut down immediately? is goxtool the very latest version from github?

pizzaman1337
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
January 19, 2014, 10:45:13 PM
 #145

Bot is running nice, made about 1k eur in the last month. I'm tracking everything with excel.

Just curious, that return is from what amount of fiat and BTC?
nitrox
Member
**
Offline Offline

Activity: 136
Merit: 10


tester


View Profile
January 19, 2014, 11:16:52 PM
 #146

Did you make any modifications to the _balancer.py? Does it work and just not logging or does it shut down immediately? is goxtool the very latest version from github?

it is shutdown immediately, no modifications, it is up to date.

only one modifications in goxtool.ini
Code:
guote_currency = USD
to
Code:
guote_currency = EUR

have no idea what is going on.
i try this https://github.com/Timmeey/rangerBot
this is start and working but not _balancer.py


nitrox
Member
**
Offline Offline

Activity: 136
Merit: 10


tester


View Profile
January 19, 2014, 11:22:17 PM
 #147

after all delete and config again
i get that error in log
Code:
 File "/home/user/goxtool/goxapi.py", line 385, in __call__
    func(instance, sender, data)
  File "/home/user/goxtool/_balancer.py", line 67, in slot_keypress
    self.place_orders()
  File "/home/user/goxtool/_balancer.py", line 164, in place_orders
    center = self.get_price_where_it_was_balanced()
  File "/home/user/goxtool/_balancer.py", line 132, in get_price_where_it_was_balanced
    fiat_have = gox.quote2float(gox.wallet[gox.curr_quote]) + FIAT_COLD
KeyError: 'EUR'

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

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
January 20, 2014, 01:23:07 PM
 #148

KeyError: 'EUR'
Is this a fresh account and you have never bought or possessed any EUR before? Then the EUR wallet will be missing. buy a few EUR manually and the error will go away. If you do not intend to trade in EUR then set it to USD in goxtool.ini. Are you using the original goxtool from the prof7bit github or some fork from somebody else?

nitrox
Member
**
Offline Offline

Activity: 136
Merit: 10


tester


View Profile
January 20, 2014, 06:36:48 PM
 #149

Is this a fresh account and you have never bought or possessed any EUR before? Then the EUR wallet will be missing. buy a few EUR manually and the error will go away. If you do not intend to trade in EUR then set it to USD in goxtool.ini. Are you using the original goxtool from the prof7bit github or some fork from somebody else?
i using the original goxtool from the prof7bit github.
i have already EUR in account.

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

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
January 20, 2014, 07:49:05 PM
 #150

i using the original goxtool from the prof7bit github.
i have already EUR in account.
Does it show the EUR balance in the status bar at the top? I cannot currently imagine what could cause this error because if you have an EUR account then gox.wallet['EUR'] must exist. Did you press the "b" key before it was fully initialized, before it had downloaded the account info and the account balance showed up in the status bar?

nitrox
Member
**
Offline Offline

Activity: 136
Merit: 10


tester


View Profile
January 20, 2014, 08:02:09 PM
 #151

Does it show the EUR balance in the status bar at the top? I cannot currently imagine what could cause this error because if you have an EUR account then gox.wallet['EUR'] must exist. Did you press the "b" key before it was fully initialized, before it had downloaded the account info and the account balance showed up in the status bar?
yes it show the EUR balance in the status bar at the top.
i do not press  the "b" key at all.

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

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
January 20, 2014, 08:25:48 PM
 #152

yes it show the EUR balance in the status bar at the top.
i do not press  the "b" key at all.
or "p" or "i", from your stack trace it happened inside the keypress slot.

kocur
Full Member
***
Offline Offline

Activity: 140
Merit: 100


We're not in Wonderland anymore Alice


View Profile
January 22, 2014, 08:53:13 PM
 #153

Hi

I try use this bot on gox and working fine. Great work .) Is possible use this tool on btc-e dot com ? With some changes in configs sure, or need to rewrite more code ? It would be nice to have same tool for btc-e.
Thx

Community Coin: Fair & Free Distribution
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!