Author Topic: 教你如何手动部分平仓(cover)  (Read 2867 times)

0 Members and 1 Guest are viewing this topic.

Offline suzhu01

  • Sr. Member
  • ****
  • Posts: 203
    • View Profile
很好啊,谢谢j神分享经验
PTS:PfshcXbRBQ1ouepXYN4QG1kjTLgvtPL68W
BTSX Account:suzhu01


Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
这个用图形界面也完全可以实现啊,没必要用命令行

你试试看 0.4.8b  改cover里的数字,马上回跳原来的数字。没法部分平仓。
除非在跳回去前提交。我就被坑了。

ps 还有个问题 不知道你们遇到过没有。

我部分平仓后,强平价格似乎变化了 比例从1.5变成了1.33333
不是说抵押物=USD*150%就是强制平仓价么

部分cover平仓后,USD减少,但是BTS不变的,降低了风险。

比例=   xts数÷强平价格(单位是比如25btsx/usd)÷抵押的USD
short单 原始比例=1.5
部分平仓后 比例=1.3333


Offline ripplexiaoshan

  • Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
这个用图形界面也完全可以实现啊,没必要用命令行
BTS committee member:jademont

Offline ssjpts

  • Hero Member
  • *****
  • Posts: 538
    • View Profile
    • 中国BTC
  • BitShares: coolman
最好用界面形式演示,命令行对我们来说太高端了。
新浪微博:剑指未来BTS
BTC:1Bc7gRGotktBmnNFr3BUUM22HFXCCTyxor
BTSX ID:loves,集大众之爱,待到BTS 500刀,10%回退给捐赠者,10%用于运营,剩余80%用于爱心事业和BTS宣传推广。

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
GUI有问题,cover里的数量只能全额,修改后不到1s会跳回去,特别有小数点的更加来不及,点错就全部平仓了。
cover 平仓,就是用id里的USD还给系统,解冻抵押的bts,必须全部归还才会解冻抵押的bts。
部分平仓相当于,提高保证金比例,降低爆仓风险。

先找我们单子的操作id
>> wallet_market_order_list  USD BTSX 10 你下空单的id
列表最右侧的就是了
Code: [Select]
>> 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………………
Code: [Select]
>> 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
« Last Edit: August 28, 2014, 05:08:15 pm by sudo »