Author Topic: Adding Collateral to Shorts?  (Read 3295 times)

0 Members and 1 Guest are viewing this topic.

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
for now, cover part of the old short, place new shorts
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi

clout

  • Guest
I'm trying to add collateral to my short but I can't get it to work. What am I doing wrong?

Code: [Select]
wallet_market_add_collateral the-ae BTSXFWa7xJhsXyAhoFf4b4daREPRWkER6H3VC 7000

37002 unknown_market_order: unknown market order

    {"cover_index":{"order_price":{"ratio":"0.004166666666666666","quote_asset_id":22,"base_asset_id":0},"owner":"BTSXFWa7xJhsXyAhoFf4b4daREPRWkER6H3VC"}}
    bitshares  market_operations.cpp:276 evaluate

    {"op":{"type":"add_collateral_op_type","data":{"amount":7000,"cover_index":{"order_price":{"ratio":"0.004166666666666666","quote_asset_id":22,"base_asset_id":0},"owner":"BTSXFWa7xJhsXyAhoFf4b4daREPRWkER6H3VC"}}}}
    bitshares  operation_factory.hpp:52 evaluate

    {"trx":{"expiration":"20140829T130255","delegate_slate_id":null,"operations":[{"type":"add_collateral_op_type","data":{"amount":7000,"cover_index":{"order_price":{"ratio":"0.004166666666666666","quote_asset_id":22,"base_asset_id":0},"owner":"BTSXFWa7xJhsXyAhoFf4b4daREPRWkER6H3VC"}}},{"type":"withdraw_op_type","data":{"balance_id":"BTSXKdRTPR3akmRZAYb7yBZ4cRPir15a5M65x","amount":17000,"claim_input_data":""}}],"signatures":["1ff19d69a72741bc45eddf59ed1f2e6c78df222fe77bc5a597f86a275084559d3199db4de8e10993fb842e0ce64984ea134358a8c85270846e9b7084e941d8d221","1f7ec22babad9e8ecf7e28e097c94116feebaae7a72809fe7ddfeb7566725346469525f025651aa28d689ba463757babb5d6f67da0d2327a76a541d9ebf8cb4335"]}}
    bitshares  transaction_evaluation_state.cpp:181 evaluate

    {"trx":{"expiration":"20140829T130255","delegate_slate_id":null,"operations":[{"type":"add_collateral_op_type","data":{"amount":7000,"cover_index":{"order_price":{"ratio":"0.004166666666666666","quote_asset_id":22,"base_asset_id":0},"owner":"BTSXFWa7xJhsXyAhoFf4b4daREPRWkER6H3VC"}}},{"type":"withdraw_op_type","data":{"balance_id":"BTSXKdRTPR3akmRZAYb7yBZ4cRPir15a5M65x","amount":17000,"claim_input_data":""}}],"signatures":["1ff19d69a72741bc45eddf59ed1f2e6c78df222fe77bc5a597f86a275084559d3199db4de8e10993fb842e0ce64984ea134358a8c85270846e9b7084e941d8d221","1f7ec22babad9e8ecf7e28e097c94116feebaae7a72809fe7ddfeb7566725346469525f025651aa28d689ba463757babb5d6f67da0d2327a76a541d9ebf8cb4335"]}}
    bitshares  chain_database.cpp:1220 evaluate_transaction

    {"trx":{"expiration":"20140829T130255","delegate_slate_id":null,"operations":[{"type":"add_collateral_op_type","data":{"amount":7000,"cover_index":{"order_price":{"ratio":"0.004166666666666666","quote_asset_id":22,"base_asset_id":0},"owner":"BTSXFWa7xJhsXyAhoFf4b4daREPRWkER6H3VC"}}},{"type":"withdraw_op_type","data":{"balance_id":"BTSXKdRTPR3akmRZAYb7yBZ4cRPir15a5M65x","amount":17000,"claim_input_data":""}}],"signatures":["1ff19d69a72741bc45eddf59ed1f2e6c78df222fe77bc5a597f86a275084559d3199db4de8e10993fb842e0ce64984ea134358a8c85270846e9b7084e941d8d221","1f7ec22babad9e8ecf7e28e097c94116feebaae7a72809fe7ddfeb7566725346469525f025651aa28d689ba463757babb5d6f67da0d2327a76a541d9ebf8cb4335"]}}
    bitshares  chain_database.cpp:1651 store_pending_transaction

    {}
    bitshares  wallet.cpp:2450 sign_and_cache_transaction

    {"from_account_name":"the-ae","short_id":"BTSXFWa7xJhsXyAhoFf4b4daREPRWkER6H3VC","collateral_to_add":7000,"sign":true}
    bitshares  wallet.cpp:4460 add_collateral

    {}
    bitshares  common_api_client.cpp:1443 wallet_market_add_collateral

    {"command":"wallet_market_add_collateral"}
    bitshares  cli.cpp:471 execute_command
« Last Edit: August 29, 2014, 12:28:35 pm by clout »