Bitcoin Forum
April 23, 2019, 06:59:14 PM *
News: Latest Bitcoin Core release: 0.17.1 [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 29346 times)
Ultraviolet
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
May 14, 2013, 10:20:27 PM
 #121

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

Posts: 1556045954

View Profile Personal Message (Offline)

Ignore
1556045954
Reply with quote  #2

1556045954
Report to moderator
1556045954
Hero Member
*
Offline Offline

Posts: 1556045954

View Profile Personal Message (Offline)

Ignore
1556045954
Reply with quote  #2

1556045954
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
mrlithium
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
May 15, 2013, 12:38:53 AM
Last edit: May 15, 2013, 09:31:39 AM by mrlithium
 #122

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

Activity: 365
Merit: 250



View Profile
May 15, 2013, 01:49:10 PM
 #123

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

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
mrlithium
Newbie
*
Offline Offline

Activity: 46
Merit: 0


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

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
**
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
 #125

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
 #126

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
 #127

Its working now! Thanks!

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

Activity: 38
Merit: 0



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

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.
gweedo
Legendary
*
Offline Offline

Activity: 1246
Merit: 1000


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
May 25, 2013, 05:01:29 PM
 #129

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.

I just did a git pull and it updated but when I run it I get this error

Code:
Traceback (most recent call last):
  File "../goxgui/application.py", line 70, in <module>
    app = Application(sys.argv)
  File "../goxgui/application.py", line 57, in __init__
    self.view = View(preferences, market)
  File "<fullpath>/goxgui/goxgui/view.py", line 83, in __init__
    self.market.start()
  File "<fullpath>/goxgui/goxgui/market.py", line 225, in start
    self.gox = self.__create_gox()
  File "<fullpath>/goxgui/goxgui/market.py", line 113, in __create_gox
    gox.orderbook.signal_fulldepth_processed.connect(self.__slot_fulldepth)
AttributeError: OrderBook instance has no attribute 'signal_fulldepth_processed'

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
sebastopol
Newbie
*
Offline Offline

Activity: 38
Merit: 0



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

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

Code:
git pull --recurse-submodules
gweedo
Legendary
*
Offline Offline

Activity: 1246
Merit: 1000


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
May 25, 2013, 05:08:57 PM
 #131

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

Code:
git pull --recurse-submodules

it return that is up to date already

Code:
% git pull --recurse-submodules
Fetching submodule goxtool
Already up-to-date.

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
sebastopol
Newbie
*
Offline Offline

Activity: 38
Merit: 0



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

Try this:

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

Activity: 1246
Merit: 1000


Java, PHP, HTML/CSS Programmer for Hire!


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

Try this:

Code:
git submodule update --recursive

ok that worked thank you!

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
BR0KK
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500



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

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
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
 #135

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

Activity: 38
Merit: 0



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

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
 #137

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
 #138

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
 #139

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: 700
Merit: 500


A Blockchain Mobile Operator With Token Rewards


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

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.

              ███
             █████
            ███████
           █████████
          ███████████
         █████████████
        ███████ ███████
       ███████   ███████
      ███████     ███████
     ███████       ███████
    ███████         ███████
   ███████           ███████
  ███████             ███████
 █████████████████████████████
███████████████████████████████
.
M!RACLE TELE
...BRINGING MAGIC...
...........TO THE TELECOM INDUSTRY...........

██
██
██
██
██
██
██
██
██
██
40% Biweekly Rewards
▬▬▬   Calls at €0.2   ▬▬▬
Traffic from €0.01 worldwide

██
██
██
██
██
██
██
██
██
██
      ██         ██     
        ▀▌     ▐▀       
       ▄██▄▄▄▄▄██▄      
     ▄█████████████     
   ▄█████████████████▄   
  ██████▄██████▄██████  
 ▐█████████████████████▌
  ██████▀███████▀██████ 
  █████   █████   █████  
  █████████████████████  
  █████████████████    
    ███████████████    
 ▀██▄ ████████████  ▄██▀
      ▀██▀   ▀██▀   
       ▄█       █▄
ANN
Lightpaper
Bounty
Facebook
Twitter
Telegram
Pages: « 1 2 3 4 5 6 [7] 8 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!