Can someone explain what the "profit" command does? I looked it up on the help page but it's not very descriptive.
The
profit command calculates from which rate a buy/sell is profitable when bought/sold at a specified rate considering the current commission fee of Mt. Gox. E.g. if you sold 1 BTC at $10.00 you will start making profit (ending up with more BTC) when rebuying at < $9.94008. If you bought 1 BTC at $10.00 you will start making profit (ending up with more $ in your account) when selling at > $10.06028. If you rebuy > $9.94008 or sell < $10.06028 fees will be greater than what you actually gain in the actual trade and you end up with a loss.
When I withdraw I get this:
infested999$ withdraw xxxxxxxxxxxxxxxx x.xxxxxxxx
Funds are on their way (bitcoin transaction: edcf5d09cebc54cb87f9b30776dc48201ca19005db56dae6fca2f94f23b8510d)
Updated balance:
Traceback (most recent call last):
File "goxsh.py", line 211, in prompt
proc(*args)
File "goxsh.py", line 429, in __cmd_withdraw__
self.__print_balance(withdraw_info)
File "goxsh.py", line 312, in __print_balance
print u"BTC:", balance[u"btcs"]
KeyError: u'btcs'
BTC: infested999$
It still withdraws the money just fine, but it scared me a bit and I thought my BTC were all gone for a second. You should suppress that error!
This is a known bug with the last release of ahihi. Doesn't affect the withdrawit just fails to print the new balance after the withdrawal. Fixed since
0.20.