Pages:
Author

Topic: ICBIT Derivatives Market (USD/BTC futures trading) - LIVE - page 9. (Read 97654 times)

hero member
Activity: 674
Merit: 500
I introduced a few improvements to the trading API based on alpet's suggestions. It's only additional information channels and additional fields in existing data structures, so backward compatibility fully remains.

Now user_order data structure is enhanced with  a new field called "fills" which contains trade information if that incoming update resulted from a trade or trades. And the API page spec page got improved too, adding previously undocumented data structures.

TBD: Also small addition to the web interface is that now when your order is filled, you will see a notification mesage box in the top right corner.
newbie
Activity: 50
Merit: 0
I am a bit sceptical (to say the least) about this proposal.  It seems that little is gained by members to offset the economic risk they are taking, unless they are able to change the rules in such a way to favorize themselves - which would of course chase everybody else away.

There are two primary reasons to be a member, besides attempting to manipulate
1) This is the main point - there ALREADY is economic risk, but it's hidden in the corner cases of a clearing/settlement policy that's not visible to us (it's been 3 weeks since the last problem and still nothing), and not controlled by us. I've already lost money (as have others) on this so don't talk to me about not offsetting economic risk.
2) Members would get first look at emergency liquidations if there's not enough market liquidity - a chance to buy or sell at a deep discount.

There are a few reasons that there should not be manipulation
1) There's no bias between long and short sides.
2) Members are by definition first in the line of fire for counterparty liquidation (after first look, they must make up the shortfall). This cannot be changed.

Picobit outlined absolutely same concerns which I have myself.

First of all, the problem should be solved entirely and fairly. That means timely margincalls, and forced emergency liquidation in corner cases, which is fair to every participant according to his position.
Second, if someone is willing to pose as a risk-taker, thus bringing all risk to himself/herself, than that someone would want some benefits.

There is not much to offer regarding the voting rights over rules. I would be strictly against the fact that rules would be defined by a small elite group, as this would make it unfair. So far, ICBIT sticks to the rules developed by existing stock exchanges (and they will be formalized and published pretty soon).

As for boomerlu's suggestion about being first in line for margin calls liquidation - yes, that makes sense as a more-or-less safe benefit.
Regarding the "small elite" criticism...
1) Currently you and the others running the exchange control the rules. You are receptive to opinions, but ultimately you have the final say.
2) On top of that, only a few of us actually post or chat (I remember you had about 6k traders, I have maybe only seen about 100 names active in the chats or forums).
3) It can be made cheap to be a clearing member, and like I said there can be a cap to the amount of capital contribution. Or you can make the voting rights go up as the square root of capital contributed (diminishing returns). There are any number of essentially mathematical ways you can get around this.
4) It's not necessarily bad to make the group smaller than the full set of traders. Some of us have more experience than others (and I'm not even saying myself). Remember there can be no perfect political system. Somebody's interests always have to win out over others in the end. At least here the winners actually have to cover losses.
5) Edit: Also, again, it seems a lot of traders don't even chat or post. Maybe they're shy; handing them the option to easily lock up some of their extra BTC here (a form, I devote X BTC to covering liquidation shortfall in exchange for voting rights) and then a simple poll for proposals could INCREASE their participation in the process.
hero member
Activity: 674
Merit: 500
I am a bit sceptical (to say the least) about this proposal.  It seems that little is gained by members to offset the economic risk they are taking, unless they are able to change the rules in such a way to favorize themselves - which would of course chase everybody else away.

There are two primary reasons to be a member, besides attempting to manipulate
1) This is the main point - there ALREADY is economic risk, but it's hidden in the corner cases of a clearing/settlement policy that's not visible to us (it's been 3 weeks since the last problem and still nothing), and not controlled by us. I've already lost money (as have others) on this so don't talk to me about not offsetting economic risk.
2) Members would get first look at emergency liquidations if there's not enough market liquidity - a chance to buy or sell at a deep discount.

There are a few reasons that there should not be manipulation
1) There's no bias between long and short sides.
2) Members are by definition first in the line of fire for counterparty liquidation (after first look, they must make up the shortfall). This cannot be changed.

Picobit outlined absolutely same concerns which I have myself.

First of all, the problem should be solved entirely and fairly. That means timely margincalls, and forced emergency liquidation in corner cases, which is fair to every participant according to his position.
Second, if someone is willing to pose as a risk-taker, thus bringing all risk to himself/herself, than that someone would want some benefits.

