Author

Topic: New goxsh fork (Read 3770 times)

newbie
Activity: 2
Merit: 0
December 27, 2011, 03:04:52 PM
#16
Hello
Has anybody used the goxsh with an account in Euros instead of USD?
Does it work good with Euros too?
Thank you
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
October 12, 2011, 07:26:56 PM
#15
There seems to be a couple bugs in goxsh or maybe in MtGox (but requiring a workaround).

The command history has a problem with long commands like "cancel sell 23444--2334-222222etc". It doesn't fully remove  the text as you up arrow past the command leaving garbage behind on subsequent commands. From my reading of the code it seems this is in the Python readline module. Or perhaps the rl_completer code. I don't have enough python-power to fix it.

The feature that allows entering a $USD and calculates how many BTC should be bought to match the $USD price will often enter invalid orders. This appears to be something in the precision/rounding code. I tried adding "rounding=ROUND_DOWN" but that didn't help - I still get invalid orders that don't execute (and cost me money in missed trades).

You won't know they don't exec until the price moves there and the order fails or partially fails. Then MtGox shows it as an invalid X order. I suspect maybe changing the precision to usd instead of btc would help here or perhaps just subtract 0.00001 from the USD amount before calculating.

For now I'm just using a calculator to figure it manually and try to enter a safe btc amount.

buy $41.4636 3.9302

results in below after the trade tries to execute,
Code:
Kind |       BTC      | ID
     |       USD      | Date (status)
============================================================
buy  |     0.87640578 | 579b7a7e-f3bb-4756-87c9-3e1fba46f550
     |     3.93020000 | 2011-10-12 18:57:56 (open)
------------------------------------------------------------
buy  |     0.00000007 | X579b7a7e-f3bb-4756-87c9-3e1fba46f550
     |     3.93020000 | 2011-10-12 18:57:56 (invalid)
------------------------------------------------------------

The problem may be at the MtGox end and related to partial fills leaving a fragment behind that no longer calculates to the remaining funds available. In the few cases I've seen this cocur I think it was when partial fills took place.
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
October 09, 2011, 02:55:23 AM
#14
Every time I try to use this I get an error.

Code:
$activate 4c9ablah-blah...
Mt. Gox error: Invalid key
$
Has something changed on Mt.Gox. I created the app key Seems to be in same format as example on Git. Have set user and app device name. But always say this error when try to activate.

Solved:
I found out you have to create two types of keys on MtGox. The API key which you don't use but apparently needs to be present, and then an application key (the one with the QR code) which you need to use for goxsh activate command. Once I had both and entered the App one it worked ok.
newbie
Activity: 31
Merit: 0
August 30, 2011, 01:58:19 PM
#13
Updated screenshots on http://www.goxsh.info. There is a "bug" in the output of one of the commands of goxsh 0.25 you can find among the new screenshots. Found it? Twitter a tweet like
Code:
@goxsh_cli Found the bug!
Among all correct reported found-the-bug-tweets a Mt. Gox redeemable code worth 0.5 BTC will be raffled off. Deadline is September 1, 2011, 00:01 UTC. Good luck :-)
newbie
Activity: 31
Merit: 0
August 18, 2011, 01:13:00 PM
#12
goxsh 0.25 released: https://github.com/Optonic/goxsh/tree/0.25

Excerpt from Changelog
  • 0.25
    • Added deposit-command to print a BTC-address to deposit BTC and added the ability to withdraw to Dwolla, Liberty Reserve and Paxum with the withdraw-command. Changed output of several commands in particular the output of the orders-command which now fits into a standard terminal with a width of 80 characters.
newbie
Activity: 31
Merit: 0
August 17, 2011, 12:14:00 PM
#11
goxsh 0.24 released: https://github.com/Optonic/goxsh/tree/0.24

Excerpt from Changelog
  • 0.24
    • Beautified output of depth-, bids- and asks-command.
newbie
Activity: 31
Merit: 0
August 16, 2011, 06:07:54 PM
#10
goxsh 0.23 released: https://github.com/Optonic/goxsh/tree/0.23

Excerpt from Changelog
  • 0.23
    • Added bids- and asks-command additionally to the depth-command and improved code a little (mostly additional exception-handling).
