Dukascopy
 
 
Wiki JStore Search Login

开多个仓位,如何获取整体仓位的赢利点数
 Post subject: 开多个仓位,如何获取整体仓位的赢利点数 Post rating: 0   New post Posted: Thu 05 Jan, 2023, 12:14 
User avatar

User rating: 1
Joined: Fri 11 Nov, 2016, 11:24
Posts: 21
Location: China,
比如欧美货币对,不同价位开了多个空单,如何获取所有空单的赢利点数(亏损和盈利的相加)!我用的视频策略编辑器,麻烦给个范例可好?


 
 Post subject: 开多个仓位,如何获取整体仓位的赢利点数 Post rating: 0   New post Posted: Wed 24 May, 2023, 12:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
你好!

遗憾的是,我们没有实施示例,也不提供开发服务。

您可以在此处找到可以帮助您计算收支平衡点的方法:https://www.dukascopy.com/client/javadoc3/com/dukascopy/api/IOrder.html

例如方法:
getProfitLossInPips()
以点为单位返回利润/损失。

getProfitLossInUSD()
以美元返回利润/损失

当谈到 Visual JForex 时,这里的指南可能对您有所帮助 https://www.youtube.com/watch?v=fzh085c4JZc
但不幸的是,我们这边没有提供现成的解决方案。

亲切的问候,
杜高斯贝银行


 

Jump to:  

cron
  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com