Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - theoretical

Pages: 1 ... 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 ... 34
286
We also need an honest way to account for "projected yield" but I don't know how to do that because there are too many variables:

BitUSD that comes in from yield -- fees, short interest, whatever -- should go into a buffer fund.

Every block, some tiny percentage of the buffer fund goes into the "accrued yield fund."  Thus, with no future network income, the buffer fund would decay exponentially with some predictable half-life we can set.  Let's set it to one month.

A distribution event from the accrued yield fund will occur when the accrued yield fund has accumulated to 0.01% of the eligible BitUSD.  Eligible BitUSD are those that haven't moved since the last distribution event.  Iterating through every immobile BitUSD balance is a technical issue with this approach, but we can avoid it with a clever implementation [1].

Transparently showing projected yield can be based on the buffer fund's income.  You can also show a single APY number for the income in a year based on the assumption that the buffer fund's income on future days will be equal to its average per-day income over the last 30 days.  Then also show the range of what will happen if the income goes up or down by one standard deviation.

You could even show a graph of what the APY over time will be if the current funding level continues, if the income goes up or down one standard deviation, if the income doubles, halves, or goes to zero.

[1] We don't want to iterate through every immobile BitUSD balance on every distribution event.  So instead we merely record the block number at which the distribution event occurred, and move the 0.01% to a third fund, the distribution fund.  Then whenever a BitUSD balance requests its yield, you check how many distribution events occurred since it last moved (minus one, since it wasn't eligible for the first distribution event).  Then pay from the distribution fund 0.01% times the amount of BitUSD times the number of distribution events.

Besides solving the technical problem, this implementation also provides honest accounting of untouchable BitUSD, which are currently very hard to figure out.  The distribution fund can be immediately claimed by longs at any time.  The accrued yield fund and buffer fund are untouchable right now -- but the longs are assured that BitUSD will move from them into the distribution fund, in a timely manner, according to a simple, predictable, transparent algorithm.


287

I agree that supercharging BitAsset yield is a great way to boost demand for our product and help us market it.

I'd suggest simply making the shorts pay interest -- that was the original plan!

If I read this correctly, you're talking about some form of dilution, or massive infusion of I3 funds, merely to boost BitUSD yield.

We haven't even tried making shorts pay interest.

And lots of the BitUSD in the yield fund's current implementation is actually untouchable -- it'll never be paid out, due to the way the yield fund implemented!

288
Do we really need more than 400% reserve? How conservative do we want to get here? Like drltc pointed out, there is a balance here: the more conservatively the DAC operates the less value it can capture for useful purposes such as higher yields on BitAssets, or even payments to delegates/workers to grow the DAC in other ways.

I think this argument conclusively shows that having shorts pay interest will be better for the BitShares ecosystem than having shorts develop excessive collateralization.  bytemaster's comments in this thread and elsewhere lead me to believe that he disagrees; he thinks collateral ratio is more important.  (At https://bitsharestalk.org/index.php?topic=9532.0 I develop at great length another objection to excessive collateralization.)

I was trying to argue that there should be one variable and that variable should be interest.  Given bytemaster's strong support for collateralization ratio as the one variable, I thought interest on shorts would be likelier to be implemented if I offered the compromise of including both.  You rightly point out that this compromise will add complexity and make it harder for market participants to formulate strategy.

However, I worry that your function f is going to be way too complicated for market participants to reason about. How exactly is someone considering shorting supposed to decide on their strategy? They now have three variables to tweak: price, collateral ratio, and interest rates (I am assuming the market decides interest rates rather than having it be universally imposed by the network at any given time).

Dealing with the three-dimensional nature of the problem makes it difficult.

We could get rid of the "price" dimension by having two different types of shorts:  A fixed-price short with 2x collateral and no interest, and a "wall short" or "feed short" that moves with the feed but has variable collateral and interest.  Fixed-price shorts would only execute when there are no wall shorts, and they wouldn't really be useful when there's a lot of people wanting to short.

