Bitcoin Forum
April 26, 2024, 05:20:21 AM *
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: goxgui - a Graphical Bitcoin Trading Tool for MtGox  (Read 29579 times)
mrlithium
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
May 15, 2013, 04:11:01 PM
 #121

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.
1714108821
Hero Member
*
Offline Offline

Posts: 1714108821

View Profile Personal Message (Offline)

Ignore
1714108821
Reply with quote  #2

1714108821
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Ultraviolet
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
May 15, 2013, 05:32:57 PM
Last edit: May 15, 2013, 05:47:23 PM by Ultraviolet
 #122

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.
mrlithium
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
May 15, 2013, 07:12:57 PM
 #123

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.
jatajuta
Sr. Member
****
Offline Offline

Activity: 365
Merit: 250



View Profile
May 15, 2013, 08:28:01 PM
 #124

Its working now! Thanks!

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
May 25, 2013, 01:08:56 PM
 #125

goxgui v1.2.1 released

Download binaries on sourceforge.net

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.
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
May 25, 2013, 05:06:21 PM
 #126

You need to pull with the option --recurse-submodules so the goxtool submodule is updated correctly:

Code:
git pull --recurse-submodules
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
May 25, 2013, 08:40:12 PM
 #127

Try this:

Code:
git submodule update --recursive
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
May 25, 2013, 08:42:48 PM
 #128

Try this:

Code:
git submodule update --recursive

ok that worked thank you!
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
May 27, 2013, 12:08:30 PM
 #129

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 Sad

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:



GoxGui:


I think the Textboxes in GoxGui are named the wrong way Smiley

sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
May 27, 2013, 05:46:58 PM
Last edit: May 27, 2013, 08:12:12 PM by sebastopol
 #130

Oh sh*t, you're right Grin must have "rearranged" it. Will fix this!
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
May 27, 2013, 06:14:48 PM
 #131

Version 1.2.2 released.

Changes:

  • Fix key and secret labels in the preferences were switched around
lsvpa
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
May 29, 2013, 11:32:17 PM
 #132

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?)
mrlithium
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
May 30, 2013, 02:18:19 AM
 #133

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)
lsvpa
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
May 30, 2013, 04:05:16 AM
 #134

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!
prof7bit
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 30, 2013, 09:33:18 AM
 #135

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.

sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
May 30, 2013, 10:18:23 PM
 #136

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

sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
June 03, 2013, 04:09:04 PM
 #137

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 Sad 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, 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), I'd probably not be that enthusiastic about it Cheesy
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
June 03, 2013, 07:22:57 PM
 #138

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 Wink)...

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

Activity: 38
Merit: 0



View Profile WWW
June 04, 2013, 07:38:05 PM
 #139

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 Wink if you figure out the log window thing pls tell me
c0inbuster
Member
**
Offline Offline

Activity: 105
Merit: 10



View Profile WWW
June 05, 2013, 03:53:07 PM
Last edit: June 05, 2013, 06:15:11 PM by c0inbuster
 #140

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

Download free softwares! - crypto mining profit calculator - crypto triangular arbitrage tools - crypto stocks tools...
https://sites.google.com/site/working4coins/
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!