Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

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

Error running historical tester "System offline"
 Post subject: Error running historical tester "System offline" Post rating: 0   New post Posted: Thu 09 Mar, 2017, 15:32 
User avatar

User rating: 0
Joined: Wed 08 Mar, 2017, 12:06
Posts: 2
Location: SwitzerlandSwitzerland
Hi,
I've develop a simple strategy but running the Historical Tester I've got 2820 times the following message:

"onMessage: ORDER_SUBMIT_REJECTED | CANCELED SELL 0.1 @ 0.0 | System offline | []"

The related source code for the onMessage method is:

LOGGER.debug("onMessage: " + message.getType() + " | " + message.getOrder() + " | " + message.getContent() + " | " + message.getReasons());

My strategy open only one order per time, if an order is found check manually if a take profit or stop loss is reached and close it. When an order is created the submitOrder set the price parameter=0 so it's an order at market price and stopLoss/takeProfit values are configured.

Can you support me?

Thanks


 
 Post subject: Re: Error running historical tester "System offline" Post rating: 0   New post Posted: Wed 22 Mar, 2017, 16:09 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please give us an example strategy that would reproduce this error. On what data did you run the strategy?


 

Jump to:  

  © 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