Dukascopy
 
 
Wiki JStore Search Login

请教挂单问题
 Post subject: 请教挂单问题 Post rating: 0   New post Posted: Tue 31 Dec, 2013, 14:59 
User avatar

User rating: 0
Joined: Sun 15 Dec, 2013, 14:50
Posts: 6
Location: ChinaChina
您好:
我编了一个挂单程序,在现价的上方3个点处和6个点处各挂了1个多单,在现价下方3个点和6个点处各挂1个空单,但运行后这几个挂单一直不停地出现,结果出现了100个在重复位置的挂单,我原想在一个位置成交后,这个挂单就不在出现,不知识什么原因,能解答一下吗?


Attachments:
myfrist3.jfx [21.48 KiB]
Downloaded 26753 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: 请教挂单问题 Post rating: 0   New post Posted: Wed 08 Jan, 2014, 10:49 
Visual JForex expert at Dukascopy
User avatar

User rating: 1
Joined: Thu 29 Aug, 2013, 13:07
Posts: 88
Location: Ukraine, Kiev
您好,

这个文件只能在JForex交易平台上运行。要帮您分析建立的策略,您需要用Visual JForex软件组建策略。如果您是用编程的方式写的策略,您需要自己检查策略的合理性。


 
 Post subject: Re: 请教挂单问题 Post rating: 0   New post Posted: Sun 13 Jul, 2014, 11:18 
User avatar

User rating: 1
Joined: Tue 27 Aug, 2013, 17:39
Posts: 26
Location: China, Shanghai
yanli wrote:
您好:
我编了一个挂单程序,在现价的上方3个点处和6个点处各挂了1个多单,在现价下方3个点和6个点处各挂1个空单,但运行后这几个挂单一直不停地出现,结果出现了100个在重复位置的挂单,我原想在一个位置成交后,这个挂单就不在出现,不知识什么原因,能解答一下吗?


估计你挂单前没做检查,导致不停挂单。
逻辑上你挂单前检查一下是否已经有挂单或成交的单子,如果有就不用再挂单。
如果有源代码可以给我查一下。


 

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