Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

"Rejecting cover order with invalid interest rate" !!! #875

Closed
liondani opened this issue Oct 24, 2014 · 10 comments
Closed

"Rejecting cover order with invalid interest rate" !!! #875

liondani opened this issue Oct 24, 2014 · 10 comments

Comments

@liondani
Copy link

Still problem to cover open margin orders !!!
New error message: "Rejecting cover order with invalid interest rate" !!!

https://bitsharestalk.org/index.php?topic=10471.msg138158#msg138158

http://2.bp.blogspot.com/-wGDS3mEsXNo/VEpAv183B4I/AAAAAAAADMg/cmXabydif4w/s1600/evil_shorts2.png

@nathanielhourt
Copy link
Contributor

Expected behavior until the soft-fork later today. Please try again after that, and feel free to reopen this ticket if the issue persists past block 828000.

@liondani
Copy link
Author

I have covered one $100 "open margin order"
BUT I did not received my expected collateral back !!!!
I have shorted all my orders for about 120-130 collateral ratio (it was the max collateral ratio at time)
because I wanted first priority for my shorts.... That means for the $100 cover I should receive at
least 50,000 BTSX more back and not 17,072 as I have ! I assume I have received only 3x the standard collateral that is needed from now on for the new short orders after the fork. But that was not the case with my orders that was taken before the fork.

http://3.bp.blogspot.com/-Syw6DxH4Dts/VEuo255G98I/AAAAAAAADNA/MzrBTg7ZLIE/s1600/margin100_fee2.png

@nathanielhourt
Copy link
Contributor

Those ledger entries are nonsense; I'm not sure what's happened there. Can you post the transaction ID so we can see what it actually did?

@liondani
Copy link
Author

margin100_fee3

@nathanielhourt
Copy link
Contributor

Everything here looks correct... You claimed all of the collateral, which
indicates that the position was closed. Are you sure that position had
never been margin called in the past and forced to partially cover, thereby
reducing the collateral freed when you closed it?

@liondani
Copy link
Author

Never margin called that's for sure!
The short order was about 1-2 days before the fork happened, you can check the expiration day on the screen shot (27 days when I posted it yesterday, so it's not older that 4 days!) I say it again the collateral ratio was about 125 or something like that, that means more that 10 times the usd value I have shorted! See the prices of btsx the last 5 days, it could never margin called!!!

@liondani
Copy link
Author

wait I check again.... maybe I am wrong about what I was expecting...

@liondani
Copy link
Author

No I am not wrong!
I should receive more than 50,000 back because of the big collateral ratio I have put (about 125) !
It's obvious I just received 4x back the collateral of the $100 value instead of 12.5x it should,
And I assume the system calculates the standards 4x collateral (3+1) that is hard forked on the client
right now and don't "remembers" the collateral ratios we putted in before the hard fork...Am I right or am I missing something?

@nathanielhourt
Copy link
Contributor

I think you are misunderstanding the meaning of the old collateral ratio. You say you placed this short with a collateral ratio of 125, and you short sold $100. This means you sold $100 collateralized at 125 BTSX/USD, which means you put up 125*100=12500 BTSX in collateral. The margin position is around 4 days old, meaning when it was created the trading price was a little over .02 USD/BTSX, so when $100 were purchased from your short order, the long would have paid at most 100/.02=5000 BTSX into your collateral position, which when added to the 12500 BTSX you put in means we should expect your total collateralization to be less than 17500 BTSX, not 50000 BTSX. When you closed the position you received about 17000 BTSX back, which is exactly what would be expected.

@liondani
Copy link
Author

Thanks for your explanation. It seems I was wrong with my understanding about the collateral.
If I see something strange I will ask for help again ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants