BitShares Forum

Main => Technical Support => Topic started by: yvv on October 24, 2015, 12:16:36 pm

Title: Why can't I sell my rub?
Post by: yvv on October 24, 2015, 12:16:36 pm
Error message: Fee pool balance of '0 BTS' is less than the 10.00019 BTS required to convert 2.2098 RUB

I have enough balance to pay this fee, what should I do to be able to sell?
Title: Re: Why can't I sell my rub?
Post by: fav on October 24, 2015, 12:21:00 pm
you can't pay the fees from your wallet at the moment (planned).

and the rub fee pool is empty, you or someone else has to fill it up first
Title: Re: Why can't I sell my rub?
Post by: karnal on October 24, 2015, 01:53:57 pm
you can't pay the fees from your wallet at the moment (planned).

???
Title: Re: Why can't I sell my rub?
Post by: yvv on October 24, 2015, 01:54:35 pm
you can't pay the fees from your wallet at the moment (planned).

and the rub fee pool is empty, you or someone else has to fill it up first

And how do I fill it up?
Title: Re: Why can't I sell my rub?
Post by: iHashFury on October 24, 2015, 02:07:53 pm
cli_wallet

Code: [Select]
unlocked >>> fund_asset_fee_pool **USERACCOUNT** RUB 1000 true

more info (https://bitsharestalk.org/index.php/topic,19253.msg247754.html#msg247754)
Title: Re: Why can't I sell my rub?
Post by: yvv on October 24, 2015, 02:17:02 pm
cli_wallet

Code: [Select]
unlocked >>> fund_asset_fee_pool **USERACCOUNT** RUB 1000 true

more info (https://bitsharestalk.org/index.php/topic,19253.msg247754.html#msg247754)

Ok, now I need to learn cli to start trading.
Title: Re: Why can't I sell my rub?
Post by: iHashFury on October 24, 2015, 02:26:56 pm
I added 1000 BTS to the RUB pool

Try again
Title: Re: Why can't I sell my rub?
Post by: yvv on October 24, 2015, 02:56:24 pm
I added 1000 BTS to the RUB pool

Try again

Oh thanks! This worked! Now I need to figure out how to fill that margin call order :)

Edit: Ok, everything worked well.
Title: Re: Why can't I sell my rub?
Post by: yvv on October 26, 2015, 05:30:44 pm
Price feed for RUB is completely wrong. My contract was margin called because of this. Stop manipulating the price people!
Title: Re: Why can't I sell my rub?
Post by: cube on October 26, 2015, 05:33:54 pm
There is an issue with the RUB market.  The feed is temporary disabled until a fix a available.  Please do not use this market for the time being.
Title: Re: Why can't I sell my rub?
Post by: yvv on October 27, 2015, 07:53:15 pm
Very nice. I lost money because of this. Although a small amount, but disappointed any way.
Title: Re: Why can't I sell my rub?
Post by: BunkerChainLabs-DataSecurityNode on October 27, 2015, 08:03:15 pm
Very nice. I lost money because of this. Although a small amount, but disappointed any way.

If you could provide more details on exactly what kind of orders you executed.. this might help with preventing what caused this from happening again. We were getting strange errors that indicated something related to how an order was placed in the market.. seems you're the guy that did it.. so can you give more specific details on it? This is only for the purposes of possibly identifying an issue and being able to more quickly reenable these markets.
Title: Re: Why can't I sell my rub?
Post by: yvv on October 27, 2015, 10:00:10 pm
Very nice. I lost money because of this. Although a small amount, but disappointed any way.

If you could provide more details on exactly what kind of orders you executed.. this might help with preventing what caused this from happening again. We were getting strange errors that indicated something related to how an order was placed in the market.. seems you're the guy that did it.. so can you give more specific details on it? This is only for the purposes of possibly identifying an issue and being able to more quickly reenable these markets.

I created a contract for 100 RUB at settlement price 4.42 BTS/RUB, then sold 90 RUB at 4.43 BTS/RUB. At this point a settlement price was correct. Next day the system closed my position and sold my collateral at 7.57 BTS/RUB, which is just completely wrong. Right now a price feed for RUB is wrong by a factor of 60. This error could cost me much more money if I invested more. I am going to hold on moving more money into bitshares until this issue is fixed.
Title: Re: Why can't I sell my rub?
Post by: xeroc on October 28, 2015, 08:04:29 am
I am not sure what happend here .. I have a feeling that it may have been yahoo's fault .. one of the sources for the price feed ..
Seems I need to rething the whole strategy of the price feed script and do some EMA of prices aswell .. Sorry for the inconveniences

//edit:  have pushed a new commit that will warn if the price movements are too big:
https://github.com/xeroc/python-graphenelib/commit/31ea4a37569308bd200e1060f3cca4205d64477f
Title: Re: Why can't I sell my rub?
Post by: wackou on October 28, 2015, 10:30:30 am
it looks like we had a jump of exactly 100x on the price of RUB 3 days ago.

https://bitshares.openledger.info/#/asset/RUB

Same thing for SEK: https://bitshares.openledger.info/#/asset/SEK

Could that be due to an old script trying to publish values but with a wrong precision for that asset? I doubt that yahoo is the culprit, here, that would be very weird. Worth noting also is that precisely those 2 assets also had black swan events in the latest testnet, so that is something that has been happening for some time now...
Title: Re: Why can't I sell my rub?
Post by: xeroc on October 28, 2015, 11:02:41 am
I don't think it has anything to do with the precision .. The script does not distinguish any of theses assets .. so a precision error would have effected all of them ..
Title: Re: Why can't I sell my rub?
Post by: Bhuz on October 28, 2015, 01:36:29 pm
The exactly same script was jumping from 4 to 400 and viceversa (for RUB) in less than a minute range. So I think the problem was on the source side like xeroc said