steam下载安卓MT5中position、order、deal区别
原⽂:
Order is only used to to send request to the market. It will be the order until platform open it.
position和location的区别After Opening Order become Position (one for netting account or many for hedging account)
In hedging account order ticket is equal to position ticket.
After position closing (by market or manually) it becomes deal and can be retrieved from deal history.
Pending orders closed before reaching market conditions are also become deals.
加上⾃⼰的理解:
1.订单(包括挂单)被平台执⾏前,叫order
2.订单被执⾏后,就转变为position,也就是持仓
3.这⾥要注意账户是否⽀持对冲,对⽀持对冲的账户来说,单⼀货币对可以有很多个position,否则只能有⼀个position
儿童编程培训机构排名前十
excel中vlookup函数是什么意思
4.在⽀持对冲的账户⾥,order的订单号和position的订单号相同
5.当订单被平仓后或挂单被删除后,就转变为dealjsoptions方法
实例 英语6.⼀笔交易从开仓到平仓分成了3个步骤,order->position->deal,每⼀个步骤都可以看做⼀个完整的交易,都可以在历史交易中单独查看
7.历史记录中的position综合了开仓和平仓信息,但好像不能直接调⽤,得⾃⼰根据ticket去组合order和deal
8.另外,mt5中的平仓是开了等⼿数的反向单,所以在历史交易中同⼀笔交易会出现好⼏笔记录(两个order,两个deal)
9.这样理解的话也可以说通,说是为了兼容股票交易。但相对于mt4,⽤的是真⿇烦,⾄少提供下兼容mt4的API呀

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。