Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week!
Search MI
Shrewd'm.com Merry shrewd investors
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week!
Search MI


Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (3) |
Post New
Author: TGMark 🐝  😊 😞
Number: of 3959 
Subject: RunRadisJM Question
Date: 09/11/2023 10:42 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 3
Is anyone able to use RunRadisJM to generate picks for more than one screen? I just cannot figure out how to do it (not a java guru).

For example, I have a screens definition file screens.txt with radiscript definitions for two screens.
When I run the picks program, it will run the picks for the first screen only and stop there.
The README file implies that it should run whatever screens are defined in the screen definition file.
Example:

C:\RunRadisJM-1.1.2>java -cp src radis.pick -max 10 screens
date=20230908
up5x3_m8 LWAY NATR MRAM ML OLA ITRN GIC DESP DSP CLBT

The screens program will indeed report all of the screens within the screen file:
C:\RunRadisJM-1.1.2>java -cp src radis.screens screens
up5x3_m8
wk_voom

Any help much appreciated!

Mark
Print the post


Author: mi4me   😊 😞
Number: of 3959 
Subject: Re: RunRadisJM Question
Date: 09/23/2023 1:24 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 4
Sorry, I've busy with family matters lately; I did reply to Mark replied out-of-band, but decided to post here, in case others care.

Specify the following option to run screen "xyz":
-screen xyz

Might need quotes around it, if it contains spaces or special characters. For example:
-screen "S&P 500"

-Jim
Print the post


Author: TGMark 🐝  😊 😞
Number: of 3959 
Subject: Re: RunRadisJM Question
Date: 09/23/2023 10:37 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 4
Thanks for your help Jim.

I've made a couple minor changes to pick.java and SiProInstallation.java to produce output similar to what I had from my previous Powershell scripts that ran GTR1.
And made a batch file to be run at the command prompt.

C:\RunRadisJM-1.1.2>type screens.bat
java -cp src radis.pick up5x3_m8 -max 10 > myfile.csv
java -cp src radis.pick wk_voom1 -max 10 >> myfile.csv

Output is sent to the myfile.csv file which has one line per screen, starting with today's date and the data date:

C:\RunRadisJM-1.1.2>type myfile.csv
20230923 data=20230913 up5x3_m8 LWAY NATR MRAM ML GIC DESP DSP ITRN LILA GCT
20230923 data=20230913 wk_voom SCYX ADV GEOS TAST DAKT EYPT VRA GASS GCI OSG

This is easy to copy/paste into my existing spreadsheets for further manipulations.


Mark


Print the post


Post New
Unthreaded | Threaded | Whole Thread (3) |


Announcements
Mechanical Investing FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of MI | Best Of | Favourites & Replies | All Boards | Followed Shrewds