newbie
Activity: 31
Merit: 0
August 15, 2011, 04:12:05 PM
#9
goxsh 0.22 released: https://github.com/Optonic/goxsh/tree/0.22

Excerpt from Changelog
  • 0.22
    • Merged changes made by bitplane (NiceText), cleaned up goxsh.cfg (removed values set to default) and goxsh.cfg.example (removed tabs and replaced them with whitespaces for a better readability), added cumulation to the depth-command (for now works for last-trade-depth only).
newbie
Activity: 31
Merit: 0
August 13, 2011, 02:41:52 PM
#8
Hi, are you open to accepting patches for turning this into a more generic trader's toolkit?
I'm thinking of extending it for use with BitInstant and adding some commands for doing transfers between exchanges

Sure, every involvement is very much appreciated!
newbie
Activity: 56
Merit: 0
August 13, 2011, 03:49:40 AM
#7
I would love to use this.
hero member
Activity: 721
Merit: 503
August 13, 2011, 01:47:44 AM
#6
Hi, are you open to accepting patches for turning this into a more generic trader's toolkit?
I'm thinking of extending it for use with BitInstant and adding some commands for doing transfers between exchanges
newbie
Activity: 31
Merit: 0
August 10, 2011, 12:00:17 PM
#5
goxsh 0.21 released: https://github.com/Optonic/goxsh/tree/0.21

Excerpt from Changelog
  • 0.21
    • Modified (extended) depth-command and added configurable color support for it. Minor update in README.md.
newbie
Activity: 31
Merit: 0
August 01, 2011, 01:41:43 PM
#4
Thats Awsome man.
Have you tried? Would be interested if everything went well, because yesterday at IRC I tried to help someone to run goxsh within a Windows environment, which failed at all. Lack of readline support was the first hurdle. Not to mention GMP :-( Within cygwin everything is fine, but to have someone install cygwin just to run a python-script is a little bit too much trouble imo.
newbie
Activity: 40
Merit: 0
July 31, 2011, 02:11:44 PM
#3
Thats Awsome man.
newbie
Activity: 31
Merit: 0
July 31, 2011, 01:25:27 PM
#2
Just added FeatureRequests to the goxsh wiki where you can request features you'd like to see implemented within goxsh. To edit the wiki a github account is required. If you are not a registered user at github and don't want to register you may of course request features within this thread and I will update FeatureRequests with your posted requests.
newbie
Activity: 31
Merit: 0
July 30, 2011, 09:42:30 AM
#1
Hello everyone!

This post is related to goxsh — command-line frontend to Mt. Gox but due to the "newbies"-restrictions I decided to publish it in the "Newbies" section instead.

On July 21, 2011 I decided to add some basic ANSI-color support to goxsh and therefor forked goxsh at github. Until now I have made even more changes which you might be interested in. This is the main reason to announce my fork on Bitcoin Forum :-)

First, some kind of a changelog. For versioning I assumed ahihi's last commit to be 0.1 within my fork.

  • 0.20
    • Removed ability to login with username/password as it has become deprecated, added depth-function, fixed bug in withdraw-function, changed balance-function to rely on info.php instead of getFunds.php, changed profit-function which now gets the current trading fee/Mt. Gox commission via API-Request (via info.php) and finally cleaned up the code a little.
  • 0.16c
    • goxsh now supports login with API-key/secret. See README.md for further details.
  • 0.15
    • Changing configuration values and applying them within goxsh is now possible. Some preperations were made to allow authentification with api-key/secret but are commented out until further notice :-)
  • 0.14
    • Colored output of "balance", "ticker", "orders", "profit" and "ticker" and appearance of shell prompt now supported
  • 0.13
    • Sourced out the color settings to a separate config file and therefor added the ability to parse this config file to goxsh. Not every output is colorizable yet, but this is to come :-)
  • 0.12
    • Addded some comments, fixed a typo and changed Mt. Gox' API-URL.
  • 0.11
    • Added ANSI-colors and some tabs to output.

To get a little impression on how colors and the depth-command look like within goxsh take a look at the following screenshot:


Optonic's fork at github: https://github.com/Optonic/goxsh

Thank you for your attention and curiosity :-)
Jump to: