can't cancel bid order(V0.4.21)

Started by alt, October 23, 2014, 03:11:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vikram


hansonwcn

Support me if you think I'm doing the right thing. :)
BTS: hanson-bit
encryption always wins. 加密永胜。

vikram

Should be fixed in next release 0.4.24.

ripplexiaoshan

Bump, I have the same problem for version 0.4.23.
>> wallet_market_cancel_order aa4214b9ad2435e858b5202238a98a39110060a6

0 exception: unspecified
Unable to pay fee; no remaining balances can cover it and no account can pay it.
    {}
    bitshares  transaction_builder.cpp:502 bts::wallet::transaction_builder::pay_fees
All balances: [[["BTSXBjt61qxn18mn1sKdR3CMjTzdtMmbQ9FMa",39],113285500000]]
    {"bals":[[["BTSXBjt61qxn18mn1sKdR3CMjTzdtMmbQ9FMa",39],113285500000]]}
    bitshares  transaction_builder.cpp:503 bts::wallet::transaction_builder::pay_fees

    {"trx":{"expiration":"19700101T000000","delegate_slate_id":null,"operations":[{"type":"bid_op_type","data":{"amount":-113285500000,"bid_index":{"order_price":{"ratio":"500.","quote_asset_id":39,"base_asset_id":0},"owner":"BTSXKFHG3aYr1kSKs6Y79QLg5nnxuk5U7jGmt"}}}],"signatures":[]}}
    bitshares  transaction_builder.cpp:435 bts::wallet::transaction_builder::finalize

    {"order_ids":["aa4214b9ad2435e858b5202238a98a39110060a6"]}
    bitshares  wallet.cpp:3168 bts::wallet::wallet::cancel_market_orders

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

    {"command":"wallet_market_cancel_order"}
    bitshares  cli.cpp:556 bts::cli::detail::cli_impl::execute_command
BTS committee member:jademont

alt

#5
yes, much。
I have to make an ask order to match the bid order.
and I can cancel the ask order

来自我的 HUAWEI P7-L00 上的 Tapatalk

vikram

Quote from: alt on October 23, 2014, 03:11:40 AM
from the error message, it get fee from wrong balance, 
it get the balance from  this bid order, but not from my account.

default (unlocked) >>> wallet_market_order_list FUND BTSX
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID                                     
==================================================================================================================================================================
bid_order   209.99998 BTSX      476190.476190476155 FUND / BTSX99,999,995.23 FUND  99,999,990.47 FUND  N/A                 aeb4dd2719ce0caec4e7ee5a3aaabadee0643c2b


default (unlocked) >>> wallet_market_cancel_order aeb4dd2719ce0caec4e7ee5a3aaabadee0643c2b
0 exception: unspecified
Unable to pay fee; no remaining balances can cover it and no account can pay it.
    {}
    th_a  transaction_builder.cpp:502 pay_fees
All balances: [[["BTSX4kZxdDBZadwgj5QMM4LH7LRUxkuyhn2Y1",39],9999999523]]
    {"bals":[[["BTSX4kZxdDBZadwgj5QMM4LH7LRUxkuyhn2Y1",39],9999999523]]}
    th_a  transaction_builder.cpp:503 pay_fees

    {"trx":{"expiration":"19700101T000000","delegate_slate_id":null,"operations":[{"type":"bid_op_type","data":{"amount":-9999999523,"bid_index":{"order_price":{"ratio":"476.190476190476155","quote_asset_id":39,"base_asset_id":0},"owner":"BTSXFy7imdiX5ez3FWcwMHHqDmpZiywrr9yBg"}}}],"signatures":[]}}
    th_a  transaction_builder.cpp:435 finalize

    {"order_ids":["aeb4dd2719ce0caec4e7ee5a3aaabadee0643c2b"]}
    th_a  wallet.cpp:3168 cancel_market_orders

    {}
    th_a  common_api_client.cpp:1699 wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:556 execute_command


So the account that made the bid--does it have any BTSX balance?



alt

from the error message, it get fee from wrong balance, 
it get the balance from  this bid order, but not from my account.

default (unlocked) >>> wallet_market_order_list FUND BTSX
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID                                     
==================================================================================================================================================================
bid_order   209.99998 BTSX      476190.476190476155 FUND / BTSX99,999,995.23 FUND  99,999,990.47 FUND  N/A                 aeb4dd2719ce0caec4e7ee5a3aaabadee0643c2b


default (unlocked) >>> wallet_market_cancel_order aeb4dd2719ce0caec4e7ee5a3aaabadee0643c2b
0 exception: unspecified
Unable to pay fee; no remaining balances can cover it and no account can pay it.
    {}
    th_a  transaction_builder.cpp:502 pay_fees
All balances: [[["BTSX4kZxdDBZadwgj5QMM4LH7LRUxkuyhn2Y1",39],9999999523]]
    {"bals":[[["BTSX4kZxdDBZadwgj5QMM4LH7LRUxkuyhn2Y1",39],9999999523]]}
    th_a  transaction_builder.cpp:503 pay_fees

    {"trx":{"expiration":"19700101T000000","delegate_slate_id":null,"operations":[{"type":"bid_op_type","data":{"amount":-9999999523,"bid_index":{"order_price":{"ratio":"476.190476190476155","quote_asset_id":39,"base_asset_id":0},"owner":"BTSXFy7imdiX5ez3FWcwMHHqDmpZiywrr9yBg"}}}],"signatures":[]}}
    th_a  transaction_builder.cpp:435 finalize

    {"order_ids":["aeb4dd2719ce0caec4e7ee5a3aaabadee0643c2b"]}
    th_a  wallet.cpp:3168 cancel_market_orders

    {}
    th_a  common_api_client.cpp:1699 wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:556 execute_command