BitShares Forum

Main => Technical Support => Topic started by: onceuponatime on January 28, 2015, 10:13:56 pm

Title: Can't cancel bitAsset sell order (SOLVED)
Post by: onceuponatime on January 28, 2015, 10:13:56 pm
I had a sell order in bitSILVER which I cancelled. It did disappear from the "Sell BitSILVER Orders" list, but it is still in my Open Sell BitSILVER Orders as an active order, and when I click on "Cancel"  it just says "cancelling" but nothing happens. I have tried restarting the wallet with the same results. The bitSILVER do not show up in my Account Balances, and bitSILVer is still in my Open Sell Orders with the "Cancel" button back, but not in the "Sell BitSILVER Orders" column.

Any advice on how to complete the cancelling of the order and get my bitSILVER balance back would be appreciated.
Title: Re: Can't cancel bitAsset sell order
Post by: vikram on January 28, 2015, 10:24:29 pm
Does it show up if you do "wallet_account_order_list" in the console?

If so, you should be able to copy the ID and do "wallet_market_cancel_order <order_id>"
Title: Re: Can't cancel bitAsset sell order
Post by: onceuponatime on January 28, 2015, 10:36:54 pm
Does it show up if you do "wallet_account_order_list" in the console?

If so, you should be able to copy the ID and do "wallet_market_cancel_order <order_id>"

Yes, it showed up.
Here's what I get with "wallet_market_cancel_order <order_id>":

>> wallet_market_cancel_order 5d9e8228cb3a8ab0ee31cee71208dea92d9f3f5c

36005 insufficient_relay_fee: insufficient relay fee


    {"fees":0,"required_fees":10000}
    bitshares  chain_database.cpp:1544 bts::blockchain::chain_database::evaluate_transaction

    {"trx":{"expiration":"2015-01-28T23:41:53","slate_id":null,"operations":[{"type":"bid_op_type","data":{"amount":-88969,"bid_index":{"order_price":{"ratio":"0.0000060411203","quote_asset_id":6,"base_asset_id":0},"owner":"BTSBb6UnHYjTGxXGZjzWT4JKVSWU8zohNezx"}}},{"type":"deposit_op_type","data":{"amount":88968,"condition":{"asset_id":6,"slate_id":0,"type":"withdraw_signature_type","data":{"owner":"BTSBb6UnHYjTGxXGZjzWT4JKVSWU8zohNezx","memo":null}}}}],"signatures":["20557e778090740d59677e3d86c59810951e91069ff3efe3d0c3e375e758d2b93a29c37c8c74d77667b5f958a7c3988fdf04c491d4abcc4821e287bcdbe114521c"]}}
    bitshares  chain_database.cpp:1550 bts::blockchain::chain_database::evaluate_transaction

    {"trx":{"expiration":"2015-01-28T23:41:53","slate_id":null,"operations":[{"type":"bid_op_type","data":{"amount":-88969,"bid_index":{"order_price":{"ratio":"0.0000060411203","quote_asset_id":6,"base_asset_id":0},"owner":"BTSBb6UnHYjTGxXGZjzWT4JKVSWU8zohNezx"}}},{"type":"deposit_op_type","data":{"amount":88968,"condition":{"asset_id":6,"slate_id":0,"type":"withdraw_signature_type","data":{"owner":"BTSBb6UnHYjTGxXGZjzWT4JKVSWU8zohNezx","memo":null}}}}],"signatures":["20557e778090740d59677e3d86c59810951e91069ff3efe3d0c3e375e758d2b93a29c37c8c74d77667b5f958a7c3988fdf04c491d4abcc4821e287bcdbe114521c"]},"override_limits":true}
    bitshares  chain_database.cpp:2053 bts::blockchain::chain_database::store_pending_transaction

    {"transaction_record":{"index":0,"record_id":"50cfd758dc6d3b8006ac85e2a6fbd0fc5ba31c24","block_num":0,"is_virtual":false,"is_confirmed":false,"is_market":true,"trx":{"expiration":"2015-01-28T23:41:53","slate_id":null,"operations":[{"type":"bid_op_type","data":{"amount":-88969,"bid_index":{"order_price":{"ratio":"0.0000060411203","quote_asset_id":6,"base_asset_id":0},"owner":"BTSBb6UnHYjTGxXGZjzWT4JKVSWU8zohNezx"}}},{"type":"deposit_op_type","data":{"amount":88968,"condition":{"asset_id":6,"slate_id":0,"type":"withdraw_signature_type","data":{"owner":"BTSBb6UnHYjTGxXGZjzWT4JKVSWU8zohNezx","memo":null}}}}],"signatures":["20557e778090740d59677e3d86c59810951e91069ff3efe3d0c3e375e758d2b93a29c37c8c74d77667b5f958a7c3988fdf04c491d4abcc4821e287bcdbe114521c"]},"ledger_entries":[{"from_account":"BTS5kEunjKQwnuDQGFLXvoqAPe1bexK7VWG9N4TVaQsFZYwWxPn6D","to_account":"BTS7RBgbLg5gCzk5Smg6FHDT8Ft5JEsDBzbBBR6qAx9xtaxiTjE3D","amount":{"amount":88969,"asset_id":6},"memo":"cancel BID-5d9e8228","memo_from_account":null}],"fee":{"amount":1,"asset_id":6},"created_time":"2015-01-28T22:34:33","received_time":"2015-01-28T22:34:33","extra_addresses":[]}}
    bitshares  transaction_ledger.cpp:1393 bts::wallet::wallet::cache_transaction

    {}
    bitshares  common_api_client.cpp:5643 bts::rpc_stubs::common_api_client::wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    bitshares  cli.cpp:629 bts::cli::detail::cli_impl::execute_command

