文章目录

  • 一、清盘、清算(Liquidation)
    • 1. 用订单清算头寸(liquidatePositionWithOrders)

一、清盘、清算(Liquidation)

liquidation
英 [ˌlɪkwɪˈdeɪʃn]
美 [ˌlɪkwɪˈdeɪʃn]
n. 清盘; 清算; 清偿;
[例句]If the banks opt to pull the rug from under the ill-fated project, it will go into liquidation.
如果这些银行不再对这个倒霉的项目提供支持,它也就破产了。

1. 用订单清算头寸(liquidatePositionWithOrders)

Calling liquidatePosition will perform the following steps:
调用liquidatePosition将执行以下步骤:

  1. Query the oracle to obtain the most recent price and funding fee.
    查询oracle以获取最新的价格和资金费用。

  2. Execute funding payments on the existing position and then update the existing position state.
    对现有头寸执行资金支付,然后更新现有头寸状态。

  3. Check that the existing position (referenced by positionID) is valid and can be liquidated (i.e. that the maintenance margin requirement is breached.
    检查现有头寸(由positionID引用)是否有效,是否可以清算(即是否违反了维护保证金要求)。

  4. Create the Makers’ Positions.
    创造Makers’ Positions。

    这一步,具体步骤,参考原文,TODO。

  5. Close the lResults.quantity quantity contracts of the existing position.
    关闭lResults.quantity 数量个已存在头寸。

    这一步,具体步骤,参考原文,TODO。

Injective Protocol官方文档翻译(九) -清盘、清算(Liquidation)相关推荐

  1. Injective Protocol官方文档翻译(一) -介绍、架构、Injective 链

    文章目录 一.introduction 介绍 二. 架构(Architecture) 三.Injective Chain 1. 二层EVM可执行环境(Layer-2 EVM Execution Env ...

  2. Injective Protocol官方文档翻译(二) -Injective Exchange Client、Injective API Provider

    文章目录 一.Injective Exchange Client 二.Injective API Provider 1. 交易转发服务(Transaction Relay Service) 2. 数据 ...

  3. Injective Protocol官方文档翻译(五) -衍生产品规范(Derivatives Specification) 概述

    文章目录 一.衍生产品规范(Derivatives Specification) 概述 拓展:什么是永续合约?永续合约特点有哪些? 拓展:头寸(position) 一.衍生产品规范(Derivativ ...

  4. Injective Protocol官方文档翻译(三) -Injective EVM RPC provider、Injective ⮂ Ethereum Bridge

    文章目录 一.Injective EVM RPC provider 二.Injective ⮂ Ethereum Bridge 1. Ethereum → Injective Chain 2. Inj ...

  5. Injective Protocol官方文档翻译(十一) -事件(Events)、数据类型(Types)

    文章目录 一.事件(Events) Injective期货合约事件( InjectiveFutures Contract Events ) 预言机合约事件(Oracle Contract Events ...

  6. Injective Protocol官方文档翻译(四) -通证经济(Token Economics)

    文章目录 一.通证经济(Token Economics) 1. 权益担保证明(Proof of Stake Security) 2. 治理(Governance) 3. 做市商激励 (Market M ...

  7. Injective Protocol官方文档翻译(十) -预言机(Oracle)

    文章目录 一.预言机(Oracle) 1. 一般概念 2. 资金费 (Funding Fee) VWAP(Volume Weighted Average Price 成交量加权平均价格) Future ...

  8. Injective Protocol官方文档翻译(八) -头寸、仓位(Positions)

    文章目录 一.仓位(Positions) 平仓(closePosition) 补充:头寸的概念 一.仓位(Positions) 平仓(closePosition) 平仓(close position) ...

  9. Android官方文档翻译 九 2.2Adding Action Buttons

    Adding Action Buttons 增加动作按钮 This lesson teaches you to 这节课教给你 Specify the Actions in XML 在XML中指定动作 ...

最新文章

  1. 每周四十小时,你有多少是在为自己干活?
  2. 以太网Ethernet解码概述
  3. SAP Spartacus里的WindowRef对象
  4. C++ 异常基本语法
  5. 四路智能抢答器电子系统综合设计
  6. 我有一张1996年版一元钱,值多少钱?
  7. Grafana 中存在严重的未授权任意文件读取漏洞,已遭利用
  8. ROS-turtlesim
  9. Python-模块导入-63
  10. C语言新手入门贪吃蛇的链表实现-控制光标位置,流畅不闪屏
  11. (原創) 如何使用ThinkPad的TrackPoint(小紅點)? (NB) (ThinkPad)
  12. 仿么么街货源客模板源码 蚂蚁分类信息系统 带安装教程
  13. 坦克世界没有服务器信号,坦克世界闪击战无法连接服务器怎么办 网络问题
  14. 微信开发——熟悉支付流程
  15. SQL查询语句的使用
  16. Android 7.0平台开机启动
  17. 美术改画系列-张聪-专题视频课程
  18. SPSS学习笔记——验证性因子分析
  19. NeHe的OpenGL教程7(Bang翻译Delphi版)-如何使用光源
  20. 浅谈计算机硬件维护 论文,论文浅谈计算机硬件维护.pdf

热门文章

  1. rf 433/868MHZ sub-1g 无线通信知识系列(3):组网信道
  2. 双花是什么花?区块链技术如何避免支付中的双花问题?
  3. “青少年编程能力等级”第一、第二部分:图形化编程 Python编程 含测试样题
  4. 小米手机第三方卡刷软件_小米Max卡刷教程_小米Max用recovery刷第三方系统包
  5. webfreer去广告
  6. 深入理解tensorflow架构设计与实现原理(彭靖田著)
  7. 网络对抗技术 实验三
  8. C# 编辑器 Editor
  9. MetaFun 小传
  10. 计算机对外访问端口受限,打开445端口提示拒绝访问(445端口访问受限原因和解决法)...