I was thinking of showing the f() score of each offer.  With one pretty graph of the total BitUSD of orders that would be ahead of you as a function of the interest rate assuming you kept the current leverage ratio, and another pretty graph of the total BitUSD of orders ahead of you as a function of the leverage ratio assuming you kept the current interest rate.

Then I realized that f() of each order changes with the price level.  Whether there's some f() that will result in this effect helping or hurting all orders equally and preserving their relative positions in the sequence is an interesting and non-trivial theoretical problem.  If you don't have an f() with this property, then the two pretty graphs are useless and misleading.  I think most f() will not have the necessary property unless you design it in.

Also, keeping some of the BitAssets from the yield fund in a reserve fund in case of a black swan event can be another mechanism, beyond collateral ratios, for the DAC to further reduce black swan risk (at the expense of lower yield rates) without needing to add complication to the shorts.

This is an idea I support, but I think bytemaster's plan for now is, if it becomes a problem, make a hardfork that can spend the "untouchable BitUSD" in the yield fund.  I agree that it should be considered low-priority given the market behavior and the other major changes they're working on, discussing, or have already rolled out.

289
I proposed basically the exact idea in the previous post, which I called "BitBonds," almost a month ago.  I noted then that it was a good way to tie up arbitrarily large amounts of investor capital for long periods of time -- see https://github.com/drltc/bitbond-proposal/blob/master/bitbond.md  But it didn't get much of a response.

The original problem we're trying to solve is that Carrie, who's looking for a long-term low-risk fixed-rate investment, is tempted to become the creditor of her friend Alice.  (Alice needs to borrow money because she wants to short BitUSD at a leverage ratio which is fairly safe, but much lower than the top of book at the short wall.)

We provided a relief mechanism at the speculator's side by giving Alice a viable alternative, paying interest to the network.

We can also simultaneously provide a relief mechanism at the creditor's side:  We can give Carrie an alternative investment that's even safer than investing in Alice.  Instead of becoming Alice's creditor, Carrie can simply invest in BitBonds.

Because Carrie becomes a systemic risk when she partners with Alice, and our strategy for dealing with Carrie is to make BitBonds a better investment than Alice, the solution is obvious:  We want to have BitBonds be denominated in whatever currency would be most attractive to people like Carrie.  Carrie, as a long-term low-risk fixed-rate investor, will be most interested in stable-value currency.  Which means that Carrie will be most interested in a BitUSD-denominated BitBond.  Since the interest on BitBonds is funded from interest charged to shorts, if we want BitUSD-denominated BitBonds, we should charge BitUSD-denominated interest on shorts.

290
I'll say the interest will be in "coins" in this post; I'll reveal whether interest should be BitUSD- or BTSX-denominated in the next post.

The simplest thing to do with the interest is to burn it as fees (if BTSX-denominated) or pay it as yield (if BitUSD-denominated).

We can do something more sophisticated, however:  If we want a large amount of capital tied up for a long time, we can use the interest to incentivize long-term investors to remove their capital from circulation.  We can let a long-term investor like Lenore make an order such as "I'll pay 1000 coins today, in order to receive 1030 coins in a year."  Ludwig might make a competing order that says, "I'll pay 1000 coins today, in order to receive 1025 coins in six months."