There is not much to offer regarding the voting rights over rules. I would be strictly against the fact that rules would be defined by a small elite group, as this would make it unfair. So far, ICBIT sticks to the rules developed by existing stock exchanges (and they will be formalized and published pretty soon).

As for boomerlu's suggestion about being first in line for margin calls liquidation - yes, that makes sense as a more-or-less safe benefit.
newbie
Activity: 50
Merit: 0
I am a bit sceptical (to say the least) about this proposal.  It seems that little is gained by members to offset the economic risk they are taking, unless they are able to change the rules in such a way to favorize themselves - which would of course chase everybody else away.

There are two primary reasons to be a member, besides attempting to manipulate
1) This is the main point - there ALREADY is economic risk, but it's hidden in the corner cases of a clearing/settlement policy that's not visible to us (it's been 3 weeks since the last problem and still nothing), and not controlled by us. I've already lost money (as have others) on this so don't talk to me about not offsetting economic risk.
2) Members would get first look at emergency liquidations if there's not enough market liquidity - a chance to buy or sell at a deep discount.

There are a few reasons that there should not be manipulation
1) There's no bias between long and short sides.
2) Members are by definition first in the line of fire for counterparty liquidation (after first look, they must make up the shortfall). This cannot be changed.
hero member
Activity: 547
Merit: 500
Decor in numeris
I am a bit sceptical (to say the least) about this proposal.  It seems that little is gained by members to offset the economic risk they are taking, unless they are able to change the rules in such a way to favorize themselves - which would of course chase everybody else away.
newbie
Activity: 50
Merit: 0
Here's a sketch for clearing membership rules. All numbers are of course subject to change.

A member must keep some amount of BTC reserves at the exchange to help with forced liquidation scenarios. In exchange for those reserves, they get votes (proportional to their designated clearing reserves, but capped so that no person dominates the discussion say 2000 USD worth) in determining policy in the following areas
- forced liquidations
- margin
- margin call
- clearing and settlement
With an appropriate 1-2 week lag to allow for implementation.

In addition, when a major event in any of these categories occurs (usually manipulation or massive insolvency) all members are contacted and have 1 hour to get to a member's chat and come to a decision.

Members above 100 USD must have their emails on file, above 1000 USD must have their phone numbers (or skype, whatever is appropriate) on file so that they can be called to make such decisions. Any member is allowed to file their emails and phone numbers, but those above thresholds MUST. Decisions can only be made if at least 50% of the votes are cast and are decided by 2/3 majority. Alex or some other neutral third party from the exchange itself would be the executor of the decision, and the decision maker if voting fails to meet the standards set.

Any group of members with total reserves above 1000 USD may initiate a vote to amend the rules. The members with lower $$$ but good ideas have to find a willing sponsor or create a coalition to initiate (there's nothing preventing discussion in the chat). These rules changes are voted on bi-weekly with the same rules for emergency decisions, except there is no tiebreaker if the vote fails.

Reserves are updated biweekly and thus, once capital is designated as "membership reserved" it is locked in for 2 weeks.

If a member's reserves are used in an orderly liquidation, that member is entitled to a rebate on his trades until that amount is made up. The risk would be that they suffer such heavy immediate losses that they cannot trade anymore, so the rebate is gone.
full member
Activity: 124
Merit: 100
hero member
Activity: 547
Merit: 500
Decor in numeris
I really think you should consider allowing bids to be placed below the current trading range, and asks above.  That will allow us to build an "opposing side" of the order book in case of large price changes.  That will both dampen the swings, and provide a market when someone is margin called.

And +1 to the pseudocode suggestion Smiley
newbie
Activity: 50
Merit: 0
Guys, I have a proposal for "Clearing Membership" status. I will post it when I get home. If it's accepted, then we will all be voting on the ideas you guys have posted.

The essential idea is that Clearing Members post capital to guarantee liquidation at close to market price. In exchange for taking this risk, they get voting rights to set settlement and clearing policy and voting rights for emergency situations.

Changes I see needing to be made immediately though...
1) Forced liquidation regardless of win vs loss
2) Forced liquidation even in the case of small contract size (fractional contracts would help here)
3) If a trader is margin called (at 75% initial margin), and IF the current liquidity in the market would allow for liquidation with (<25%) of initial margin remaining after liquidation, then liquidation must occur immediately. That is, if there's not enough liquidity in the market for a liquidation with a safety margin, liquidation should happen immediately.
4) More transparency (pseudocode for example) on the exact liquidation process.

1 + 2 would help, again it's better to have everybody lose 10% of their position, than the winners lose 20% of theirs.

3 is a better liquidation rule, allows for some time cushion to get funds but keeps things a bit safer.

4 is to help avoiding nasty surprises like two Fridays ago. If we see something wrong we can point it out and have it fixed.
newbie
Activity: 6
Merit: 0

2) When the price thus moves suddenly, margin calls may happen.  But since the relevant side of the order book is empty, forces sell/buy cannot happen, and the "worst case scenario" will be invoked.  If we could pre-fill the relevant part of the order book before the clearing, we could act as counterparts to the forced liquidations.  The person being margin called would get a better price, and less people would see forced liquidations.  This is where it becomes important that there is still a limitation on the orders we can place, for example of another 10%.  That prevents me from placing buy orders at absurd prices like 0.1$ and hoping to profit unreasonably from someone to getting margin called.


I think this is the major cause of the problem.  It seems that the exchange has basically handcuffed itself with the very rule that is supposed to protect them in the first place.

Since there is no recourse against individuals that go into technical default, and no background checks to determine if a trader is financially sound to use margin/derivatives, it comes down to how to self-regulate ourselves better than the CFTC could.  We have to throw out some of the rules that normal clearinghouses use and use more creativity to protect both traders and the exchange.

There are really four variables that can be modified here:

  • Leverage ratio - the quickest most direct fix.  The downside here is that I think most of us would actually like more gearing, rather than less.  Going any lower than 2.5x would probably divert a lot of volume away.  It can and should go higher, once the exchange is more stable, but now's probably not the time for it.  However, once it's higher, it opens up the possibility of having a dynamically adjusted level based on market conditions.
  • Trading range - uncertain impact.  With a lower range, the market locks quickly and could remain locked across multiple trading sessions, thus further stifling trading.  With a higher range, the greater the chance positions get wiped away when someone can't get to their computer and refill their account.
  • Margin call condition - effective and somewhat unobtrusive.  Increasing the percentage decreases the probability of liquidations, but at the expense of traders having to refill more frequently.
  • Frequency of clearing - in practice, quite impactful, but too obtrusive.  With a higher frequency (say 3x day), you can run into situations where two trading sessions pass while someone's asleep.  And higher than that you brush up against the natural delay in confirming BTC transactions.
   

The way I see it is, the best option is changing the point at which maintenance margin has to be refilled.  Something like: issue a call for maintenance replenishment at 50%, giving the trader one trading session (12 hrs) to top back up to 100%.  If the call was not obliged, then force liquidate.  Within the one trading session, if the market continues to move quickly, margin call at < 25%.  So you basically wind up with an added buffer where traders can top up margin without giving them the implicit of option of running away, and without having to offset their trades in a locked market.

In addition, I would like to see the trading range move to something that's algorithmically adjusted.  Rather than a fixed number, it should be something that adjusts relative to market conditions and the current risk present in the exchange's book.  For example, if the Average True Range over the past n hours in the spot market is > x BTC, or if y% of trades in the book have < z% maintenance margin, decrease the range by a function of these amounts.  And vice versa.  The trick here is that you want to be protective, but also not drying up trading completely.  Which leads me to...

To picobit's point about pre-filling, I'm having a hard time determining why this would be a bad idea.  Obviously you can't have market orders being crossed outside the range, but at least there is the possibility to get a more realistic quote during liquidation.  It seems that "pre-filling" already occurs indirectly by not clearing the book after range adjustments, and having old out-of-range trades sitting there.  Just looking at the current market depth for BUM3, you have ~75% of the asks outside the range vs. ~5% of the bids outside the range.  I think you either have to allow limit orders outside the range at all times, or none of the time.

There is also a fifth variable - the length of the settlement period.  But, it would probably take a long sampling period to determine what works best.

Just my two cents.  I've only been trading for 2 weeks and only once has this scenario come into play while I've been on the site.  I'm sure it's happened many times before, but unfortunately I missed the discussion in the past.  And I'm sure these topics have been debated plenty of times as well, so my apologies in advanced.
full member
Activity: 124
Merit: 100
Hmm well fire, basically yes i agree it's not the most accurate definition in this case.
But still i think it conveys the general idea. Though not sure how to express all of this now.

