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.

Console print nothing!
 Post subject: Re: Console print nothing! Post rating: 0   New post Posted: Fri 22 Jun, 2018, 09:03 

User rating: 3
Joined: Sat 09 Jun, 2018, 03:18
Posts: 24
Location: China,
API Support wrote:
You talked about problem with console in backtesting, or not? In this case messages will be printed in "Historical Tester" tab.


Yes,the console in backtesting,but "Historical Tester" also print nothing.

https://drive.google.com/open?id=1f6HmXlUKFa6ckxP_mXu8vd3hKxnwlR27
https://drive.google.com/open?id=1f6HmX ... 3hKxnwlR27


 
 Post subject: Re: Console print nothing! Post rating: 0   New post Posted: Fri 22 Jun, 2018, 09:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
API Support wrote:
Bletherfeng wrote:
API Support wrote:
console.getOut() method in your strategy example works correctly.
Note that onBar executes only on fully formed candles.

Image



Does it work well in BackTest?

Yes, of course. But in HT you need select "Show messages" checkbox

Image

:) You haven't selected "Show Messages". Therefore, HT will print nothing.


 
 Post subject: Re: Console print nothing! Post rating: 0   New post Posted: Fri 29 Jun, 2018, 13:35 

User rating: 3
Joined: Sat 09 Jun, 2018, 03:18
Posts: 24
Location: China,
API Support wrote:
API Support wrote:
Bletherfeng wrote:
API Support wrote:
console.getOut() method in your strategy example works correctly.
Note that onBar executes only on fully formed candles.

Image



Does it work well in BackTest?

Yes, of course. But in HT you need select "Show messages" checkbox

Image

:) You haven't selected "Show Messages". Therefore, HT will print nothing.



Image
https://drive.google.com/file/d/11DZfFo ... YkvMv/view


I have selected "Show Messages",but there is still nothing.


 

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