mrlithium
Newbie
Offline
Activity: 46
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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.
|
|
|
|
Ultraviolet
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 84
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 15, 2013, 05:32:57 PM Last edit: May 15, 2013, 05:47:23 PM by Ultraviolet |
|
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
Activity: 46
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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.
|
|
|
|
jatajuta
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 15, 2013, 08:28:01 PM |
|
Its working now! Thanks!
|
|
|
|
sebastopol (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 25, 2013, 01:08:56 PM |
|
goxgui v1.2.1 released Download binaries on sourceforge.netThis 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
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 25, 2013, 05:06:21 PM |
|
You need to pull with the option --recurse-submodules so the goxtool submodule is updated correctly: git pull --recurse-submodules
|
|
|
|
sebastopol (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 25, 2013, 08:40:12 PM |
|
Try this: git submodule update --recursive
|
|
|
|
gweedo
Legendary
Offline
Activity: 1498
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 25, 2013, 08:42:48 PM |
|
Try this: git submodule update --recursive ok that worked thank you!
|
|
|
|
BR0KK
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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 ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) 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: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fabload.de%2Fimg%2Fbildschirmfoto2013-05iejs3.png&t=665&c=ANDjXFpH1AG5VA) GoxGui: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fabload.de%2Fimg%2Fbildschirmfoto2013-05xtkl4.png&t=665&c=uoGVvaGxe_u4RQ) I think the Textboxes in GoxGui are named the wrong way ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
sebastopol (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 05:46:58 PM Last edit: May 27, 2013, 08:12:12 PM by sebastopol |
|
Oh sh*t, you're right ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) must have "rearranged" it. Will fix this!
|
|
|
|
sebastopol (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 06:14:48 PM |
|
Version 1.2.2 released.Changes: - Fix key and secret labels in the preferences were switched around
|
|
|
|
lsvpa
Newbie
Offline
Activity: 26
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 29, 2013, 11:32:17 PM |
|
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 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
Activity: 46
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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)
|
|
|
|
lsvpa
Newbie
Offline
Activity: 26
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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!
|
|
|
|
prof7bit
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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.
|
|
|
|
sebastopol (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 30, 2013, 10:18:23 PM |
|
Like the others said. To check out and run goxgui try: 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
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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 ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) 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](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
|
|
|
sebastopol (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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 ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) )... 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
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
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 ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) if you figure out the log window thing pls tell me
|
|
|
|
c0inbuster
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 05, 2013, 03:53:07 PM Last edit: June 05, 2013, 06:15:11 PM by c0inbuster |
|
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 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/783http://nbviewer.ipython.org/4982660/QtStalker http://qtstalker.sourceforge.net/seems to be interesting too... but C++ not Python Kind regards
|
|
|
|
|