Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Chapter: Strategy API - rutin import / Error ..
 Post subject: Chapter: Strategy API - rutin import / Error .. Post rating: 0   New post Posted: Thu 14 Jun, 2012, 14:38 

User rating: 2
Joined: Tue 08 Nov, 2011, 15:23
Posts: 29
Location: Slovenia,
Hi

I am reading user guide - Chapter: Strategy API. Demo codes on the end of each page has been dowloaded and than imported into a new Eclips project. I first open new project and then select import / from file system...
Once files are imported there is same error on all imported rutins - "Can not be resolved to a Type ...." (Look attached print screen) Please advise solution ...

Regards, Fedo

PS:
In the First Chapter "Get Started API" - Entire project has been downloaded and than imported as new project into Eclips. All examples in chapter one works great - I am able to logon to test server / I am getting test results on Consol or on Screen...

In case one would like to import project with the same name but a few changes into Eclips once again - How this has to be done? If I select right click and than delete project, project disapear on project consul however while importing project with samw name error is displyed - "Project already exists!" Issue is temporary resolved by opening new workbanch..


Attachments:
FX_01.jpg [297.45 KiB]
Downloaded 342 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: Chapter: Strategy API - rutin import / Error .. Post rating: 0   New post Posted: Thu 14 Jun, 2012, 14:50 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
TradingPilot_Demo project does not have JForexAPI as its library.
Place the strategy source code into JForexClientLibrary project.


 
 Post subject: Re: Chapter: Strategy API - rutin import / Error .. Post rating: 0   New post Posted: Fri 15 Jun, 2012, 09:03 

User rating: 2
Joined: Tue 08 Nov, 2011, 15:23
Posts: 29
Location: Slovenia,
I have tried this before. Just puting code file into existing project still trigger error. Look print screen (FX_03 and FX_04) ... Probably is wrong code file importing. Right clik / import / file system ... pointing file on my hard disk... ok-ej. ... I am new in eclips-java programing ..


Attachments:
FX_04.jpg [319.47 KiB]
Downloaded 343 times
FX_03.jpg [240.37 KiB]
Downloaded 400 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: Chapter: Strategy API - rutin import / Error .. Post rating: 0   New post Posted: Mon 18 Jun, 2012, 09:36 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please try to import the strategy source code in the following way: copy all the strategy source code -> select package singlejartest -> press Ctrl+C -> select Project\Clean...


 

Jump to:  

  © 1998-2025 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