This meaning is that the money are never going to leave this market, because there would be no connection
to other marketplaces. It's like closed system, in a sense the same  as these crappy bucket shops..
In order to get such interconnectivity going one would have to open positions in both markets simultaneously.
Naturally one of these positions would be a hedging position and another one would be a trading one.
But they are depend on one another, and if there's a risk of a hedging pos being closed anytime
such would incur the losses on the other side as well so to speak. Such is not acceptable for arb.

And the part which is about betting against the house... Hmm.. Nothing can prevent you from doing so anyway.
All exchange stats are not public. And considering that most of the time most of the people in the market are wrong.
You can just take the opposite side in any other marketplace anytime..

Yeah transparency is always the issue.

In a way even these ala fx desks are ok to some extent, precisely until they break their own contract terms..

But having a risk of a position which can be closed any moment doesn't fit in any contract known to me..
hero member
Activity: 547
Merit: 500
Decor in numeris
I think the limitations on the daily varation is a good idea, as it reduces volatility and reduces the sensitivity to "spikes" in the spot price.  The setup with 10% variation per clearing, and two clearings per day also seems like a reasonable compromise.  

However, I think the inability to place asks above the current maximum and bids below the current minimum is a bad thing, and should be allowed within an additional 10% or so.  I have three reasons.

1) If the spot market moves a lot, the price at ICBIT may hit the end of the allowed range.  In that case it becomes impossible to build an opposing side of the order book, and when the clearing happens the price moves rapidly as the relevant side of the order book is almost empty, except for a few ancient order left behind.

2) When the price thus moves suddenly, margin calls may happen.  But since the relevant side of the order book is empty, forces sell/buy cannot happen, and the "worst case scenario" will be invoked.  If we could pre-fill the relevant part of the order book before the clearing, we could act as counterparts to the forced liquidations.  The person being margin called would get a better price, and less people would see forced liquidations.  This is where it becomes important that there is still a limitation on the orders we can place, for example of another 10%.  That prevents me from placing buy orders at absurd prices like 0.1$ and hoping to profit unreasonably from someone to getting margin called.

3) Some of us are not able to sit in front of the browser 24/7, and may want to place orders relevant for the next trading session which are outside the range of the current one.

EDIT: Accidentally placing orders outside the trading range would be annoying, and it is nice that the interface prevents it.  So and additional step should be required to place such an order.  I suggest a check-box on the trading interface "Allow orders outside the trading range".  Even when checked, ask orders should only be allowed above the range, and buy orders below, and only within 10% as described above.
hero member
Activity: 674
Merit: 500
To get other insights more information about internal exchange risk management is needed.
Are there any books or research papers about the general derivative exchange architecture available?
Or any other sources of information related to the subject at all? Been looking for such..
arxiv.org :-)

