GUI有问题,cover里的数量只能全额,修改后不到1s会跳回去,特别有小数点的更加来不及,点错就全部平仓了。
cover 平仓,就是用id里的USD还给系统,解冻抵押的bts,必须全部归还才会解冻抵押的bts。
部分平仓相当于,提高保证金比例,降低爆仓风险。
先找我们单子的操作id
>> wallet_market_order_list USD BTSX 10 你下空单的id
列表最右侧的就是了
>> help wallet_market_order_list
Usage:
wallet_market_order_list <base_symbol> <quote_symbol> [limit] [account_name] List an order list of a specific market
List an order list of a specific market
Parameters:
base_symbol (asset_symbol, required): the base symbol of the market
quote_symbol (asset_symbol, required): the quote symbol of the market
limit (int64_t, optional, defaults to -1): the maximum number of items to return
account_name (account_name, optional, defaults to "ALL"): the account for which to get the orders, or 'ALL' to get them all
Returns:
market_order_array
aliases: list_orders
下一步 平仓
wallet_market_cover 你下单的id 平仓数量比如200 USD 上一步你找到的id
wallet_market_cover id 200 USD BTSX………………
>> help wallet_market_cover
Usage:
wallet_market_cover <from_account_name> <quantity> <quantity_symbol> <order_id> Used to place a request to cover an existing short position
Used to place a request to cover an existing short position
Parameters:
from_account_name (account_name, required): the account that will provide funds for the ask
quantity (real_amount, required): the quantity of items you would like to cover
quantity_symbol (asset_symbol, required): the type of asset you are covering (ie: USD)
order_id (address, required): the order ID you would like to cover
Returns:
signed_transaction
aliases: cover