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.

Setting home directory for stand alone strategies?
 Post subject: Setting home directory for stand alone strategies? Post rating: 0   New post Posted: Mon 20 Aug, 2012, 15:43 
User avatar

User rating: 0
Joined: Thu 16 Jun, 2011, 21:37
Posts: 98
Location: SwitzerlandSwitzerland
Hi everyone,

I am developing my strategy in netbeans as a standalone application, but cannot figure out how to get the historical data to download to my hidden .jforex settings directory within home as my standalone JForex. Can someone advise me what extra code I have to put into my netbeans classes that implement ITesterUserInterface & ITesterExecution to get data to save into .jforex instead of creating a JForex folder within my home directory.

Many Thanks,
MM

edit:// I tried editing the jnlpUrl String from main to include -J-Djnlp.client.settings=/home/<my user here>/.jforex/settings like in my standalone JForex dukascopy .sh file...no dice :(


 
 Post subject: Re: Setting home directory for stand alone strategies? Post rating: 0   New post Posted: Fri 24 Aug, 2012, 20:05 
User avatar

User rating: 0
Joined: Thu 16 Jun, 2011, 21:37
Posts: 98
Location: SwitzerlandSwitzerland
Ok, so I've managed to get things working with https://www.dukascopy.com/client/javadoc ... va.io.File)

I'm worried (due to the description of the method) about setting it to the same cache directory as the JForex frontend dir. Anyways, glad to clean up my home dir :)

Best,
MM


 

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