The network will convert these competing orders to a common scale -- APY.  If the network's only received, say, 25 coins in interest payments, then it will partially fill Lenore's order (which has a lower APY than Ludwig's order) and leave Ludwig's order unfilled.  To ease network load, maybe filling of partial orders should only happen once an hour or so.

This soaks up Lenore and Ludwig's spare capital without potentially setting up BitShares for its very own version of the late 2000's (decade) financial crisis.  And definitively addresses the issue of how we can still tie up large amounts of capital, even if we allow 2x positions to offer interest to out-compete higher-leverage positions (which is an issue I'm sure Agent86 would raise, based on his quote at the top of this thread).

Should the interest charged to shorts be BitUSD-denominated or BTSX-denominated?  The final question will be answered in the next post...

291

The amount of interest to be charged should be some percentage of the amount Alice would need to borrow to put her order at the top of the book, above Dan's, plus some risk premium to compensate the network for the possibility that Alice could default.

A 9x collateral position that needs boosted to 10x will be a lot less likely to default than a 2x collateral position being boosted to 10x.  So the risk premium for the 9x position should be substantially less.

Exactly what the risk premium and interest rate should be, can be determined numerically (and likely even analytically) from a geometric-random-walk model.  I have already written a thread about this:  https://bitsharestalk.org/index.php?topic=9520.msg123853#msg123853

I would add one modification.  Consider a technical trader named Ted, who usually closes his short positions within an hour or two of opening them.  Offering an enormous APR has very little cost to Ted since his position is open for so little time.  But offering an enormous APR does have a great benefit for Ted:  He can jump directly to the top of the book!

To better align Ted's incentives with policy goals, I propose a simple modification which I call the "three-day rule:"  Covering earlier than, say, three days, will be charged the same interest as if the position had been covered after three days.  This is equivalent to charging a percentage fee to open the short, and then offering a credit on the interest invoice equal to the fee paid.  If the position wasn't open long enough for the interest due to exceed the credit, the unused portion of the credit is income for the network, and a loss for people like Ted.

The remaining questions are as follows:

- Who should get the interest?

- Didn't Agent86 and bytemaster just get done explaining that tying up a large amount of wealth in collateral is a desired policy goal?

- Should the interest be BitUSD-denominated or BTSX-denominated?

Read the next post for some answers...

292
From the story in the previous post, the next natural step is to have a "BTSX money market" to match potential speculators like Alice, with potential creditors like Carrie.

The problem with this situation should be obvious to anyone who was paying attention during the US financial crisis at the end of the last decade.  Alice and other shorters' debts will be very highly rated, so a lot of people like Carrie will put a lot of money into them with an expectation that the principal will be preserved.

If BTSX takes a nose dive and covering Alice's short would dip into Carrie's $8000 principal, then Carrie and all the other creditors will start putting a ton of political pressure on the central bank to print BitUSD or BTSX to make them whole.  Regardless of the central bank's response or non-response, the crisis of confidence will jeopardize the entire system.

You can't stop Alice and Carrie from finding each other and making this business arrangement -- if the blockchain doesn't get built-in support for it, they'll just find a way to do it off-chain.

You can't stop Carrie from mentally turning "this deal is approved by all the credit rating agencies and has a very low probability of default" into "this deal has a zero probability of default."  Humans are notoriously poor when it comes to reasoning about very rare events.

The best way to prevent a financial crisis would be to have Alice require no capital from Carrie at all.  Allow positions like Alice's that want safe, but lower than top-of-book, leverage ratios to offer to pay interest directly to the network.

Should this interest be denominated in BTSX or BitUSD?  Who should get it?  How much interest should be charged?  What about the opening quote in the previous post?  Won't Carrie still want to do something with her capital?  Read more in the next post...

293

This is a small series of ~5 posts.  I invite you to read each one on its own, then stop and think about the post's final thought for a minute before moving on to the next post.

Example from new system:
You use (tie up) $10,000 worth of BTSX to post a large collateral to short 1,000 bitUSD into existance (at par)… 15mins later someone offers for sale 1,000 bitUSD for $970… would you cover?

Sure why not, you just made $30 in 15 mins, and you can get right back to the front of the shorting line by putting up your big collateral again.  If you have a robot doing this you are making $120/ hr.

This comment made me think of a little story.

Alice has $1000 worth of BTSX and she wants to go short $1000 BitUSD at a 2x collateral ratio.  Bob wants to buy BitUSD at the feed price.  But Bob always buys from deep-pocketed Dan instead of Alice, because Dan has more money than Bob and is willing to offer all of it at a 9.99x collateral ratio.

So Alice calls her rich friend Carrie, and upon seeing Alice's business plan (short $1000 BitUSD), Carrie agrees to loan Alice $8000 worth of BTSX.  Combining Alice's $1000 cash with creditor Carrie's $8000 loan, Alice can successfully compete with Dan:  Including Bob the BitUSD buyer's purchase price of $1000 worth of BTSX, the total collateral is $10000 worth of BTSX, Alice now has a 10x ratio that narrowly out-competes Dan's offer.

Giving friends discounts in business deals is against Carrie's religion.  So the interest rate Carrie will charge Alice depends on the risk in Alice's business plan.  But all the credit rating agencies say that, based on Alice's business plan, her possibility of default is very very small.  Especially if the loan has a clause allowing Carrie to margin call the debt and force liquidation if Alice's equity in the deal starts to get dangerously low.

So Carrie is willing to offer the loan to Alice at very good interest rate, and everybody's happy (except for Dan who's just been out-competed, but hey, it's a free market so that's okay).

However, there is one small problem, which I'll explain in the next post...

294
I feel there will be plenty of demand for BitUSD on a more collateralized network earning over 2% than a lower collateralized network.  I think long-term viability of BTSX depends upon how secure BitUSD holders are that they will not be left unbacked or illiquid.

The probability of black swan event decreases as a function of the collateral ratio.  I agree that long investors prefer a higher collateral ratio to a lower one, because it reduces the probability of a black swan event.  But long investors also like to receive interest!

If the current collateral level gives an annual black swan risk of 0.5% or once every 200 years, your line of thinking would imply long investors would rather reduce that risk to 0.001% through increased collateralization -- even if the alternative was +5% cash interest from shorts.

This assertion is simply not credible.

295
General Discussion / Re: Max Short Holding Period
« on: October 01, 2014, 12:08:57 am »
I guess I just don't see people "dropping their pants" to unload bitUSD if they know that holding for less than a year will give them face value.

We want BitUSD to be used for functions other than as a buy-and-hold investment.  A merchant selling goods for BitUSD won't want to wait a year to get the full value of the buyer's payment.  A time frame of a month or less when the system is experiencing unusual economic conditions will still be a PITA for the merchant, but much more tolerable.

I'm not saying your view doesn't have merit but I think if it's that critical the over-creation of bitUSD probably already happened and now most will be grandfathered anyway - it would be kind of nice to reset the market in the short run.

IMHO, re-writing the terms of financial derivative contracts after people have bought them is ethically perilous and will do more damage to our credibility than the alternative.

Providing some sort of demand stimulus for BitUSD would help.  I propose charging new shorts interest, and using that to increase long yields [1].  We can also safely increase yields by changing the yield distribution algorithm [2].

[1] https://bitsharestalk.org/index.php?topic=9520.0

[2] https://bitsharestalk.org/index.php?topic=9072.0

296
General Discussion / Re: Max Short Holding Period
« on: September 30, 2014, 11:44:44 pm »
You can always re short if you want so I don't understand what is the benefit for holding a short position for 1 year (even for the old shorts)...

If the price rose, then re-shorting the same number of BitUSD would require more collateral.

E.g. if price is at 30 BTSX / BitUSD today and you short 100 BitUSD.  Then BitUSD rises to 40 tomorrow, then drops to 20 in 6 months.  With one-year expiry, you have 3000 BTSX tied up for 6 months.  With one-month expiry, you have 3000 BTSX tied up for one month, then you have to re-short at 40 which ties up 4000 BTSX for the remaining 5 months (unless you re-short less than 100 BitUSD).

297
General Discussion / Re: 0.4.18 Issues
« on: September 30, 2014, 11:17:12 pm »

BitUSD : BTSX market is showing "Assert Exception" in a big red box at the top.  How can I get more information?

298
Yep.. we just discussed such a system... it would make it more expensive to be a market maker and I feel there will be plenty of demand for BitUSD on a more collateralized network earning over 2% than a lower collateralized network.  I think long-term viability of BTSX depends upon how secure BitUSD holders are that they will not be left unbacked or illiquid.

A market maker with e.g. 10x collateral would be able to offer a low or zero interest rate and still beat lower-collateral offers paying much higher interest rates.  Keep in mind also that the interest rate offers compete on is an annualized interest rate or APR, hence a market maker who expects to quickly cover, e.g. within one day (or less), will only pay one 1/365 (or less) of the APR.

I think that it is necessary to use interest rates to balance short-side supply of BitUSD with long-side demand for BitUSD.  A higher collateral ratio doesn't stimulate demand for BitUSD.

It is not sufficient for us to offer BitUSD to the masses.  We need to give them a compelling reason to buy it.  That might be a vibrant ecosystem of major merchants that accept BitUSD for goods and services -- but such an ecosystem does not currently exist.  The high yields that we would be able to offer to longs by charging shorts interest, would make BitUSD a much more attractive product than fee-based yield alone.

299
How would you choose f()? Ideally, you'd want f() to be chosen dynamically by some market mechanism. Hard-coding it could lead to trouble a la price-fixing.

I don't know if it's possible to use a market mechanism to determine f().  Markets only really work when participants' preferences are totally ordered.  When the preference is two-dimensional, the market idea breaks down.  f() fixes that by reducing the market back to one dimension [1].

I think you can figure out a reasonable form for f() by assuming prices follow geometric random walk (basically log(price(t)) is a bell curve with standard deviation k*t for some parameter k representing how fast prices tend to move).  Then the risk of a black swan after some time is the right tail of this normal distribution [2], starting at the point where the short becomes insolvent.  More collateral sets the cutoff for the tail at a later point; a greater interest rate pushes (translates) the bell curve away from the cutoff.

Then the level curves for f() should be the curves with a constant probability of black swan.  I.e. the network prefers offers with the lowest probability of becoming insolvent according to the model [3].  I'm pretty sure f() will have the same level curves regardless of k (the parameter that represents how fast the prices tend to move).

I think you should be able to do these computations analytically, and I'm sure you can do them numerically.  In either case, you'd probably have your hard-coded f() actually be a polynomial approximation with some small error.

[1]  Another way to deal with two-dimensional preferences is to quantize one of the dimensions and segment the preference space.  E.g. have 1% interest offers only compete with other 1% interest offers, 2% interest offers only compete with other 2% interest offers, etc.  And then the only way to do a 1.5% offer would be as some combination of a 1% offer and a 2% offer with approximately the characteristics of the desired 1.5% offer for which there is no market.  I don't think this is the right approach for us to use in this case.

[2] For BitUSD priced in BTSX.  For backwards people like bytemaster, who price BTSX in BitUSD, it would be the left tail.

[3] You might say "wouldn't it be desirable to set a maximum allowable probability of black swan?"  The minimum collateral requirement, margin call price, and interest rate floor of 0% are basically equivalent to setting a maximum allowable probability of a black swan in the model.

300
This is the exact implementation I had considered *if* we wanted shorts to pay interest to longs rather than posting additional collateral.

This would create a bidding system / auction system for setting the interest rate...

Why not do both?

Let every short offer specify both the collateral ratio, and interest rate.  You can increase your offer's sort priority by increasing either the collateral ratio or the interest rate.

In other words, just specify some hard-coded function f(collateral_ratio, interest_rate) with df/dx and df/dy both positive, and sort shorts according to their f() value.

Basically f() represents to what extent the network is willing to reward higher collateralization with an interest rate discount.

Pages: 1 ... 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 ... 34