Meni, I admire you: you got 2 things in one package that seldom come together: brains and balls. (the brains to think up such a scheme and the balls to actually offer it)
I have a consistent methodology for these things: Start small, see if it works, then expand. This way I can try out many different ideas without taking excessive risk.
Will you provide the market maker bot as well?
That's the plan. If someone else does a maker bot, I'll still need to operate a balance bot which will execute trades placed by the maker bot.
I think I could provide that using my python code (
https://github.com/molecular/traidor)
what exactly would it have to do?
- receive trade requests (amount, desired price, sell/buy)
- place order with mtgox
- observe order getting filled
- give back info about executed trade request
?
and maybe also:
- provide info about liquidity (market depth)?
- provide info about volatility?
- provide info about last trade price?
Based on your description it looks like more of an order placement assistant. What I'd need for now is something that runs every ~1 minute and does the following:
- Cancel existing orders on GLBSE
- Collect data on the number of outstanding bonds, the mtgox last price, and some parameters such as my desired position, my net worth, and price volatility.
- Calculate the marginal value for me of each bond (I still need to work out some details with this).
- Place bids on the bonds at a little below the value, and asks at a little above.
- Alert me when my position becomes too unbalanced despite its efforts, so I can balance it by trading manually on Mt Gox, making CFD deals, or in the worst case, making a forced buyback of bonds.
- Send me a daily summary of its status (number of outstanding bonds, position, account balance...)
For now it seems simple enough that it would be better to develop it on my own. Going forward I'll consider getting something more professional made.
For the less mathematically imaginative, I made a little google spreadsheet "simulation"
You can enter the current exchange rate, amount of BTC to invest and which N to invest in (the yellow fields) and see what happens for price moves.
Great, this can be handy.
(you need to make a copy of the spreadsheet to be able to edit using "File -> Make a Copy...")
It seems this option is disabled for outsiders. "Download as" works but is a bit difficult because Google uses a different function name for POW than Excel/OO.
If you could either change the privileges, or add another sheet with -1, it would be good.
Can someone sanity-check it?
Looks good. It's important to clarify that all USD profits given are assuming that the alternative is to keep USD. This is made somewhat confusing by the fact that the field to enter is "BTC to invest".
Calling. The issuer has the right to buy back the bonds
I don't understand how this works with glbse. Can the issuer forcibly buy back?
Yes, GLBSE has a forced buy back feature - The issuer specifies an amount per bond, this is paid to bondholders and all bonds move to the issuer's account. Very useful. I haven't tried it yet but i hope it works.
EDIT: Nebulous... will you just "virtually" buy back before the bond goes to negative value as in "liquidate"?
The bond face value is never negative. Any losses cause the investment to shrink, so this is equivalent to margin trading while always being on the allowed margin - any losses cause immediate forced liquidation in the amount required to cover them. This is unrelated to the calling clause.