***********************************************************

I have lots of BTS in my acount. What is causing this?
36005 insufficient_relay_fee: insufficient relay fee
Title: Re: Can't cancel bitAsset sell order
Post by: liondani on January 29, 2015, 01:37:33 am
have you only one account on this wallet?
Title: Re: Can't cancel bitAsset sell order
Post by: onceuponatime on January 29, 2015, 02:02:41 am
have you only one account on this wallet?

I have two. Both have some BTS balance.
Title: Re: Can't cancel bitAsset sell order
Post by: liondani on January 29, 2015, 09:20:39 am
Was your wallet fully synced when you tried to cancel?
Try something...
delete "mail_client" folder and after that, run BTS client again and cancel your order again... (be sure you are synced)
I had similar issues with orders with some bitAssets (and managed to solve it that that way)
Title: Re: Can't cancel bitAsset sell order
Post by: graffenwalder on January 29, 2015, 09:44:07 am
going through my recent transactions:

Cancelling BITGOLD sell order, made me pay the fee in BITGOLD.
Putting in a sell order charges me the normal BTS fee.

So the problem here is that the relay fee, is in bitsilver in your case

If you still want to cancel, try buying a tiny amount of bitsilver

Edit: looking further, all BitAsset cancel orders are charged in that particular bitasset.
Cancelling orders can be up to 300% more expensive.
My standard fee is 0.1 BTS.
Yesterday I paid 0.0034 bitusd for a cancel order. So that's roughly 0.3 BTS at yesterday's prices.
With BITGOLD this comes around to 0.23 BTS
Title: Re: Can't cancel bitAsset sell order
Post by: liondani on January 29, 2015, 12:21:39 pm
going through my recent transactions:

Cancelling BITGOLD sell order, made me pay the fee in BITGOLD.
Putting in a sell order charges me the normal BTS fee.

So the problem here is that the relay fee, is in bitsilver in your case

If you still want to cancel, try buying a tiny amount of bitsilver

Edit: looking further, all BitAsset cancel orders are charged in that particular bitasset.
Cancelling orders can be up to 300% more expensive.
My standard fee is 0.1 BTS.
Yesterday I paid 0.0034 bitusd for a cancel order. So that's roughly 0.3 BTS at yesterday's prices.
With BITGOLD this comes around to 0.23 BTS

that make more sense.
Title: Re: Can't cancel bitAsset sell order
Post by: onceuponatime on January 29, 2015, 05:44:35 pm
Was your wallet fully synced when you tried to cancel?
Try something...
delete "mail_client" folder and after that, run BTS client again and cancel your order again... (be sure you are synced)
I had similar issues with orders with some bitAssets (and managed to solve it that that way)

I tried deleting "mail_client" folder but order will still not cancel. My wallet was synced at the time I tried to cancel, and is fully synced now.

I have .01 bitSILVER in my account, and also many BTS, so graffenwalder's suggestion also does not seem to work.

Any other ideas?
Title: Re: Can't cancel bitAsset sell order
Post by: vikram on January 29, 2015, 05:47:15 pm
Was your wallet fully synced when you tried to cancel?
Try something...
delete "mail_client" folder and after that, run BTS client again and cancel your order again... (be sure you are synced)
I had similar issues with orders with some bitAssets (and managed to solve it that that way)

