Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, Edgar_Herrera), 804 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Suppressing Messages #478617
11/16/19 14:51
11/16/19 14:51
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Hi during testing and using dataparse functions, I receive dozens of the messages: parse.... as shown in the pic attached.
Is there any way to avoid this?

Thank You

Attached Files
Immagine.png (10 downloads)
Last edited by MatPed; 11/16/19 14:52.
Re: Suppressing Messages [Re: MatPed] #478620
11/16/19 16:34
11/16/19 16:34
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Looks as if you're parsing the same file again and again?

Re: Suppressing Messages [Re: Spirit] #478621
11/16/19 16:36
11/16/19 16:36
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
yes, is what I am doing and the script works fine, but why the message?

Re: Suppressing Messages [Re: MatPed] #478622
11/16/19 17:20
11/16/19 17:20
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
I don't know but maybe it can be controlled by setting Verbose very low, like 1 or 0?

Re: Suppressing Messages [Re: Spirit] #478623
11/16/19 18:11
11/16/19 18:11
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Ok, lets see if somebody has other ideas. I need higher verbose settings, but usually messages are printed in the log file. this is not...

Re: Suppressing Messages [Re: MatPed] #478626
11/17/19 09:33
11/17/19 09:33
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
If you need high verbose settings, then why not set Verbose to normal before calling dataparse, and back to your high settings afterwards?

The more verbose, the more messages you get.

Re: Suppressing Messages [Re: MatPed] #478638
11/18/19 09:34
11/18/19 09:34
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
That's an idea, I will give it a try to this workaround. On the other hand this is the only unexpected message received, others are printed only to the log file as it should be...

Re: Suppressing Messages [Re: MatPed] #478639
11/18/19 12:41
11/18/19 12:41
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Some messages are also printed to the window when they normally appear only once. Parsing the same file multiple times is unusual, therefore the multiple messages.

Re: Suppressing Messages [Re: MatPed] #478641
11/18/19 14:19
11/18/19 14:19
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
I parse the file several time because I use it as a container of all the phantom trades during test and trade and than parse it in order to retrieve only the proper Asset/algo Combination.
High level code structure is:
-once delete the old file
-every bar store the closed phantom trades in the file
-every bar check if signal and then parse the file for proper Algo/Asset combination and read the numbers to decide if trade or not. Here is the parse call.


Do you think that this is not the best way to do it?

Re: Suppressing Messages [Re: MatPed] #478649
11/19/19 10:12
11/19/19 10:12
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Possibly not. If you write that file anyway, you can store the info in a dataset rather than in a CSV file, and then save and load the dataset directly.

Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1