Then without hedger's money inflow it's not gonna be a derivative market per se but sadly just an another bucket shop instead(

Daer xeverse! Bucket shop information, so you know what you are talking about next time...

"Typically the criminal law definition refers to an operation in which the customer is sold what is supposed to be a derivative interest in a security or commodity future, but there is no transaction made on any exchange. The transaction goes 'in the bucket' and is never executed. Without an actual underlying transaction, the customer is betting against the bucket shop operator, not participating in the market. Alternatively, the bucket shop operator "literally 'plays the bank,' as in a gambling house, against the customer." [ref]

In ICBIT, all transactions are going to the futures or exchange market, they never go in the bucket. Everyone can check this by placing an order, which appears in an orderbook accessible to all traders. All trades happening are broadcasted in real time to all clients. So, it is an open market, with or without hedgers, arbitragers or whoever else money.

That's what makes it different from any forex-alike desk, where openness is an issue.
full member
Activity: 124
Merit: 100
But I agree, it makes icbit unsuitable for hedging
Then without hedger's money inflow it's not gonna be a derivative market per se but sadly just an another bucket shop instead(
This subtle detail only means to me that an independent marketmaker, who must guarantee that
any position can be liquidated anytime at a reasonable market price, is a necessity,
as far as i concerned about emergence of a true bitcoin derivative marketplace..
At the same time a mmaker can probably go to the spot market any time to hedge their own risks.

To get other insights more information about internal exchange risk management is needed.
Are there any books or research papers about the general derivative exchange architecture available?
Or any other sources of information related to the subject at all? Been looking for such..
hero member
Activity: 547
Merit: 500
Decor in numeris
The problem is partly that Bitcoin is so volatile, that the exchange operator has to choose between exposing his customers to this kind of counterparty risk, only offering very small leverage, or take a huge risk himself.  Icbit tries to strike a compromise between the first two.

But I agree, it makes icbit unsuitable for hedging, and more risky for arbitrage (but then the arbitrage gain is much larger than elsewhere, but that does of course not help the hedgers)

You can see the procedure described on the web page under Margin Calls (worst case scenario).  I don't think it ever happened from I started to use ICBIT last summer until the bitcoin price ran amok this spring.  But since then volatility has been crazy, and it appears to happen regularly, despite the reduced leverage.

full member
Activity: 124
Merit: 100
This is probably really what happened.

Unlike futures market in the "real world", where the operator knows your identity and can come after you,
your losses are limited to the amount you deposit on your margin account.
On an ordinary futures exchange, there is in principle no upper limit to your losses,
as the exchange operator can drag you to court to get what you owe him.
Have never heard of such before. Are you for real? This wouldn't work out.

If i were to establish my own hedge fund and manage my investor's money,
no way i could risk of my hedging position being closed because of somebody else
defaulted on his margin requirements.

The maximum loss in a corporate market is limited by the the margin requirements for the contract,
all these terms are set in the specification and can not be changed by the exchange afterwards.

Those sharks (operators) would not care about legal procedures and stuff,
they always prefer to have their risks covered in advance and you wouldn't have it any other way.

It's just that i can not believe my eyes that you even consider possibility of closing a client's position
without margin call like acceptable, for whatever reason. That's why i don't know what to say for now.

For sure you guys have to deal with marketmaking then first,
so you could always close the defaulting position at the market price,
or would rather make the first transparent and open source exchange in the world.
With all stats and anonymous account cash flow publicly available to everyone.
sr. member
Activity: 454
Merit: 252
This is probably really what happened.

Unlike futures market in the "real world", where the operator knows your identity and can come after you, your losses are limited to the amount you deposit on your margin account.  On an ordinary futures exchange, there is in principle no upper limit to your losses, as the exchange operator can drag you to court to get what you owe him.  The downside of this limitation of your loss it the introduction of counter-party risk: If your counter-party's loss is limited by his available funds, so is your profit.  And yes, this introduces a risk to arbitrageurs.  On the other hand, the profit is also above the normal in arbitrage.

We cannot have it both ways, and in a quasi-anonymous bitcoin setting this counterparty risk is probably unavailable, unless the fees are so high that the exchange can afford to assume that risk - but that would probably scare us all away.

rather than have higher fees, just require larger margin and perform margin calls earlier (before the account would be forced to go negative.) This would help ensure that no one goes negative. It reduces people's ability to leverage and decreases the risk of an account going broke. In fact, you can force margin calls before the account would go negative AND force sell below market which would "hurt" the account that ran too low and "help" the accounts that are in good standing. This is similar to what a brokerage would do in the real world as an incentive to keep your accounts in good standing.

Quote
It is (and always was) this way. Only very small (1-5 contracts) positions are excluded, and also position is not touched if trader lost money trading that contract.

Otherwise, it would be too unfair.

I think arbitrary rules are unfair. The fair thing is for everyone is treated equally, but that is just my opinion. The best scenario is for such situations to not happen at all (stricter margin enforcement so contracts are force sold at market rates).
hero member
Activity: 674
Merit: 500
OK.  Is the loss also evenly distributed, i.e. it is better that everybody loose 1% of their positions rather than a randomly picked 10% loose 10%?  From your post, I assume it is.  I just got the opposite impression from chat and posts here, but that was of course just an impression.
It is (and always was) this way. Only very small (1-5 contracts) positions are excluded, and also position is not touched if trader lost money trading that contract.

Otherwise, it would be too unfair.
hero member
Activity: 547
Merit: 500
Decor in numeris
OK.  Is the loss also evenly distributed, i.e. it is better that everybody loose 1% of their positions rather than a randomly picked 10% loose 10%?  From your post, I assume it is.  I just got the opposite impression from chat and posts here, but that was of course just an impression.
hero member
Activity: 674
Merit: 500
Follow-up to my own post:

It appears that icbit keeps track of who is in each end of all the contracts.  This means that if I go broke, the poor guy who was unfortunately enough to trade with me on the exchange will take all the loss.  This random distribution of the risk in big lumps is in my opinion unfortunate, it would be better if the liquidations were distributed as evenly as possible among the people holding the opposite position.
picobit: Your previous post is correct, however this follow up is not. There is no matching of one-to-one (neither in big futures exchanges, nor in ICBIT). The distribution of risks is (more-or-less, with certain exceptions) even to people holding the opposite position.
Pages:
Jump to: