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.

How to import a third party jar file into a stratege source file?
 Post subject: How to import a third party jar file into a stratege source file? Post rating: 0   New post Posted: Thu 06 Sep, 2012, 16:35 
User avatar

User rating: 1
Joined: Sat 24 Sep, 2011, 12:11
Posts: 31
Location: China,
i want to build a connection that will link jforex and python together,just like jforex and mt4 bridge , and i am now using pyrolite as the the basic supporting library .
the problem is in the embedded editor of jforex ,if i just write "import net.razorvine.pyro.*;" as the example shown https://packages.python.org/Pyro4/pyrolite.html there,the result will be compile error indicating that import files not found.

so can someone tell me how to import these packages correctly, thanks in advance.


 
 Post subject: Re: How to import a third party jar file into a stratege source file? Post rating: 1   New post Posted: Thu 06 Sep, 2012, 17:01 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
place the logic that calls python in a .jar file and then attach the .jar file as a @Library.See:
https://www.dukascopy.com/wiki/#Include_libraries


 

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