I tried deleting "mail_client" folder but order will still not cancel. My wallet was synced at the time I tried to cancel, and is fully synced now.

I have .01 bitSILVER in my account, and also many BTS, so graffenwalder's suggestion also does not seem to work.

Any other ideas?

The cancel should pay fee with BTS if it can't be paid in another asset. Not sure why it's not including the fee correctly--I will take a look: https://github.com/BitShares/bitshares/issues/1327
Title: Re: Can't cancel bitAsset sell order
Post by: onceuponatime on January 29, 2015, 06:01:06 pm
Was your wallet fully synced when you tried to cancel?
Try something...
delete "mail_client" folder and after that, run BTS client again and cancel your order again... (be sure you are synced)
I had similar issues with orders with some bitAssets (and managed to solve it that that way)

I tried deleting "mail_client" folder but order will still not cancel. My wallet was synced at the time I tried to cancel, and is fully synced now.

I have .01 bitSILVER in my account, and also many BTS, so graffenwalder's suggestion also does not seem to work.

Any other ideas?

The cancel should pay fee with BTS if it can't be paid in another asset. Not sure why it's not including the fee correctly--I will take a look: https://github.com/BitShares/bitshares/issues/1327

Thank you.
Title: Re: Can't cancel bitAsset sell order
Post by: vikram on January 29, 2015, 10:18:26 pm
Was your wallet fully synced when you tried to cancel?
Try something...
delete "mail_client" folder and after that, run BTS client again and cancel your order again... (be sure you are synced)
I had similar issues with orders with some bitAssets (and managed to solve it that that way)

I tried deleting "mail_client" folder but order will still not cancel. My wallet was synced at the time I tried to cancel, and is fully synced now.

I have .01 bitSILVER in my account, and also many BTS, so graffenwalder's suggestion also does not seem to work.

Any other ideas?

The cancel should pay fee with BTS if it can't be paid in another asset. Not sure why it's not including the fee correctly--I will take a look: https://github.com/BitShares/bitshares/issues/1327

Thank you.

It looks like this is due to a rare rounding error that I've seen occasional reports of and have just identified. It will be fixed in a hardfork in 0.6.0, but unfortunately there is not an easy way to work around this right now.

One possibility is that you could use the "wallet_market_batch_update" command to both cancel that order, and simultaneously cancel or create another order that pays a fee in BTS. I can't say for sure if that would work though.
Title: Re: Can't cancel bitAsset sell order
Post by: onceuponatime on February 07, 2015, 04:03:22 am
Was your wallet fully synced when you tried to cancel?
Try something...
delete "mail_client" folder and after that, run BTS client again and cancel your order again... (be sure you are synced)
I had similar issues with orders with some bitAssets (and managed to solve it that that way)

I tried deleting "mail_client" folder but order will still not cancel. My wallet was synced at the time I tried to cancel, and is fully synced now.

I have .01 bitSILVER in my account, and also many BTS, so graffenwalder's suggestion also does not seem to work.

Any other ideas?

The cancel should pay fee with BTS if it can't be paid in another asset. Not sure why it's not including the fee correctly--I will take a look: https://github.com/BitShares/bitshares/issues/1327

Thank you.

It looks like this is due to a rare rounding error that I've seen occasional reports of and have just identified. It will be fixed in a hardfork in 0.6.0, but unfortunately there is not an easy way to work around this right now.

One possibility is that you could use the "wallet_market_batch_update" command to both cancel that order, and simultaneously cancel or create another order that pays a fee in BTS. I can't say for sure if that would work though.

I have downloaded 0.6.0 and it is synced. I still can't cancel my Open Sell Order
Title: Re: Can't cancel bitAsset sell order
Post by: clayop on February 07, 2015, 04:35:54 am
How much is your fee? Is it 0.1?
Title: Re: Can't cancel bitAsset sell order
Post by: onceuponatime on February 07, 2015, 04:36:40 am
How much is your fee? Is it 0.1?

Yes.


> wallet_market_cancel_order 5d9e8228cb3a8ab0ee31cee71208dea92d9f3f5c

36005 insufficient_relay_fee: insufficient relay fee
Title: Re: Can't cancel bitAsset sell order
Post by: clayop on February 07, 2015, 04:39:12 am
Change it to 0.5 temporarily and cancel the order
Title: Re: Can't cancel bitAsset sell order
Post by: onceuponatime on February 07, 2015, 04:42:58 am
Change it to 0.5 temporarily and cancel the order

That worked. Thanks!