Creating a permanent log of messages on the JForex platform at Dukascopy
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I have an automated strategy running on the JForex platform at Dukascopy
My strategy outputs quite a lot of data..............using myConsole.getOut().println(....);
When I click on my strategy name tag at the bottom of the platform screen I see only a few lines from my strategy output (being the latest output)
What do I need to do, to capture ALL output ?
Bob M
private IConsole myConsole = null;
myConsole = context.getConsole();
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
What do I need to do, to capture ALL output ?
For example do you mean: write the output to a file?
What package is the IConsole class in? What methods does it have that might be useful?
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
yes - write the output to a file is what I am seeking.
The package:-
public class XXX implements IStrategy {
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
If you want to write the lines written using the IConsole class's methods, you should read the API doc for that class to see if it has any useful methods for writing those lines to a file.
For example the System.out object in Java SE has methods that allow the code to intercept what is written with calls to System.out.println() so it can be written to a disk file.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Bob Matthews wrote:When I click on my strategy name tag at the bottom of the platform screen I see only a few lines from my strategy output (being the latest output)
What do I need to do, to capture ALL output ?
So your "strategy name tag" only shows you the last few lines of the output? Sounds like it might be configured to discard old output after some point. You could look at its configuration and see if there's something there which you could do differently.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I agree completely
I have posted a query to Dukascopy Support but their response is yet to come
I must say their support is piteful
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Norm Radder wrote:
What do I need to do, to capture ALL output ?
For example do you mean: write the output to a file?
What package is the IConsole class in? What methods does it have that might be useful?
core java solve the problem, by ouputing to excel
also Duca supports this type of process.
I guest Duca anllow max mesaage of 100 only!
I think they have a filed to detmine number of messages!
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Bob Matthews wrote:Hi
I have an automated strategy running on the JForex platform at Dukascopy
My strategy outputs quite a lot of data..............using myConsole.getOut().println(....);
When I click on my strategy name tag at the bottom of the platform screen I see only a few lines from my strategy output (being the latest output)
What do I need to do, to capture ALL output ?
Bob M
private IConsole myConsole = null;
myConsole = context.getConsole();
void setMaxMessages(int maxNumber)
Sets the maximum number of messages. Unrestricted by default.
Parameters:
maxNumber - maximum number of messages in Messages table. Passing -1 makes it unrestricted.
| Something about .... going for a swim. With this tiny ad ... Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |








