Author Topic: Shorts on bitAssets get margin called at 150% collateral NOT 200%  (Read 560 times)

0 Members and 1 Guest are viewing this topic.

Offline cryptosile

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Forced cover doesn't happen until a short falls below 150% collateral.  I had an open short myself that was at 164% collateral.  60 USD short, with a BTS collateral of about 98.4 USD.  I believe the forced margin call would happen at 150% a.k.a. 66% of collateral, but I've not seen a forced cover on any of my personal transactions.

https://github.com/BitShares/bitshares/blob/master/libraries/blockchain/market_engine_v7.cpp
Code: [Select]
      auto call_collateral = collateral;
      call_collateral.amount *= 2;
      call_collateral.amount /= 3;

So, call collateral is when 2/3 (66%) of total collateral.  Which is the same thing as saying 150% (3/2) collateral.

I'm not 100% sure this is the correct line but it would be nice to know exactly where this is controlled.  It looks like it maybe referenced in more than one place.


I think it's important to get this right as ByteMaster and others references the 200% number fairly often.  Here is one:
http://bytemaster.bitshares.org/article/2015/01/13/NuBits-is-a-Ponzi-Scheme/





Offline toast

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
    • View Profile
  • BitShares: nikolai
Re: Shorts on bitAssets get margin called at 150% collateral NOT 200%
« Reply #1 on: January 19, 2015, 02:32:46 am »
I thought this was part of the relative feed hard fork but apparently not... added now

https://github.com/BitShares/bitshares/issues/1273
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline cryptosile

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: Shorts on bitAssets get margin called at 150% collateral NOT 200%
« Reply #2 on: January 19, 2015, 03:48:09 am »
So, you are saying that in an upcoming hard fork this will change to 200% ?   Was there a discussion around this somewhere I missed?

Offline toast

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
    • View Profile
  • BitShares: nikolai
Re: Shorts on bitAssets get margin called at 150% collateral NOT 200%
« Reply #3 on: January 19, 2015, 04:07:06 am »
I'm saying that's what I *thought* was going to happen. I was told about this before and thought it was handled. I made a new issue.
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline alt

  • Hero Member
  • *****
  • Posts: 2613
    • View Profile
  • BitShares: baozi
Re: Shorts on bitAssets get margin called at 150% collateral NOT 200%
« Reply #4 on: January 20, 2015, 01:21:42 am »
I think the margin call did not execute because there is no bid order up feed price.