Bitcoin Forum

Bitcoin => Project Development => Topic started by: sebastopol on April 14, 2013, 05:21:47 PM



Title: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 05:21:47 PM
goxgui


About

goxgui is a Qt front end for prof7bit's goxtool (http://prof7bit.github.io/goxtool/). It is open source and released under GPL V3 (https://github.com/sebastianhaberey/goxgui). This is what it looks like:

https://raw.github.com/sebastianhaberey/goxgui/master/screenshot_1.png

https://raw.github.com/sebastianhaberey/goxgui/master/screenshot_2.png

Features

  • Support for all 17 of MtGox' fiat currencies
  • Display asks / bids
  • Display MtGox account balance
  • Display MtGox lag
  • Place and cancel orders

Download

Pre-packaged Windows (x86) and Mac OS (x64) binaries are available on the project's sourceforge site. (https://sourceforge.net/projects/goxgui/files/?source=navbar)

If you don't trust precompiled packages, you can always pull the source code from github (https://github.com/sebastianhaberey/goxgui) and start it manually.

ToDo

Vote for the next feature on reddit! (http://www.reddit.com/r/goxgui/comments/1dy0i0/next_feature_ii/)

  • Display user orders
  • Stop orders
  • Limit orders
  • Better authentification process
  • Graphs (e.g. Depth)
  • Multi-resolution application icon
  • Support for other platforms (besides MtGox)
  • Show total volume in bid / ask table
  • Hide / don't display orders less than a given size / Show orders above a given size
  • Support for other crypto currencies (besides BTC)
  • Windows- / Mac-Installer
  • Support for other fiat currencies (besides USD)
  • Better fixed font on Windows platform

Donations

1QAbFdV6KDqMsFG9bjmeeBYCQzymXpsifc (Bitcoin)

Thanks

  • prof7bit (https://bitcointalk.org/index.php?action=profile;u=24583) for goxapi - great work
  • mrlithium (https://bitcointalk.org/index.php?action=profile;u=81259) for contributing

Contact

PM here or meet me on IRC - sebasto - #goxgui - freenode

Disclaimer

This software is provided “as is," and you use the software at your own risk.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: nedievas on April 14, 2013, 05:45:53 PM
Code:
[reboot@(none) goxtool]$ ./goxtool.py --protocol=websocket
Traceback (most recent call last):
  File "./goxtool.py", line 30, in <module>
    import goxapi
  File "/home/reboot/goxtool/goxapi.py", line 34, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
[reboot@(none) goxtool]$

Any suggestions?  :)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: prof7bit on April 14, 2013, 05:47:52 PM
Code:
[reboot@(none) goxtool]$ ./goxtool.py --protocol=websocket
Traceback (most recent call last):
  File "./goxtool.py", line 30, in <module>
    import goxapi
  File "/home/reboot/goxtool/goxapi.py", line 34, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
[reboot@(none) goxtool]$

Any suggestions?  :)

pycrypto missing


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 05:57:20 PM
prof7bit is right. And you should be starting application.py, not goxtool.py. Look above under "Installation" :)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: papamoi on April 14, 2013, 05:58:33 PM
hi

could you give the detailed instruction on how to install in on windows 8

thanks


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 06:07:31 PM
Currently the installation requires a bit of experience with Python / Qt / PyQt. Next weekend I will work on a Windows-Installer, but until then, I'm afraid I don't have much time :(


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: nedievas on April 14, 2013, 06:11:25 PM
prof7bit is right. And you should be starting application.py, not goxtool.py. Look above under "Installation" :)

First I want to install goxtool, then the GUI.

Code:
[reboot@(none) ~]$ git clone --recursive git@github.com:sebastianhaberey/goxgui.git
Cloning into 'goxgui'...
The authenticity of host 'github.com (204.232.175.90)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
[reboot@(none) ~]$ git clone --recursive git@github.com:sebastianhaberey/goxgui.git
Cloning into 'goxgui'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
[reboot@(none) ~]$


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: stfnnn on April 14, 2013, 06:22:40 PM
Nice tool! +1 for open source!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 06:25:44 PM
nedievas: really sorry, wrong URL. The correct command should be:

Code:
git clone --recursive git://github.com/sebastianhaberey/goxgui.git


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: nedievas on April 14, 2013, 06:53:00 PM
Code:
[reboot@(none) ~]$ cd goxgui/run
[reboot@(none) run]$ chmod 755 ./start.sh
[reboot@(none) run]$ ./start.sh
./start.sh: line 4: /usr/local/bin/python: No such file or directory
[reboot@(none) run]$

Yes, I'm not lucky today :/
P.S. I have python 2.7.3 on my fedora


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 06:59:39 PM
No, you're just the first beta-tester ;) try editing start.sh:

change

Code:
/usr/local/bin/python ../goxgui/application.py

to 

Code:
python ../goxgui/application.py

Thanks for going through this trouble. I will change what you find, so others will have it easier. It sounds like you're almost there, though!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: nedievas on April 14, 2013, 07:08:18 PM
I did it!
+1 sebastopol


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: covalence on April 14, 2013, 07:17:20 PM
Great tool and nice UI - I'll try it out later today


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 07:21:56 PM
@nedievas: Yay!

If you find bugs or have feature requests just post them here. I only have a bit of time on the weekends to develop this, and I can't promise much, but input is very welcome.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: myusername on April 14, 2013, 07:25:33 PM
great tool, I will give it a try!  :)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: nedievas on April 14, 2013, 07:27:53 PM
how to change currency? I trade in EUR.
I added API key and secret key -> Apply. Then restarted the program. BTC and USD are not active buttons...


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 07:31:21 PM
Yeah. That would be the first feature request ;) sorry. Currently the tool only supports USD.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Alatar on April 14, 2013, 07:33:20 PM
Great tool, unfortunately I prefer EUR too :P


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 07:34:36 PM
Okay then multi-currency is definitely the top feature on my ToDo-list.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Raoul Duke on April 14, 2013, 07:57:27 PM
Topic moved.
 sebastopol, you're whitelisted.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 14, 2013, 08:02:44 PM
Thank you!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: shsmith on April 14, 2013, 11:09:00 PM
Very nice.  Works very well on Windows 8.  Thanks!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 15, 2013, 02:33:03 AM
getting this error on ubuntu

Traceback (most recent call last):
  File "../goxgui/application.py", line 27, in <module>
    from PyQt4.QtGui import QApplication
ImportError: No module named PyQt4.QtGui


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: DarkPunk on April 15, 2013, 02:35:09 AM
getting this error on ubuntu

Traceback (most recent call last):
  File "../goxgui/application.py", line 27, in <module>
    from PyQt4.QtGui import QApplication
ImportError: No module named PyQt4.QtGui

Code:
sudo apt-get install python-qt4*

That should fix it.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 15, 2013, 02:48:56 AM
getting this error on ubuntu

Traceback (most recent call last):
  File "../goxgui/application.py", line 27, in <module>
    from PyQt4.QtGui import QApplication
ImportError: No module named PyQt4.QtGui

Code:
sudo apt-get install python-qt4*

That should fix it.

Thx!

now I'm getting

application.py: cannot connect to X server


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: gweedo on April 15, 2013, 03:11:06 AM
Code:
Traceback (most recent call last):
  File "../goxgui/application.py", line 27, in <module>
    from PyQt4.QtGui import QApplication
ImportError: No module named PyQt4.QtGui
% brew install pyqt
Warning: pyqt-4.9.4 already installed

I am getting this error, yet I have pyqt installed clearly shown by the brew install.

Mac OSX 10.8.3


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: DarkPunk on April 15, 2013, 03:17:41 AM
getting this error on ubuntu

Traceback (most recent call last):
  File "../goxgui/application.py", line 27, in <module>
    from PyQt4.QtGui import QApplication
ImportError: No module named PyQt4.QtGui

Code:
sudo apt-get install python-qt4*

That should fix it.

Thx!

now I'm getting

application.py: cannot connect to X server


Thats it? No line or error data?

Code:
Traceback (most recent call last):
  File "../goxgui/application.py", line 27, in <module>
    from PyQt4.QtGui import QApplication
ImportError: No module named PyQt4.QtGui
% brew install pyqt
Warning: pyqt-4.9.4 already installed

I am getting this error, yet I have pyqt installed clearly shown by the brew install.

Mac OSX 10.8.3

did it install qt while it was at it?

Code:
brew install qt


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: DarkPunk on April 15, 2013, 03:30:31 AM
Yes

Code:
% brew install qt
Warning: qt-4.8.4 already installed

Weird.  I don't use Mac OSX, so I can't test out your issue from here.  Hopefully the OP can get back to you on this one.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 15, 2013, 04:53:59 AM
getting this error on ubuntu

$ ./start.sh
Traceback (most recent call last):
  File "../goxgui/application.py", line 68, in <module>
    app = Application(sys.argv)
  File "../goxgui/application.py", line 40, in __init__
    self.logfile = open('log.txt', 'w')
IOError: [Errno 13] Permission denied: 'log.txt'


then when I run

$ sudo ./start.sh
application.py: cannot connect to X server


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 15, 2013, 06:12:10 AM
@gweedo: try editing start.sh:

change

Code:
python ../goxgui/application.py

to  

Code:
/usr/local/bin/python ../goxgui/application.py

On the mac there is usually more than one python installed, and it's important to use the correct one. I have added OS-specific start scripts to the application.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 15, 2013, 06:15:24 AM
IOError: [Errno 13] Permission denied: 'log.txt'

You need the permisstion to write to the application directory because of the log file. As you assumed correctly, sudo should fix this.

$ sudo ./start.sh
application.py: cannot connect to X server

That's strange, do you have a running X server? Permission to use it? $DISPLAY set correctly? Maybe some linux guru could help us out?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: jomplox on April 15, 2013, 06:27:26 AM
I can't wait to see this app further in development. Great work OP!  :o ;D


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: DarkPunk on April 15, 2013, 06:27:33 AM
Are you running a headless ubuntu system?

What is your display manager?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 15, 2013, 08:59:36 AM
@gweedo great, glad to hear it :)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Bitsaurus on April 15, 2013, 09:22:46 AM
Nice work. Can't wait til you have an Win installer.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 15, 2013, 02:33:34 PM
Python: http://www.python.org/download/
PyQT: http://www.riverbankcomputing.com/software/pyqt/download
QT: http://qt-project.org/downloads
PyCrypto: http://www.voidspace.org.uk/python/modules.shtml#pycrypto

THANKS!!!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 15, 2013, 02:34:52 PM
Are you running a headless ubuntu system?

What is your display manager?

How do I check??


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: prof7bit on April 15, 2013, 02:45:27 PM
PyCrypto: http://www.voidspace.org.uk/python/modules.shtml#pycrypto

On Ubuntu pycrypto is "apt-get install python-crypto"

(they sometimes slightly change names of packages to confuse the users)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 15, 2013, 03:20:59 PM
To anyone whos on windows, if you rename "application.py" to application.pyw, Python won't launch the blank command prompt window before launching the GUI.
(though you will also have to modify the startup script - i already did anyway.)
mine now looks like this:
@echo off
set PYTHONPATH=%PYTHONPATH%;.\;.\ui
..\application.pyw

Also, the setx command in the format setx PYTHONPATH %PYTHONPATH%;.\;.\ui (or whatever the proper paths are for you, sets the path in the REGISTRY) so you dont have to keep setting it everytime.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: nedievas on April 15, 2013, 04:44:24 PM
You can change the currency listed in the order book by editing goxtool.ini in goxgui/run.  Pity it does not change account currency ;)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 15, 2013, 09:44:33 PM
Thanks, mrlithium  :)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 15, 2013, 09:52:10 PM
A philosophical word on grahps: I have added that feature on the "ToDo" list, but I believe that there are so many excellent sites out there that do graphs so much better than me (http://www.bitcoincharts.com/charts/mtgoxUSD) that I would like to focus on a lean, easy-to-use trading tool.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 15, 2013, 10:01:16 PM
Very nice.  Works very well on Windows 8.  Thanks!

Works great on Gentoo Linux!  ;D  ;D  ;D

But it is working for me now so yeah [Mac OSX 10.8.3]

You guys don't know what this means for a developer  :) I'm delirious  ;D


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 15, 2013, 10:36:08 PM
sebastopol

looks slick but I can't get it to run on ubunut

any ideas why:

getting this error on ubuntu

$ ./start.sh
Traceback (most recent call last):
  File "../goxgui/application.py", line 68, in <module>
    app = Application(sys.argv)
  File "../goxgui/application.py", line 40, in __init__
    self.logfile = open('log.txt', 'w')
IOError: [Errno 13] Permission denied: 'log.txt'


then when I run

$ sudo ./start.sh
application.py: cannot connect to X server


thx.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: OdinHephaestus on April 15, 2013, 11:54:37 PM
sebastopol

looks slick but I can't get it to run on ubunut

any ideas why:

getting this error on ubuntu

$ ./start.sh
Traceback (most recent call last):
  File "../goxgui/application.py", line 68, in <module>
    app = Application(sys.argv)
  File "../goxgui/application.py", line 40, in __init__
    self.logfile = open('log.txt', 'w')
IOError: [Errno 13] Permission denied: 'log.txt'


then when I run

$ sudo ./start.sh
application.py: cannot connect to X server


thx.

We need more information.  Where is the goxgui folder at?  Is your ubuntu setup up headless (without KDE, GNOME, XDE, etc.)?  What are the permissions for the goxgui folder (eg. 777, 551, etc)?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 16, 2013, 01:51:12 AM
sebastopol

looks slick but I can't get it to run on ubunut

any ideas why:

getting this error on ubuntu

$ ./start.sh
Traceback (most recent call last):
  File "../goxgui/application.py", line 68, in <module>
    app = Application(sys.argv)
  File "../goxgui/application.py", line 40, in __init__
    self.logfile = open('log.txt', 'w')
IOError: [Errno 13] Permission denied: 'log.txt'


then when I run

$ sudo ./start.sh
application.py: cannot connect to X server


thx.

We need more information.  Where is the goxgui folder at?  Is your ubuntu setup up headless (without KDE, GNOME, XDE, etc.)?  What are the permissions for the goxgui folder (eg. 777, 551, etc)?

gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: numismatics on April 16, 2013, 02:10:06 AM
Works beautifully in osx mountain lion—used macports to install dependencies except for PyQt, which I built from source. So far, so good: accepted credentials, displays balances correctly, and is surprisingly snappy. Great work!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: OdinHephaestus on April 16, 2013, 02:23:01 AM
gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui

Okay, to fix your needing to be root:
Code:
sudo chmod 775 ~/goxgui/*

To fix your X server issue, you need to have a display manager (it's a gui, so this really should have been obvious).
Find the one you like, and install it with a window manager.

Example (GNOME):
Code:
sudo apt-get install gdm gnome-shell


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 16, 2013, 03:19:25 AM
gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui

Okay, to fix your needing to be root:
Code:
sudo chmod 775 ~/goxgui/*

To fix your X server issue, you need to have a display manager (it's a gui, so this really should have been obvious).
Find the one you like, and install it with a window manager.

Example (GNOME):
Code:
sudo apt-get install gdm gnome-shell


odin,

thanks for you help.

I've run those commands and i'm still getting:

application.py: cannot connect to X server :0.0

????


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: OdinHephaestus on April 16, 2013, 03:48:33 AM
gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui

Okay, to fix your needing to be root:
Code:
sudo chmod 775 ~/goxgui/*

To fix your X server issue, you need to have a display manager (it's a gui, so this really should have been obvious).
Find the one you like, and install it with a window manager.

Example (GNOME):
Code:
sudo apt-get install gdm gnome-shell


odin,

thanks for you help.

I've run those commands and i'm still getting:

application.py: cannot connect to X server :0.0

????

If your not already in the x server, run
Code:
startx


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 16, 2013, 04:46:25 AM
gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui

Okay, to fix your needing to be root:
Code:
sudo chmod 775 ~/goxgui/*

To fix your X server issue, you need to have a display manager (it's a gui, so this really should have been obvious).
Find the one you like, and install it with a window manager.

Example (GNOME):
Code:
sudo apt-get install gdm gnome-shell


odin,

thanks for you help.

I've run those commands and i'm still getting:

application.py: cannot connect to X server :0.0

????

If your not already in the x server, run
Code:
startx

Fatal server error:
no screens found


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: OdinHephaestus on April 16, 2013, 04:50:16 AM
Are you trying to run a gui though SSH?

It's not going to work mate, just use it on what ever computer your posting on here from.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 16, 2013, 04:51:34 AM
Are you trying to run a gui though SSH?

It's not going to work mate, just use it on what ever computer your posting on here from.

I'm trying to run in on a remote server from a windows XP box using putty.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: gweedo on April 16, 2013, 04:54:55 AM
Are you trying to run a gui though SSH?

It's not going to work mate, just use it on what ever computer your posting on here from.

I'm trying to run in on a remote server from a windows XP box using putty.


Then just use the Goxtool without a gui, cause that will give you a GUI in a shell.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 16, 2013, 05:01:04 AM
but goxgui looks so slick.

Waiting for the windows executible

or the Windows XP installation.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: OdinHephaestus on April 16, 2013, 05:12:45 AM
but goxgui looks so slick.

Waiting for the windows executible

or the Windows XP installation.

There isn't going to be... this is a python script using the Qt framework...

Just download the prerequisites and run run-win.bat from goxgui.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 16, 2013, 06:39:04 AM
No, it's true I am planning to release a Windows binary package that contains all dependencies (using py2exe (http://www.py2exe.org/)), but I'm not sure when I will get around to do it.

Until then, BCB have you tried installing Xming (http://www.straightrunning.com/XmingNotes/) on your Windows machine? We use that at work in cases like yours, where the application runs on a remote unix box.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: prof7bit on April 16, 2013, 10:55:36 AM
application.py: cannot connect to X server :0.0

linux: enable x11 forwarding in ssh

windows: run an x-server on windows and enable x11 forwarding in putty,
or even better: install freenx  (or nomachine nx) server on your linux server and nomachine NX client on your windows and use that instead of putty, this will actually be much faster than x11 forwarding.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 16, 2013, 11:30:27 AM
I think i found a bug.... Line #13 in adaptor.py gave me the error of: 
Code:
TypeError: Adaptor.signal_userorder[long long, long, str, str, str].emit(): argument 2 has unexpected type 'long'
when I went to place an order.
Changing the 2nd arg to "long long" seemed to fix it (and would make sense, since the first two args are usually quite the same size and the second one would usually be even longer (the above is price,volume,typ,oid,status)
Output Similar to:
Code:
(5967021, 500000000, u'bid', u'5fec0501-51eb-4eef-b7ee-1e724f01275d', u'invalid')



Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 16, 2013, 01:12:49 PM
Also just wanted to let you know that this DOES compile into a single EXE very easily. it ends up being around 8.3mb.
The command to generate it is something like this:

Code:
python c:\python27\pyinstaller-2.0\pyinstaller.py specfile.spec

Where specfile.spec is:
Code:
# -*- mode: python -*-
a = Analysis(['C:\\Python27\\goxgui\\goxgui\\application.py'],
             pathex=['C:\\Python27\\goxgui\\goxtool', 'C:\\Python27\\Lib\\site-packages\\Crypto\\Cipher\\'],
             hiddenimports=['AES','goxapi'], hookspath=None)

pyz = PYZ(a.pure)
exe = EXE(pyz,
          a.scripts,
          a.binaries,
          a.zipfiles,
          a.datas,
          a.dependencies,
          name=os.path.join('dist', 'goxgui.exe'),
          debug=False,
          strip=None,
          upx=True,
          console=False)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 16, 2013, 01:55:33 PM
mrlithium, thanks for your work. I've checked in the bugfix and will try your pyinstaller script as soon as I get the time. It looks very promising, I like the fact that pyinstaller supports so many target platforms.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 16, 2013, 02:58:28 PM
No, it's true I am planning to release a Windows binary package that contains all dependencies (using py2exe (http://www.py2exe.org/)), but I'm not sure when I will get around to do it.

Until then, BCB have you tried installing Xming (http://www.straightrunning.com/XmingNotes/) on your Windows machine? We use that at work in cases like yours, where the application runs on a remote unix box.

Thanks sebastopol

I'll give it a try.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Grover on April 17, 2013, 09:46:06 PM
I'm lost.

I'm running XP.  I've installed all the prereqs but I have zero clue what application I use to install goxgui.  I'm a windork so I don't know much about all this kind of stuff.

If anyone can point me to the app I use to run the script listed in the OP I'd be very appreciative.


Thanks.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 17, 2013, 09:48:31 PM
Grover

I couldn't get it running on xp either.

??


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Grover on April 17, 2013, 09:58:20 PM
Grover

I couldn't get it running on xp either.

??

Did you get it to compile?  I don't even have a clue how to do that. If yes how.

 
I downloaded a zip file and it doesn't appear to be compiled either.  IF this was stuff I did normally like these guys I'm sure there is more than enough information provided, but I know nothing!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: OdinHephaestus on April 17, 2013, 10:01:33 PM
Grover

I couldn't get it running on xp either.

??

Did you get it to compile?  I don't even have a clue how to do that. If yes how.

 
I downloaded a zip file and it doesn't appear to be compiled either.  IF this was stuff I did normally like these guys I'm sure there is more than enough information provided, but I know nothing!

You don't compile python scripts...

You guys are probably better off waiting for an executable package to be made for you.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Grover on April 17, 2013, 10:18:39 PM
Grover

I couldn't get it running on xp either.

??

Did you get it to compile?  I don't even have a clue how to do that. If yes how.

 
I downloaded a zip file and it doesn't appear to be compiled either.  IF this was stuff I did normally like these guys I'm sure there is more than enough information provided, but I know nothing!

You don't compile python scripts...

You guys are probably better off waiting for an executable package to be made for you.

Ok then how do you run the app in windows?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 17, 2013, 10:53:42 PM
He included a windows startup script. it's in the "run" directory, should just be able to double click on start_win.bat .....

Failing that, you may need to edit this file, mine looks like:

set PYTHONPATH=%PYTHONPATH%;..\goxgui;..\goxtool
cd ..\goxgui\
start pythonw application.py



Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Grover on April 18, 2013, 01:24:52 AM
He included a windows startup script. it's in the "run" directory, should just be able to double click on start_win.bat .....

Failing that, you may need to edit this file, mine looks like:

set PYTHONPATH=%PYTHONPATH%;..\goxgui;..\goxtool
cd ..\goxgui\
start pythonw application.py



TY.

I tried the bat, I'll edit it to include what you wrote.

I get an error that it can't find 'pythonw' I assume that's pythonw.exe in the root\python27 folder. I included this in the bat but still can't get it to start. 

I can't believe I'm so clueless.  My noob factor has hit 1000.  Guess I'll wait for a win installer, or I'll dust off the Debian install on another machine.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 18, 2013, 04:02:33 AM
Don't worry Grover, like I said, it requires a bit of Python experience to install this at this point.

mrlithium, you said you have successfully compiled a Windows executable, maybe you could help out our Windows users?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 18, 2013, 08:06:09 AM
Don't worry Grover, like I said, it requires a bit of Python experience to install this at this point.

mrlithium, you said you have successfully compiled a Windows executable, maybe you could help out our Windows users?

Here is the windows exe. Also, I can vouch for HIS code being clear of malicious intent, since I read it all. The exe is theoretically de-compilable (the source is extractable in binary somehow) but if you want to be extra careful about stuff, just run this program in a sandbox and block it from accessing any other websites other than *.mtgox.com

http://www.mediafire.com/download.php?41gu8b0ze1197po

This link above is the .exe of the version with "compress order-spam below 0.6 BTC", and "show Size and Total in BTC, not USD"

Also working on a new version: https://i.imgur.com/LtCPbCD.png
This is page 2: https://i.imgur.com/xuJTnOG.png

From one Developer to another developer: I am trying to learn PyQT as I go since I never did it before. But so far I have come up with the shell of the GUI now I just need to hook the slots into it. Maybe we can work together? I have a _lot_ of code from my other project. One major thing as you can see from the screenshot is the "Authentication" tab. theres no reason to be looking at that everytime you trade. BUT what is a major flaw is the hardcoded "ffuuuuuu" ironic bit :P You know what i mean. This has to be replaced by an actual user-generated one, that is Created through this new tab, and then verified with a dialog box when you launch the program. Maybe the process could work something like: On 1st launch = Create password before spawning QApplication, then theres no need to relaunch. Then everytime you load up you can choose to run in authenticated mode "Log In? Ebter your Password or Cancel"


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 18, 2013, 10:28:43 AM
Maybe we can work together?

Sure, I'll have some time on the weekend; we can work out a way for you to contribute on github.

BUT what is a major flaw is the hardcoded "ffuuuuuu" ironic bit :P You know what i mean. This has to be replaced by an actual user-generated one, that is Created through this new tab, and then verified with a dialog box when you launch the program.

No kidding  ;D I'm aware of that (hence the fffuuuuuuu) and there are a few other things that could be improved.

Edit: I definitely like the Authentication Tab. And yes, it should be possible to secure the user's authentication data with a password. At the same time I want to keep an option for users like me who are too lazy to enter a password every time and prefer to live dangerously.

User orders: also an important feature. Actually, it's that important I think it would be cool to integrate it in the main screen.

Finally: I don't believe in unasked-for pop-ups. I really don't like them in other applications, and I think goxgui should be able to do without them.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BCB on April 18, 2013, 02:25:42 PM
mrlithium

Worked out of the box.

Thx.



Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Grover on April 18, 2013, 06:02:58 PM
Don't worry Grover, like I said, it requires a bit of Python experience to install this at this point.

mrlithium, you said you have successfully compiled a Windows executable, maybe you could help out our Windows users?

Thanks for all your work.


Don't worry Grover, like I said, it requires a bit of Python experience to install this at this point.

mrlithium, you said you have successfully compiled a Windows executable, maybe you could help out our Windows users?

Here is the windows exe. Also, I can vouch for HIS code being clear of malicious intent, since I read it all. The exe is theoretically de-compilable (the source is extractable in binary somehow) but if you want to be extra careful about stuff, just run this program in a sandbox and block it from accessing any other websites other than *.mtgox.com

http://www.mediafire.com/download.php?41gu8b0ze1197po

This link above is the .exe of the version with "compress order-spam below 0.6 BTC", and "show Size and Total in BTC, not USD"

Also working on a new version:
.......


Thanks for all your help and for making the exe.  You've unleashed the power of the Windows noob army!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: papamoi on April 19, 2013, 12:05:54 AM
Maybe we can work together?

Sure, I'll have some time on the weekend; we can work out a way for you to contribute on github.

BUT what is a major flaw is the hardcoded "ffuuuuuu" ironic bit :P You know what i mean. This has to be replaced by an actual user-generated one, that is Created through this new tab, and then verified with a dialog box when you launch the program.

No kidding  ;D I'm aware of that (hence the fffuuuuuuu) and there are a few other things that could be improved.

Edit: I definitely like the Authentication Tab. And yes, it should be possible to secure the user's authentication data with a password. At the same time I want to keep an option for users like me who are too lazy to enter a password every time and prefer to live dangerously.

User orders: also an important feature. Actually, it's that important I think it would be cool to integrate it in the main screen.

Finally: I don't believe in unasked-for pop-ups. I really don't like them in other applications, and I think goxgui should be able to do without them.

hi sebastian

there is no way to use directly the login/pass of mtgox directly?
if not how to generate key/pass?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 19, 2013, 04:15:16 AM
No. You need to use the API key. Go to: https://mtgox.com/security and click on Advanced API Key Creation: Then type any name and give it Get Info and Trade rights, and hit Create Key. The following codes are what you copy into the program.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: wumpus on April 19, 2013, 05:28:22 AM
A Qt trading interface for BTC is something I've always wanted to write from ~2010, but never got around to :)
Nice work sebastopol!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 20, 2013, 04:23:37 PM
mrlithium, I have integrated the following features from your version into the main branch:

  • group orders below 0.6 (we really should make this configurable at some point)
  • remove USD volumes (I kind of liked them, but I'll admit they're not crucial for trading)
  • no need for restart after adding authentification data
  • gain screen estate by tabbing authentification stuff
  • customizable application log (filters)
  • add bitcoin icon
  • make the price column 5 decimals
  • make buy/sell price edit box 5 decimals
  • correct windows start script
  • fix the code that inserts order-Id's into the edit box to better identify the last order

Hopefully, I'll get around to tag this as version 1.0.0 and release the version in Windows / Mac binary format tomorrow.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 21, 2013, 08:48:59 AM
Bug should be fixed now.

Switching between fiat currencies is high up on the list. Having multiple platforms would be awsome but it's a long way to go.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 21, 2013, 11:39:59 AM
Pre-packaged Windows (x86) and Mac OS (x64) binaries are now available on the project's sourceforge site! (https://sourceforge.net/projects/goxgui/files/?source=navbar)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: starsoccer9 on April 21, 2013, 01:03:20 PM
any hope for stop orders and such?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 21, 2013, 09:27:54 PM
Vote for the next feature on reddit! (http://www.reddit.com/r/goxgui/comments/1ctll2/next_feature_i/)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 23, 2013, 06:05:20 AM
any hope for stop orders and such?

Yes, genBTC just wrote that. Check his repo or wait for it to be pulled into the official version.

Thanks genBTC.
https://github.com/genbtc/goxgui

Thats my forked version. The two most important changes are the user orders and the Stop Loss Orders tabs. Consider it an even more developmental version. I just added the stop-loss bot tonight, and I tested it for a few hours, but I can't forsee bugs, but especially when using this to trade, please test it out in SIMULATION mode first, (edit goxtool\stoploss.py and change SIMULATION = False to SIMULATION = True).


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: fible1 on April 23, 2013, 02:26:28 PM
Okay, I DL'd the OSX binary and it works like a dream! Gratz guys, you did a great job.

I think the next step should be to introduce simple (or complex) bot trading modules based on different strategies. I personally would be happy to pay for a module or modules like this and I think a lot of people on the forums would as well. This could be made into a nice little business.

Thanks for all the work!

Paul.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: prof7bit on April 23, 2013, 02:47:53 PM
MtGox today upgraded the old websocket server (which was almost dead previously). Now websocket is even more reliable than socketio. You will have a *MUCH* better experience if you now change the protocol from "socketio" to "websocket", they finally fixed the server, its finally working as it should!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on April 23, 2013, 03:18:29 PM
Fixed in repository.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: gollum on April 23, 2013, 11:58:00 PM
How do I know this software dont steals my precious bitcoins or passwords?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: fible1 on April 24, 2013, 12:03:56 AM
How do I know this software dont steals my precious bitcoins or passwords?

Because you create the API key yourself and give it the access you want. You never give it your password.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: lsvpa on April 30, 2013, 04:20:33 AM
Quote
https://github.com/genbtc/goxgui

Thats my forked version. The two most important changes are the user orders and the Stop Loss Orders tabs. Consider it an even more developmental version. I just added the stop-loss bot tonight, and I tested it for a few hours, but I can't forsee bugs, but especially when using this to trade, please test it out in SIMULATION mode first, (edit goxtool\stoploss.py and change SIMULATION = False to SIMULATION = True).

Looks great. I use goxgui daily and I like the tabs and upgraded functionality on your version. I want to try your version out but I don't understand what the password field is for.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on April 30, 2013, 07:00:59 AM
Once you enter the API key and Secret, they are encrypted in the .ini file. Previously the password they were encrypted with was hardcoded, not user-choosable and I found this odd (security hole). So I cobbled together the method that you see in my forked version, and heres the instructions.
1) Download the fork from https://github.com/genbtc/goxgui
2) The program will generate a new blank config file on first run. (Don't try to import the old one)
3) Click the Options Menu, go to Preferences, and enter your API Key and Secret
4) Enter a Password of your own choosing.......
5) Hit Apply to check for errors, and then click OK if verified.
6) The program will encrypt the API Key/Secret and store it in the INI file.

This will store your password, and auto-login everytime you launch it next time.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: lsvpa on May 01, 2013, 07:53:01 AM
Once you enter the API key and Secret, they are encrypted in the .ini file. Previously the password they were encrypted with was hardcoded, not user-choosable and I found this odd (security hole). So I cobbled together the method that you see in my forked version, therefore the steps to use this functionality are somewhat sub-par in terms of intuitiveness, so heres the instructions.
1) Download the fork from https://github.com/genbtc/goxgui
2) The program will generate a new blank config file on first run. (Don't try to import the old one)
3) Click the "Authentication" Tab, enter your API Key and Secret
4) Click the "Password" Tab, enter a Password of your own choosing.......
5) Go BACK to the "Authentication" Tab, and hit Apply.
6) The program will encrypt the API Key/Secret and store it in the INI file.
7) Each Next time you want to open up the program, you will have to click the password tab, enter your Password, and hit "Decrypt".

I Have just implemented a "lazy-version" of this. Once You have done initial Steps 1-6 above, You can edit the "goxtool.ini" file and add the following:
[goxgui]
password = XXXXXXXXXXXX

This will store your password, and auto-login everytime you launch it next time.

Thanks.




Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: starsoccer9 on May 02, 2013, 04:39:39 PM
Once you enter the API key and Secret, they are encrypted in the .ini file. Previously the password they were encrypted with was hardcoded, not user-choosable and I found this odd (security hole). So I cobbled together the method that you see in my forked version, therefore the steps to use this functionality are somewhat sub-par in terms of intuitiveness, so heres the instructions.
1) Download the fork from https://github.com/genbtc/goxgui
2) The program will generate a new blank config file on first run. (Don't try to import the old one)
3) Click the "Authentication" Tab, enter your API Key and Secret
4) Click the "Password" Tab, enter a Password of your own choosing.......
5) Go BACK to the "Authentication" Tab, and hit Apply.
6) The program will encrypt the API Key/Secret and store it in the INI file.
7) Each Next time you want to open up the program, you will have to click the password tab, enter your Password, and hit "Decrypt".

I Have just implemented a "lazy-version" of this. Once You have done initial Steps 1-6 above, You can edit the "goxtool.ini" file and add the following:
[goxgui]
password = XXXXXXXXXXXX

This will store your password, and auto-login everytime you launch it next time.

I followed your instructions and all, and it seemed to work as it got my current btc balance and everything, just I did a stop/loss order and activied the bot and it didnt work. it showed it excuted on the program but my balance/account it didnt


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 02, 2013, 07:24:07 PM
Did you grant the API key "trade" access in addition to "Get-info" in the mtgox website's security tab?  (did you try to do normal trades?) - it should work...... no errors? contact me on IRC>...


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: starsoccer9 on May 03, 2013, 02:19:16 AM
sure what is your irc name and what server

Also yes I granted it trade and info access. i can confirm it works as it got my account balance no problem


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Grover on May 04, 2013, 04:51:12 AM
IDK if this is out of the scope for this project but this seems like a great idea to me.

Is there any way to add a feature that is a trailing stop loss in reverse?

I know it seems like a strange idea.  Why buy above a price you're losing money.  I say are you really?  Same as why sell below the price you buy at, you're losing money if the trend reverses.  I think it's pretty evident this is a highly fluid market with a nice dose of overt manipulation on top.

Say your stop losses are triggered and what was really happening is a trader or group of traders was using their power to cause bots, apps, traders, to dump coins below market with the plan of a quick dump and reverse?  You sell your coins for a loss on a big red candle, but if you're semi-automated when do you buy them back in this scenario when the market rebounds on the next interval or in the same interval?

This is my example since it is easier to explain.

Say I'm tired and fall asleep at the wheel, like this morning when the market was going under 89. I enter buys but my buys are too low so they never execute.

What if when I enter a buy then the app takes the highest buy point and if the prices reaches either a percentage or fixed amount that the user enters (ceiling) but never reaches the highest buy and then rises past the ceiling then the app enters a buy that equals an ask but only does this until a buy is made or until another user defined ceiling is reached.  There is no need for any real automation just some way of using the signals so the user can predefine the conditions.

example. (fictional, but maybe not)

I enter a buy at $78.99.  Gox only dips to $79.  If i was awake I'd be all over buying for $0.01 more.  But I had placed a fixed eyes off order so I miss the buy.  I wake up and bam Gox dipped and rebounds to $92.  What a great trade if I was awake.

So if the app had a feature that worked as a stop loss in reverse I could have bought or tried buying from a range of say $78-$81.  Market dips below 81 nothing happens because the app is waiting for 78, but if the market reverses and goes above the low between 78-81 then the app enters a buy at x$ above the point between 78-81 and if no buy happens because the market reverses so rapidly then it app enters buys at levels the user has defined for x$ more, and x$ more until a buy happens or until a set ceiling is crossed.

For example.  Yes I understand price could not reach my buy during one time period but reach my buy level at a later time.  Same with a stop loss.  A stop loss can be triggered then the price rebound and reach levels far above your stop loss.

You're looking at the charts and can see what looks like a real verifiable no nonsense downturn.  You see that the price is likely to be between $low and $high.  I understand then why not just enter the buy at high range predicted for the bottom?  Why buy something at one price and sell it for a loss with a stop loss?

You enter a range in which you know is comfortable to buy, and the app buys.  I guess to be even more fool proof the app could automatically enter another stop loss that is at the level of the amount of BTC bought plus buy/sell fees.  This way if the market reverses and goes down further then you'd sell in a break even range, or you could elect to hold figuring the market will come back to your buy level.


If this is convoluted blame the rum.  If you have questions please ask and I'll attempt to explain.  The basic idea is a reversed stop loss.  I'm trying to add the hot chick in the passenger seat and the turbo package to an excellent project.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 04, 2013, 09:19:13 PM
Market dips below 81 nothing happens because the app is waiting for 78, but if the market reverses and goes above the low between 78-81 then the app enters a buy at x$ above the point between 78-81 and if no buy happens because the market reverses so rapidly then it app enters buys at levels the user has defined for x$ more, and x$ more until a buy happens or until a set ceiling is crossed.

So let's take an example for me to understand this. Let's say the price drops to 79, we have entered the buy zone (78 - 81), but it doesn't drop to 78. Instead, it goes up again. The user has defined buy steps at $2, and as soon as the price has reached $81, the bot would place bids at $83, $85, $87 etc. until a buy happens?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: starsoccer9 on May 04, 2013, 10:44:38 PM
Once you enter the API key and Secret, they are encrypted in the .ini file. Previously the password they were encrypted with was hardcoded, not user-choosable and I found this odd (security hole). So I cobbled together the method that you see in my forked version, therefore the steps to use this functionality are somewhat sub-par in terms of intuitiveness, so heres the instructions.
1) Download the fork from https://github.com/genbtc/goxgui
2) The program will generate a new blank config file on first run. (Don't try to import the old one)
3) Click the "Authentication" Tab, enter your API Key and Secret
4) Click the "Password" Tab, enter a Password of your own choosing.......
5) Go BACK to the "Authentication" Tab, and hit Apply.
6) The program will encrypt the API Key/Secret and store it in the INI file.
7) Each Next time you want to open up the program, you will have to click the password tab, enter your Password, and hit "Decrypt".

I Have just implemented a "lazy-version" of this. Once You have done initial Steps 1-6 above, You can edit the "goxtool.ini" file and add the following:
[goxgui]
password = XXXXXXXXXXXX

This will store your password, and auto-login everytime you launch it next time.

I followed your instructions and all, and it seemed to work as it got my current btc balance and everything, just I did a stop/loss order and activied the bot and it didnt work. it showed it excuted on the program but my balance/account it didnt

Can anyone help me?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Grover on May 05, 2013, 04:24:13 AM
Market dips below 81 nothing happens because the app is waiting for 78, but if the market reverses and goes above the low between 78-81 then the app enters a buy at x$ above the point between 78-81 and if no buy happens because the market reverses so rapidly then it app enters buys at levels the user has defined for x$ more, and x$ more until a buy happens or until a set ceiling is crossed.

So let's take an example for me to understand this. Let's say the price drops to 79, we have entered the buy zone (78 - 81), but it doesn't drop to 78. Instead, it goes up again. The user has defined buy steps at $2, and as soon as the price has reached $81, the bot would place bids at $83, $85, $87 etc. until a buy happens?

Basically yes.

I'll work out stating the logic in a clear fashion.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 05, 2013, 08:26:03 AM
Can anyone help me?
I'm working on updating my fork to sebastopols  latest  version. The password stuff should be easier. I still am not sure why your stop loss order didnt work if the rest of normal trades can trade.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: starsoccer9 on May 05, 2013, 10:53:34 AM
Can anyone help me?
I'm working on updating my fork to sebastopols  latest  version. The password stuff should be easier. I still am not sure why your stop loss order didnt work if the rest of normal trades can trade.

Can you walk me throw how exactly I would go about placing a stop trade. Maybe I did something wrong


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 05, 2013, 10:58:15 AM
I'm working on updating my fork to sebastopols  latest  version. The password stuff should be easier. I still am not sure why your stop loss order didnt work if the rest of normal trades can trade.

Good to see that you still keep an eye on the original repository :) This time there have been some major refactorings under the hood, but I think they're worth integrating because they will make future extensions easier for both of us. Also, if you wait till the evening, I should have multi-currency-support ready by then!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 06, 2013, 12:26:50 AM
Can anyone help me?
I'm working on updating my fork to sebastopols  latest  version. The password stuff should be easier. I still am not sure why your stop loss order didnt work if the rest of normal trades can trade.

Can you walk me throw how exactly I would go about placing a stop trade. Maybe I did something wrong

Click the stop orders tab. It should say "NO STOP ORDERS     YET" in the box below.
In the size box, enter: 1 (for 1 BTC)
In the price box, enter: 100 (for 100 USD)
This will sell 1 BTC when the price falls below $100.

I have come to the conclusion you maybe are trying to use decimals without the leading 0. If you are using sizes under 1 BTC, you have to include the leading 0 such as: 0.125


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: snarther on May 06, 2013, 04:17:49 PM
Thanks for your great work

it is really a nice tool i will see what uses i can workout and share with you as iam a bit new to python it wont be very fast but form myself i'm intrested in cross exchange trading

for the stoploss option it would be neat to add this "zone" though there is another possibility to give a trigger for the stoploss option in the way that the bot will be activated once a special value is matched and goes to "sell" mode and then performes his stoploss

idea for on/off trigger

- buy btc with value of 100  you want to gain a small win and want to sell at 102 so you set your stoploss to 102 (if it is under 102 an active bot would have sold so we need the switch)
- the trigger will be set to 102.1  bot goes to "on"
---> bot will sell if market drops below 102

idea hard - soft sell  switch
- buy btc 100  sell at 102.5 and you place a regular order  stoploss at 101.99  (because you don't believe 102 might be reached)  
- the trigger hard sell will be set to 101.99 if anyhow the price will drop bot will sell but only if after 5h trigger soft hasn't been reached
- the trigger soft sell will be set to 102.6  bot goes to "on"
--> bot will sell if market goes below 102.6  but only if in a given time 101.99 hasn't been reached

--- update
as i fumble along can me tell somebody how i "submit" changes to goxgui.exe do i need to compile it with the whol  *.py scripts changes and what is the index used for compiling and what compiler to use  :) thx for help


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: rpgreseller on May 07, 2013, 04:12:52 AM
I specialize in developing marketplaces, and I want to partner with someone that would like to add a marketplace layer to a wallet.
I don't mean an exchange, I mean a marketplace.

I.e. I want to sell a gold plated fountain pen, I list it for sale at a price of $70.50 + $1.00 shipping. This offer exists on a marketplace, where someone can see it and buy it.

Bitcoiners need a marketplace as much as they need a good wallet system. I aim to combine them.

I helped develop playerauctions.com and have a decade of experience in ecommerce development and management.
If your team is ambition enough to add a marketplace layer, let's talk.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 08, 2013, 05:48:57 PM
goxgui v1.1.0 released!

Download goxgui v1.1.0 on SourceForge. (https://sourceforge.net/projects/goxgui/files/)

Changes:

- multi-currency support
- preferences dialog
- various refactorings and unit tests to improve code quality
- fixed bad looking fonts on Windows platform
- fixed annoying QTimer error on application close

The most requested feature in the reddit poll (http://www.reddit.com/r/goxgui/comments/1ctll2/next_feature_i/) was a close tie between multi currency support and limit / stop orders. I decided to implement multi-currency support first, because it affects the whole application and will be much harder to implement once the application gets more complex. It was already a lot more work than I expected, but I am happy with the result and I believe if MtGox and goxapi support multiple crypto currencies one day, goxgui won't have to be changed much.

P.S.: now vote for the next feature! (http://www.reddit.com/r/goxgui/comments/1dy0i0/next_feature_ii/)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: fible1 on May 08, 2013, 07:17:11 PM
goxgui v1.1.0 released!

Download goxgui v1.1.0 on SourceForge. (https://sourceforge.net/projects/goxgui/files/)

Changes:

- multi-currency support
- preferences dialog
- various refactorings and unit tests to improve code quality
- fixed bad looking fonts on Windows platform
- fixed annoying QTimer error on application close

The most requested feature in the reddit poll (http://www.reddit.com/r/goxgui/comments/1ctll2/next_feature_i/) was a close tie between multi currency support and limit / stop orders. I decided to implement multi-currency support first, because it affects the whole application and will be much harder to implement once the application gets more complex. It was already a lot more work than I expected, but I am happy with the result and I believe if MtGox and goxapi support multiple crypto currencies one day, goxgui won't have to be changed much.

P.S.: now vote for the next feature! (http://www.reddit.com/r/goxgui/comments/1dy0i0/next_feature_ii/)

This is a great GUI, I think I was first to DL it this morning heh :).

I love your work Sebastopool, best of luck!

Pablo.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: jhansen858 on May 09, 2013, 01:51:18 AM
downloading now!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 09, 2013, 03:07:45 AM
I'm working on updating my fork to sebastopols  latest  version. The password stuff should be easier. I still am not sure why your stop loss order didnt work if the rest of normal trades can trade.

Good to see that you still keep an eye on the original repository :) This time there have been some major refactorings under the hood, but I think they're worth integrating because they will make future extensions easier for both of us. Also, if you wait till the evening, I should have multi-currency-support ready by then!

OK, I've updated the forked repo. The multi-currency support was just too big of an update for me to include right now. For the stop loss orders, user orders  and ticker tab/ticker title bar, download it from https://github.com/genbtc/goxgui  
Also, the "Total:" Bitcoins column is still present as this is one of the best features that I use goxGUI for. (i usually place my orders about 3000 coins away from the spread, so big whales can hit them :P) So in my version it is still there but it is removed in his latest version. (see screenshots)
Also, you can edit the "Fiat" and "Target" currency in the "Various Settings" window, which changes the .ini file for goxtool so it will actually trade in different fiat currencies, and show that currency's wallet. (but the decimals are wrong for JPY and SEK)
The authentication and password tabs have been moved into "Preferences" and you can supply your own password. The "Apply" button will run one final check if everything is valid, and enable the OK button to Write everything to the config file and restart the socket with your new credentials.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Grover on May 09, 2013, 03:20:28 PM
Market dips below 81 nothing happens because the app is waiting for 78, but if the market reverses and goes above the low between 78-81 then the app enters a buy at x$ above the point between 78-81 and if no buy happens because the market reverses so rapidly then it app enters buys at levels the user has defined for x$ more, and x$ more until a buy happens or until a set ceiling is crossed.

So let's take an example for me to understand this. Let's say the price drops to 79, we have entered the buy zone (78 - 81), but it doesn't drop to 78. Instead, it goes up again. The user has defined buy steps at $2, and as soon as the price has reached $81, the bot would place bids at $83, $85, $87 etc. until a buy happens?

Basically yes.

I'll work out stating the logic in a clear fashion.



sebastopol and mrlithium Your work on this is greatly appreciated.  I haven't forgotten I stated i would come up with a better example of what I was on about a few days ago.  Not that yall are holding your breath until I posted again.  ;D

Instead of trying to trade BTC manually I'm working towards a bot application. This is one whack a mole crazy manipulated market.  Penny stocks that are about to be delisted don't even hold a candle to Gox/BTC.

I'm pretty sure I have a sound basic formula designed, of course I would think that I thought it up, though at least one programmer appears to agree.  IDK if this is the place to post this but if anyone wants to work to program a bot then PM me and I can send you my initial premise, or PM me and I'll edit this post to remove the offending text.



Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: nedievas on May 09, 2013, 06:05:20 PM
a bug found in the new version. When I choose EUR in preferences - the order book still displays USD price, just changes the title of asks and bids.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 09, 2013, 08:46:53 PM
Did you download the pre-packaged binary or the version from the repository?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: hugolp on May 11, 2013, 07:00:06 AM
Why does goxgui merges together some bids or asks? Ive noticed that sometimes bids or asks that are closed get showed together as if they are the same bid or the same ask. Is this a bug or a feature? Either way it should not be this way IMO.

EDIT: Ive checked and goxtool is not doing it, it must be something goxgui is doing.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: nedievas on May 11, 2013, 07:26:47 AM
Did you download the pre-packaged binary or the version from the repository?
http://sourceforge.net/projects/goxgui/files/goxgui-1.1.0-win-x86.zip/download


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: papamoi on May 11, 2013, 09:51:32 AM
hi guys

i think it s better to keep the cumulated volume so we can evaluate the markets .

it seems it was removed in the last version

just a suggestion


thanks


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 11, 2013, 11:25:37 AM
hi guys

i think it s better to keep the cumulated volume so we can evaluate the markets .

it seems it was removed in the last version

just a suggestion


thanks

Yes. He is working on it. He removed it because there was a CPU utilization issue (it recalculates the total every time a new depth message comes in, which I guess its using up CPU cycles on laptops), but not really an issue for me, so i kept it in my version @ https://github.com/genbtc/goxgui


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: hugolp on May 11, 2013, 01:08:50 PM
Why does goxgui merges together some bids or asks? Ive noticed that sometimes bids or asks that are closed get showed together as if they are the same bid or the same ask. Is this a bug or a feature? Either way it should not be this way IMO.

EDIT: Ive checked and goxtool is not doing it, it must be something goxgui is doing.
Theres a preference setting for this in my version @ https://github.com/genbtc/goxgui, or edit "model.py" and change GROUP_ORDERS to 0.

There is no GROUP_ORDERS string in model.py.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: jatajuta on May 13, 2013, 02:31:23 AM
I downloaded the version from this link https://github.com/genbtc/goxgui

Everytime I check the box named Activate Stop Loss Bot i get the following error:

23:29:50.760 Traceback (most recent call last):
  File "C:\Users\EOFL\My Documents\GitHub\goxgui\build\pyi.win32\goxgui\out00-PYZ.pyz\goxapi", line 304, in __call__
  File "C:\Users\EOFL\My Documents\GitHub\goxgui\build\pyi.win32\goxgui\out00-PYZ.pyz\stoploss", line 24, in slot_trade
AttributeError: Gox instance has no attribute 'stopOrders'

Also when I try to add a value i.e 1 btc for 110 usd on the stop order tab nothing happens.

What am I doing wrong?

UPDATE N.1- Reading again maybe is something to do with the folder name? I have no folder named C:\Users\EOFL on my PC.

UPDATE N.2 - It is working now, I just closed and then open the program again.

Also, is there a way of doing a stop buy order? In the case I wanna buy only if it breaks 125 for example...

UPDATE N.3 - I have to reboot my pc and now I am having the same problem with the stop loss bot, it gives me the same error from before and no matter if i close the program and open again, just dont work.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Ultraviolet on May 14, 2013, 10:20:27 PM
The genBTC fork lags terribly for me now during periods of high activity. The last genBTC version (where the API Key/Secret were stored in the top of the UI rather than under preferences) was fine though.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 15, 2013, 12:38:53 AM
The genBTC fork lags terribly for me now during periods of high activity. The last genBTC version (where the API Key/Secret were stored in the top of the UI rather than under preferences) was fine though.
I made some performance optimizations: I've speeded it up by a factor of 2, So instead of using 5-10% CPU, it should only use 2-5%
Sample Proof:
https://raw.github.com/genbtc/goxgui/master/performance.png
Running 3 instances at the same time, each with different code, I found some ways to speed it up.
The numbers below are for twice the length of time as the picture, just to smooth any errors out.
Version:  CPU Usage Time
older Main Fork (w/ total column, "Before"): 2:40
genBTC fork (with total column,    "After")  : 1:10
Newest Main (no total column,  "Removed) : 0:30

Changes are live on the git.

Everytime I check the box named Activate Stop Loss Bot i get the following error:

23:29:50.760 Traceback (most recent call last):
  File "C:\Users\EOFL\My Documents\GitHub\goxgui\build\pyi.win32\goxgui\out00-PYZ.pyz\goxapi", line 304, in __call__
  File "C:\Users\EOFL\My Documents\GitHub\goxgui\build\pyi.win32\goxgui\out00-PYZ.pyz\stoploss", line 24, in slot_trade
AttributeError: Gox instance has no attribute 'stopOrders'

This shouldn't happen. I'm not sure why that path got inserted in there when I compiled the .exe, I've removed any reference to those now, and the new version is on the github. If you are getting those errors of course the stop loss isnt gonna work. Also, I have invented a way to do the "Stop-Gain" - Buy if price is above certain price.. Just enter the amount of BTC as negative, and the price as the trigger price to buy. "Negative BTC" means do Stop-Gain Buy @ target price.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: jatajuta on May 15, 2013, 01:49:10 PM
I downloaded the last version of the genBTC fork but it crashes on startup, here is the log:

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   goxgui.exe
  Application Version:   0.0.0.0
  Application Timestamp:   4fbf5043
  Fault Module Name:   QtCore4.dll
  Fault Module Version:   4.8.4.0
  Fault Module Timestamp:   510ff60e
  Exception Code:   c0000005
  Exception Offset:   0003bc96
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:   1046
  Additional Information 1:   0a9e
  Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:   0a9e
  Additional Information 4:   0a9e372d3b4ad19135b953a78882e789


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 15, 2013, 04:11:01 PM
I downloaded the last version of the genBTC fork but it crashes on startup, here is the log:

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   goxgui.exe
  Application Version:   0.0.0.0
  Application Timestamp:   4fbf5043
  Fault Module Name:   QtCore4.dll
  Fault Module Version:   4.8.4.0
  Fault Module Timestamp:   510ff60e
  Exception Code:   c0000005
  Exception Offset:   0003bc96
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:   1046
  Additional Information 1:   0a9e
  Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:   0a9e
  Additional Information 4:   0a9e372d3b4ad19135b953a78882e789
Sorry, I fixed it now. Anyone who was having problems with stop loss orders should try the new version, and it now does "Stop-Gain Buy" orders, if you use a negative BTC as the amount, and price as the target price.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Ultraviolet on May 15, 2013, 05:32:57 PM
When you say Stop-Gain Buy orders do you mean trailing stops, or something else?

Edit: Also just noticed new .exe calculates size via the Size Button to 99999.0000000 after you enter funds/price. Total does the same thing.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 15, 2013, 07:12:57 PM
Fixed the 99999 problem, also added Trailing stop loss market sells.

Trailing stop loss market sells can now be used, by setting price to a negative number ("negative price") meaning the distance away from the current price to set the stop loss to. (ie: -5, if current price is $115, stop loss price will be $110. If the price goes up to $125, the stop loss trails behind it as $120, and if the price now drops to $120 or below, we will take profits and sell off at $120

"Stop-Gain Market buys" are something else entirely. if the price is going up and you dont want to be left behind, this is when you use the "negative size" to tell the bot to BUY instead of sell, once the target price is reached.

To recap:
+Size , +Price = Stop Loss Market Sell ("size" BTC will be sold at market, when price falls at or below "Price")
+Size,  -Price = TRAILING Stop Loss Market sell (same as the first one, except the stop loss target price will start off at the current price minus "Price", as the market goes up, the stop target will compensate, and should the price fall below the new adjusted target (the sell will fire and PROFITS will be taken).
-Size,  +Price = Stop GAIN market BUY ("size" BTC (the negative signifies a buy), will be BOUGHT at market, when the price climbs at or above "Price")
WARNING: -Size, -Price <---- DONT try do it, i did not create something to handle this, and it has to be coded before it can work, (refer to https://bitcointalk.org/index.php?topic=176489.msg2022346#msg2022346 ) for a theoretical run through of what it would do.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: jatajuta on May 15, 2013, 08:28:01 PM
Its working now! Thanks!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 25, 2013, 01:08:56 PM
goxgui v1.2.1 released

Download binaries on sourceforge.net (https://sourceforge.net/projects/goxgui/files/?)

This is a maintenance release, I don't have much time lately. Still, a lot has happened under the hood, and there are a few more preference options for the user.

Changes:

* Re-enabled grouping
* Re-enabled order book totals columns
* Performance optimization: the application has an own order book now, depth changes only lead to partial updates, not the whole order book
* User can customize the order book columns in the preferences.
* User can customize the price proposal the application makes when bid / ask table is clicked.
* Ticker bid / ask is now shown separately so it's still visible when grouping is enabled.
* Preferences file is now backwards compatible, new items will simply be added if they are not in the user's preferences file.
* The mac package now contains a proper "app", so the menu displays the application name (instead of "python") and the icon is displayed properly.
* Fixed order book table stretching.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 25, 2013, 05:06:21 PM
You need to pull with the option --recurse-submodules so the goxtool submodule is updated correctly:

Code:
git pull --recurse-submodules


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 25, 2013, 08:40:12 PM
Try this:

Code:
git submodule update --recursive


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: gweedo on May 25, 2013, 08:42:48 PM
Try this:

Code:
git submodule update --recursive

ok that worked thank you!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: BR0KK on May 27, 2013, 12:08:30 PM
I can't figure out how to put the API key into the program (the right way)..... It always tells me "invalid key". Tried it several times not but it wont work on my macbook :(

1. Generated a Key on GOX
2. Trade and Get info Rights
3. Copy and paste to the appropriate Textbox....
=> Invalid Key?

.....
€:

Is this a bug:

Mtgox:
http://abload.de/img/bildschirmfoto2013-05iejs3.png


GoxGui:
http://abload.de/img/bildschirmfoto2013-05xtkl4.png

I think the Textboxes in GoxGui are named the wrong way :)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 27, 2013, 05:46:58 PM
Oh sh*t, you're right ;D must have "rearranged" it. Will fix this!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 27, 2013, 06:14:48 PM
Version 1.2.2 released. (https://sourceforge.net/projects/goxgui/files/?)

Changes:

  • Fix key and secret labels in the preferences were switched around


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: lsvpa on May 29, 2013, 11:32:17 PM
Quote
Traceback (most recent call last):
  File ".../application.py", line 26, in <module>
    from market import Market
  File ".../goxgui/market.py", line 4, in <module>
    import goxapi
ImportError: No module named goxapi

I tried the

Quote
git submodule update --recursive
git pull --recurse-submodules

but still returning the same error.

I can run it on my vb but rather have it in linux.

Running python 2.7.3 (or do i need python 3?)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: mrlithium on May 30, 2013, 02:18:19 AM
Running python 2.7.3 (or do i need python 3?)
don't use 3. use 2.7.3

If those git commands dont work you can download the zip file of goxtool manually, and put it into the goxtool directory.
(not a git expert so idk how to best explain this while the author is asleep)


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: lsvpa on May 30, 2013, 04:05:16 AM
Running python 2.7.3 (or do i need python 3?)
don't use 3. use 2.7.3

If those git commands dont work you can download the zip file of goxtool manually, and put it into the goxtool directory.
(not a git expert so idk how to best explain this while the author is asleep)

I had tried that and nothing was working.

On a whim I tried extracting the files from goxtool directly into the goxgui dirrectory... and it works!


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: prof7bit on May 30, 2013, 09:33:18 AM
On a whim I tried extracting the files from goxtool directly into the goxgui dirrectory... and it works!

Dont't do that. You will miss important updates and bugfixes of goxtool/goxapi. You should use git.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on May 30, 2013, 10:18:23 PM
Like the others said. To check out and run goxgui try:

Code:
git clone --recursive git://github.com/sebastianhaberey/goxgui.git goxgui
cd goxgui/run
./start_mac.sh

If you are on linux, change the last command to ./start_linux.sh, if you are on windows use ./start_win.bat



Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on June 03, 2013, 04:09:04 PM
Don't have much time but two quick comments:

Application Log on / off: I have been thinking about this one myself. But instead of a check box, I would like a 'log window' option in the menu. That way, it would take up no screen space at all if you don't enable it. Something like: "Tools -> Log Window". The only problem is, I haven't figured out how to pop up a log window on the mac. Every time I tried (using QDialog or QMainWindow), I had problems switching back and forth between the log window and the main window :( Any help is appreciated here.

Graphing: yes, it'd be great to have a graphing widget for goxgui. c0inbuster sent me a beautiful screenshot a while ago (https://bitcointalk.org/index.php?topic=148462.msg1982655#msg1982655), and I love his idea of implementing a PyQt widget using the mentioned ta-lib. I would definitely not hesitate to integrate it into the main branch. If, on the other hand, the resulting graph looked something like this (just a random example) (http://www.caida.org/tools/utilities/graphing/gnuplot3.png), I'd probably not be that enthusiastic about it :D


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on June 03, 2013, 07:22:57 PM
You're right about the performance. And yeah, it wouldn't be wise to use Qt primitives or invent yet another graphing API - better to use something tried-and-tested out there. If only those frameworks weren't so damn ugly. I guess that's because they were designed by technically minded people (like us ;))...

BTW I have restructured the UI quite a bit to gain more screen estate and accommodate future functionality (just checked in).


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: sebastopol on June 04, 2013, 07:38:05 PM
Hehe it sounds like you have a lot of work todo, good luck, and since it's open source, I'll be happy to copy what I like ;) if you figure out the log window thing pls tell me


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: c0inbuster on June 05, 2013, 03:53:07 PM
Hello,

I have some comments about graphing...
maybe Qwt could be a solution
http://qwt.sourceforge.net/
see also http://pyqwt.sourceforge.net/
http://www.qtcentre.org/threads/20298-Can-Qwt-be-used-for-financial-charting-(bar-chart-candlestick)

Matplotlib can also draw candlestick OHLCV data

Code:
from matplotlib.finance import *
fig = plt.figure()
ax = fig.add_subplot(111, ylabel='price')
Date = range(1,len(data['BTC'])+1)
Open = data['BTC']['open'].values
High = data['BTC']['high'].values
Low = data['BTC']['low'].values
Close = data['BTC']['close'].values
Volume = data['BTC']['volume'].values
DOCHLV = zip(Date, Open, Close, High, Low, Volume)
candlestick(ax, DOCHLV, width=0.6, colorup='g', colordown='r', alpha=1.0)

If data are stored in a Pandas DataFrame you can also
look at this
https://github.com/pydata/pandas/issues/783
http://nbviewer.ipython.org/4982660/

QtStalker http://qtstalker.sourceforge.net/
seems to be interesting too... but C++ not Python

Kind regards


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: myself on June 21, 2013, 01:15:08 PM
is there anyway to export all the personal trade data ?


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: prof7bit on August 14, 2013, 07:39:30 PM
MtGox isn't really relevant anymore, the tool itself is great but it's pretty much worthless as of now.

MtGox is not irrelevant. Its still one of the largest exchanges with the most trading volume (more volume than most (all?) other exchanges combined) and it has the fastest and most reliable trading engine and API of all exchanges. I wouldn't call that irrelevant.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Exocyst on November 11, 2013, 02:30:38 PM
It seems gox-gui is irrevocably tied to MtGox -- Just look at the name. I suppose porting it to another exchange wouldn't be super difficult (you just need to fork prof7bit's excellent goxtool and redo the API extensions, websocket, and JSON indexes), although it certainly lies outside the scope of a project named after MtGox. Personally, I'd expect there'll be people forking it for BTCChina.

Really very nice work on this one, and thanks to prof7bit as well for the excellent goxtool (http://prof7bit.github.io/goxtool/).

Cheers.


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: jatajuta on November 11, 2013, 03:54:11 PM
If someone did this fork for Bitstamp would be awesome, it seems MtGox didn't got rid of the laging problem.

https://github.com/genbtc/goxgui


Title: Re: goxgui - a Graphical Bitcoin Trading Tool for MtGox
Post by: Martijnvdc on November 11, 2013, 06:31:16 PM
Mt.Gox is down ATM...