eiffel-mas-discuss Mailing List for Market Analysis System (Page 3)
Brought to you by:
jcochrane
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(1) |
2003 |
Jan
(4) |
Feb
(2) |
Mar
(10) |
Apr
(3) |
May
(78) |
Jun
(7) |
Jul
(11) |
Aug
(4) |
Sep
(14) |
Oct
(5) |
Nov
(19) |
Dec
(4) |
2004 |
Jan
(4) |
Feb
(4) |
Mar
(9) |
Apr
(6) |
May
(7) |
Jun
(5) |
Jul
(10) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(3) |
Dec
(4) |
2005 |
Jan
(3) |
Feb
(5) |
Mar
|
Apr
|
May
(3) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2006 |
Jan
(8) |
Feb
(3) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jim C. <jt...@di...> - 2004-09-09 00:14:47
|
All - I have just added several new operators (objects used to dynamically create new TA indicators): floor ceiling sine cosine tangent arccosine arcsine arctangent Those who have delved into creating their own indicators may be interested in obtaining the latest executable, which provides these new operators. I'm hoping to put a new release up on sourceforge soon, but if you don't want to wait for that, let me know and I can send you the executable. Make sure you let me know whether you want a version for Linux or for Windows. The other purpose for this email is to ask for requests for new operators that you feel are needed. I can't guarantee, of course, that I will have the resources to implement all requested operators, but your feedback could bring to my attention useful operators that I have overlooked so that I can add them. The goal, of course, is to keep increasing the functionality and power of MAS until it becomes one of the most powerful and useful TA systems available. Here is a list of all the currently implemented standard mathematical operators - to help prevent requests of operators that already exist: and_operator eq_operator equivalence_operator implication_operator or_operator xor_operator ge_operator gt_operator le_operator lt_operator not_operator false_command true_command absolute_value addition subtraction multiplication division cosine sine tangent arc_cosine arc_sine arc_tangent ceiling floor log10 log2 log n_th_root power rounded_value safe_division square_root (There are other operators that focus on market-data-related operations, but I don't want this list to get too large and confusing.) Jim |
From: Jim C. <jt...@di...> - 2004-07-30 08:18:57
|
To anyone who is interested, I have just released new executables for the MAS server with the yahoo data bug fix - both Linux and Windows versions. You can download it from: http://sourceforge.net/project/showfiles.php?group_id=6838&package_id=6938&release_id=256626 Jim Cochrane |
From: Jim C. <jt...@di...> - 2004-07-17 20:51:19
|
Hi Mikael. > ... > I've installed the version 1.6.5 of MAS and I was able to run the server > (file mode) and the GUI client. > > After that i've modifed the environment variable of MAS to point on the > version 1.6.6q and I was able to run rhe server file. But when I've > launched the guiclient I've got the following error : > > C:\Program Files\mas1.6.6q\lib\classes>"C:\Program > ... > C:\Program Files\mas1.6.6q\lib\classes>cd C:\Program Files\mas1.6.6q\lib > C:\Program Files\mas1.6.6q\lib>cd classes > C:\Program Files\mas1.6.6q\lib\classes>java MA_Client localhost 18273 > Exception in thread "main" java.lang.NoClassDefFoundError: MA_Client > > The problem come from a syntax error in the script runmasgui.bat because > the class filename is not MA_Client but CL_Client. Actually, CL_Client is a command-line client written in Java. If you want to run the GUI you need to run MA_Client. But java is not finding the class file, which if I remember right is because the gui class files are now in the file mascharts.jar. You could try this: Start the server and then start up cmd.exe. Make sure you're in C:\Program Files\mas1.6.6q\lib\classes (assuming that is where the java *.class files were installed). Make sure there is a mascharts.jar file in that directory. (The name might be slightly different - you could search for *.jar files.) If it's not there, use the find file tool to find it and cd to that directory. Then run: java -cp .\mascharts.jar MA_Client localhost 18273 (assuming mascharts.jar is the right file name and 18273 is the port number the server is running on). If this works, it should not be hard to modify the batch file to do the same thing and get it working. > > After I've modified the batch file I was able to run MAS in command line. > > However in GUI mode there is always an access denied error. I think the > problem is that the client can't connect to the server. I will make some > other tests later. Since connecting to the server works in command-line mode, it should also work for the GUI, assuming the parameters are the same as when running in command-line mode, e.g., using localhost as the host name and the same port number. Hope this helps. Jim |
From: Mikael R. <mik...@fr...> - 2004-07-17 08:37:52
|
Hello, Effectively I have windows XP SP1 installed on my computer, and I'm a french guy. I've looked a bit into MAS to try to understand what is going on and I've see that the environments variable were not defined (%MAS_DIRECTORY% and %PATH%. I'm not using the administrator account but I use an account with administrator rights so I don't think it is the source of the problem. I've installed the version 1.6.5 of MAS and I was able to run the server (file mode) and the GUI client. After that i've modifed the environment variable of MAS to point on the version 1.6.6q and I was able to run rhe server file. But when I've launched the guiclient I've got the following error : C:\Program Files\mas1.6.6q\lib\classes>"C:\Program Files\mas1.6.6q\bin\runmasgui.bat" C:\Program Files\mas1.6.6q\lib\classes>rem Run the mas GUI - connect with the se rver started with runmas C:\Program Files\mas1.6.6q\lib\classes>rem If a parameter is passed in, it will be used as the port number; C:\Program Files\mas1.6.6q\lib\classes>rem otherwise a hard-coded number will be used. C:\Program Files\mas1.6.6q\lib\classes>set port=18273 C:\Program Files\mas1.6.6q\lib\classes>if not "" == "" set port= C:\Program Files\mas1.6.6q\lib\classes>cd C:\Program Files\mas1.6.6q\lib C:\Program Files\mas1.6.6q\lib>cd classes C:\Program Files\mas1.6.6q\lib\classes>java MA_Client localhost 18273 Exception in thread "main" java.lang.NoClassDefFoundError: MA_Client The problem come from a syntax error in the script runmasgui.bat because the class filename is not MA_Client but CL_Client. After I've modified the batch file I was able to run MAS in command line. However in GUI mode there is always an access denied error. I think the problem is that the client can't connect to the server. I will make some other tests later. Regards. Jim Cochrane wrote: >Hi Mikael. > > > >>Hello, >> >>I've just installed MAS 1.6.6q on my windows computer and when I run it, >>I can see the standard windows of MAS and an another which said "Access >>Denied". >> >> > >Sorry about this problem. Several other users have run into the same >access denied problem on Windows Xp or Win2000. Are you running either of >these OSs? > >If so, I'm afraid I have not had the time to look into the problem. >However, I know if at least one person who has succeeded on getting 1.6.6q >to install successfully on XP or w2000 (I don't remember which one right >now). So it might be possible. It could have to do with whether it is >installed as a regular user or as the "administrator". > >If you're technically inclined and have the interest, and if - despite >the error - the files for mas (executables, etc.) were placed on your >hard drive, you could try looking at the documentation and experimenting >with running it by hand - e.g., use cmd.exe to start the server, then >start the GUI, etc. But if you're not very technically inclined, you'll >probably find this too tedious. > >Another possibility is if you post a question about this to the mas discuss >list, you may get a helpful answer or two. Make sure you include all >needed info., such as what OS you're running, whether you installed as a >regular user, etc. > >Yet another possibility is for you to try first backing up the files from >the 1.6.6q release so that you have them around after uninstalling it. >Then download and install an earlier version, such as setup-mas1.6.5a.exe. >Assuming you get the earlier version working, you could then try "updating" >it by copying files, such as mas.exe from the 1.6.6q release over the old >version. > >Let me know how it goes. > > > >>It's the first time I try MAS. I've installed the last JRE I've found >>1.4.2_05. >> >> > >That's good - the GUI should work fine with that recent jre, if you're able >to get things setup right. > >By the way, are you in France? I'm trying to collect some >statistical information on where mas users are located. > > >Jim > > > > |
From: Mikael R. <mik...@fr...> - 2004-07-16 22:22:30
|
Hello, I've just installed MAS 1.6.6q on my windows computer and when I run it, I can see the standard windows of MAS and an another which said "Access Denied". It's the first time I try MAS. I've installed the last JRE I've found 1.4.2_05. Can you help me ? Regards. |
From: Jim C. <jt...@di...> - 2004-07-03 03:39:33
|
> A'm I wrong or is MA_Client.class missing from the latest release. When I tr y > to start the gui on a linux error, I get a message saying MA_Client.class is > missing. Sure enough, it's not there. > > Any suggestions? > MA_Client.class should be there, residing in a jar file. The file's name is mascharts.jar, if I recall correctly. (You can list the file's contents with: jar vft mascharts.jar ) How are you trying to start the GUI? |
From: Mike L. <ml...@ya...> - 2004-07-03 03:09:40
|
A'm I wrong or is MA_Client.class missing from the latest release. When I try to start the gui on a linux error, I get a message saying MA_Client.class is missing. Sure enough, it's not there. Any suggestions? Thanks, Mike __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |
From: Jim C. <jt...@di...> - 2004-07-02 00:47:25
|
> Jim, > > Thanks for the response. My main requirement at this time is ease of use, > simply because I'm still a novice. For that reason, I intend to run the serv er > as a daemon on my linux box. I'm generally concerned about security though, so > I'll probably try to run it in a chroot jail. That's probably a good idea. Are you also using a firewall to keep out unwanted network traffic? > > I would like to be able to simply start the client on my PC and be operationa l. > I didn't find a doc on command line options. Did I miss it? Which version of mas are you using on Windows? I don't think there is documentation describing how to run the GUI client on Windows against a server process on a Linux machine, at least not directly. Probably the most reliable way to do it is to run the GUI from the command line. To elaborate on my earlier example (assuming you have java installed): Find the directory in which the file mascharts.jar resides and, with the DOS command line (cmd or command), cd to that directory. Then do: java -cp .\mascharts.jar MA_Client hostname 2929 where hostname is the hostname of your linux server and replace 2929 with the port number with which you started the mas server. (If you don't have mascharts.jar, you're using an earlier version, in which case the startup command will be a little different.) If this doesn't work, let me know what went wrong and I'll try to help. (There could be environment variable problems, etc.) Post to the list - if I'm not able to find the time to respond, someone else who can help may be able to. Also, an easier way to test, to just make sure you can send requests from your windows machine to the mas server, is to run macl: Find where macl.exe resides and do: .\macl -h hostname 2929 and see if the server responds with an command-line option menu. Good luck! Jim > > Thanks, > > Mike > > --- Jim Cochrane <jt...@di...> wrote: > > > Greetings, > > > > Hi Mike. Welcome to the mas mailing list. > > > > > > > > I'm new to MAS and technical analysis in general. I just have a few > > technica > > l > > > questions about the install I hope someone can help me with. > > > > > > I have a linux servre that runs all the time. I would like to run the > > server > > > portion on it, and run the client on my PC. I've looked at at the docs I > > can > > > find and can't find anything regarding the port number mas uses. Does > > anyone > > > on the board know? > > > > The details of this answer will depend on what method you're using to start > > the mas server, but, I may be able to give you enough info. in this email > > so that you can figure out how to do it. Essentially, what you need to do > > is tell the mas server what port number to use (e.g., "mas -b -f , 2929 > > *.txt" > > from the command line or editing the valid_portnumbers setting in the mctrc > > file). Once you've started the server with the chosen port number, you > > need to start the GUI client with that port number. E.g.: > > > > java -cp .\mascharts.jar MA_Client jupiter 2929 > > > > > > > > Obviously I'm running with the assumption that it is better to have the > > serve > > r > > > portion running most of the time. I would also be interested in hearing if > > > this assumption is correct. > > > > This depends on what your requirements are. I believe some people > > keep the server running all the time (almost like a daemon) so that > > it's always available to service requests from GUI processes. But for > > those who don't use the application often or who don't like it hogging > > resources all the time (though its memory and cpu use when idle is not > > particularly large), it is probably adequate to just start up the server > > whenever you need to use the application. Others probably leave the server > > running a lot of the time, but don't insist that it runs all the time. > > > > If you include a brief description of how you want to use mas - what your > > requirements are, I can probably give you a recommendation as to which > > choice would work best for you. > > > > > > Jim > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Eiffel-mas-discuss mailing list > Eif...@li... > https://lists.sourceforge.net/lists/listinfo/eiffel-mas-discuss |
From: Jim C. <jt...@di...> - 2004-07-01 19:00:16
|
If this gets through to the list, sorry for the test message. I had an earlier email rejected and need to test if the problem is consistent. Jim |
From: Mike L. <ml...@ya...> - 2004-07-01 18:42:57
|
Jim, Thanks for the response. My main requirement at this time is ease of use, simply because I'm still a novice. For that reason, I intend to run the server as a daemon on my linux box. I'm generally concerned about security though, so I'll probably try to run it in a chroot jail. I would like to be able to simply start the client on my PC and be operational. I didn't find a doc on command line options. Did I miss it? Thanks, Mike --- Jim Cochrane <jt...@di...> wrote: > > Greetings, > > Hi Mike. Welcome to the mas mailing list. > > > > > I'm new to MAS and technical analysis in general. I just have a few > technica > l > > questions about the install I hope someone can help me with. > > > > I have a linux servre that runs all the time. I would like to run the > server > > portion on it, and run the client on my PC. I've looked at at the docs I > can > > find and can't find anything regarding the port number mas uses. Does > anyone > > on the board know? > > The details of this answer will depend on what method you're using to start > the mas server, but, I may be able to give you enough info. in this email > so that you can figure out how to do it. Essentially, what you need to do > is tell the mas server what port number to use (e.g., "mas -b -f , 2929 > *.txt" > from the command line or editing the valid_portnumbers setting in the mctrc > file). Once you've started the server with the chosen port number, you > need to start the GUI client with that port number. E.g.: > > java -cp .\mascharts.jar MA_Client jupiter 2929 > > > > > Obviously I'm running with the assumption that it is better to have the > serve > r > > portion running most of the time. I would also be interested in hearing if > > this assumption is correct. > > This depends on what your requirements are. I believe some people > keep the server running all the time (almost like a daemon) so that > it's always available to service requests from GUI processes. But for > those who don't use the application often or who don't like it hogging > resources all the time (though its memory and cpu use when idle is not > particularly large), it is probably adequate to just start up the server > whenever you need to use the application. Others probably leave the server > running a lot of the time, but don't insist that it runs all the time. > > If you include a brief description of how you want to use mas - what your > requirements are, I can probably give you a recommendation as to which > choice would work best for you. > > > Jim > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |
From: Mike L. <ml...@ya...> - 2004-07-01 13:18:34
|
Greetings, I'm new to MAS and technical analysis in general. I just have a few technical questions about the install I hope someone can help me with. I have a linux servre that runs all the time. I would like to run the server portion on it, and run the client on my PC. I've looked at at the docs I can find and can't find anything regarding the port number mas uses. Does anyone on the board know? Obviously I'm running with the assumption that it is better to have the server portion running most of the time. I would also be interested in hearing if this assumption is correct. So far though, it looks pretty cool. I'm looking forward to getting into it a little. Thanks, Mike __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail |
From: Jim C. <jt...@di...> - 2004-06-17 22:11:42
|
Those of you using the -w option to get data from yahoo.com may have run into this problem lately. They appear to have changed the address for the http data server from chart.yahoo.com to ichart.yahoo.com, causing data retrieval to fail. The solution is simple: Just change the line in the mas_httprc file from: host chart.yahoo.com to: host ichart.yahoo.com (Make sure the separator between 'host' and the address remains a single tab, no spaces.) Jim |
From: Pedro P. <ped...@ho...> - 2004-06-15 01:21:45
|
The problem in that case seems to be the ever pesky issue of unix/msdos based carriage returns, since unix ones only have the 0x0a hex and msdos have both 0x0a followed by 0x0d per carriage return. A "quick" solution to this in the future is to run the file through some msdos/unix converter which changes the carriage returns from one to another. I'm not exactly sure which ones there are for windows though. Also all this stems from the .ma_clientrc file I believe since that's what's sent through the network to the server with those carriage returns so that would be the file you want to be looking at. Best regards, Pedro pb...@ch... wrote: >Hi everybody! > >You remember my mail from 2004-06-08 concerning my "adding custom indicator to GUI"-problem? > >Good news: i found a workaround for this strange problem - looks like there is a little bug in the >Windows-executeable of MAS 1.6.6r. > >I did a lot of network-tracing between client and server (both on WinXP) and compared it to the >communication of the Linux-version. So i found the following: > >- the GUI-client starts up > >- after clicking on 'Indicators' the client seems to request all available indicator names from the > server > >- the server sends the names in one TCP-frame > >- each indicator name is delimited by a 0x0A-Byte > each data-sequence/frame is terminated by a 0x07-Byte > (see part of network-trace below - SMA20 at the end is my test-indicator) > >0x0270 20 54 68 61 6E 20 6F 72-20 45 71 75 61 6C 20 74 Than or Equal t >0x0280 6F 20 7B 4C 69 6D 69 74-7D 0A 53 6C 6F 70 65 20 o {Limit}.Slope >0x0290 6F 66 20 4D 41 43 44 20-53 69 67 6E 61 6C 20 4C of MACD Signal L >0x02A0 69 6E 65 20 54 72 65 6E-64 0A 56 6F 6C 75 6D 65 ine Trend.Volume >0x02B0 0A 4D 41 43 44 20 6F 66-20 56 6F 6C 75 6D 65 0A .MACD of Volume. >0x02C0 4D 69 64 70 6F 69 6E 74-0A 57 4D 41 20 6F 66 20 Midpoint.WMA of >0x02D0 4D 69 64 70 6F 69 6E 74-0A 55 70 70 65 72 20 42 Midpoint.Upper B >0x02E0 6F 6C 6C 69 6E 67 65 72-20 42 61 6E 64 0A 4C 6F ollinger Band.Lo >0x02F0 77 65 72 20 42 6F 6C 6C-69 6E 67 65 72 20 42 61 wer Bollinger Ba >0x0300 6E 64 0A 50 61 72 61 62-6F 6C 69 63 20 53 41 52 nd.Parabolic SAR >0x0310 0A 54 79 70 69 63 61 6C-20 50 72 69 63 65 0A 43 .Typical Price.C >0x0320 6F 6D 6D 6F 64 69 74 79-20 43 68 61 6E 6E 65 6C ommodity Channel >0x0330 20 49 6E 64 65 78 0A 53-4D 41 32 30 0D 07 Index.SMA20.. > >- ONLY the names of custom indicators are additional delimited by a strange 0x0D-Byte > >- the client receives this "unlucky extended" names & compares it with the content of .ma_clientrc > >- needless to say, that the names are not matching -> custom indicators are not displayed > (of course, in .ma_clientrc there are no trailing 0X0D-Bytes!!!) > >>From my point of the view, the error should be located somewhere around the creation of >new indicators via the command-line client (input of the indicator-name or so). > >My humble workaround: if you add the indicator's name to .ma_clientrc, add a trailing 0x0D >(ASCII code 13) to the name. Now the names are matching and your new indicator is correctly >displayed... hope so! :-) > >Greetings from Vienna, >Philipp > > > > >------------------------------------------------------- >This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the >one installation-authoring solution that does it all. Learn more and >evaluate today! http://www.installshield.com/Dev2Dev/0504 >_______________________________________________ >Eiffel-mas-discuss mailing list >Eif...@li... >https://lists.sourceforge.net/lists/listinfo/eiffel-mas-discuss > > > |
From: <pb...@ch...> - 2004-06-14 14:31:09
|
Hi everybody! You remember my mail from 2004-06-08 concerning my "adding custom indicator to GUI"-problem? Good news: i found a workaround for this strange problem - looks like there is a little bug in the Windows-executeable of MAS 1.6.6r. I did a lot of network-tracing between client and server (both on WinXP) and compared it to the communication of the Linux-version. So i found the following: - the GUI-client starts up - after clicking on 'Indicators' the client seems to request all available indicator names from the server - the server sends the names in one TCP-frame - each indicator name is delimited by a 0x0A-Byte each data-sequence/frame is terminated by a 0x07-Byte (see part of network-trace below - SMA20 at the end is my test-indicator) 0x0270 20 54 68 61 6E 20 6F 72-20 45 71 75 61 6C 20 74 Than or Equal t 0x0280 6F 20 7B 4C 69 6D 69 74-7D 0A 53 6C 6F 70 65 20 o {Limit}.Slope 0x0290 6F 66 20 4D 41 43 44 20-53 69 67 6E 61 6C 20 4C of MACD Signal L 0x02A0 69 6E 65 20 54 72 65 6E-64 0A 56 6F 6C 75 6D 65 ine Trend.Volume 0x02B0 0A 4D 41 43 44 20 6F 66-20 56 6F 6C 75 6D 65 0A .MACD of Volume. 0x02C0 4D 69 64 70 6F 69 6E 74-0A 57 4D 41 20 6F 66 20 Midpoint.WMA of 0x02D0 4D 69 64 70 6F 69 6E 74-0A 55 70 70 65 72 20 42 Midpoint.Upper B 0x02E0 6F 6C 6C 69 6E 67 65 72-20 42 61 6E 64 0A 4C 6F ollinger Band.Lo 0x02F0 77 65 72 20 42 6F 6C 6C-69 6E 67 65 72 20 42 61 wer Bollinger Ba 0x0300 6E 64 0A 50 61 72 61 62-6F 6C 69 63 20 53 41 52 nd.Parabolic SAR 0x0310 0A 54 79 70 69 63 61 6C-20 50 72 69 63 65 0A 43 .Typical Price.C 0x0320 6F 6D 6D 6F 64 69 74 79-20 43 68 61 6E 6E 65 6C ommodity Channel 0x0330 20 49 6E 64 65 78 0A 53-4D 41 32 30 0D 07 Index.SMA20.. - ONLY the names of custom indicators are additional delimited by a strange 0x0D-Byte - the client receives this "unlucky extended" names & compares it with the content of .ma_clientrc - needless to say, that the names are not matching -> custom indicators are not displayed (of course, in .ma_clientrc there are no trailing 0X0D-Bytes!!!) From my point of the view, the error should be located somewhere around the creation of new indicators via the command-line client (input of the indicator-name or so). My humble workaround: if you add the indicator's name to .ma_clientrc, add a trailing 0x0D (ASCII code 13) to the name. Now the names are matching and your new indicator is correctly displayed... hope so! :-) Greetings from Vienna, Philipp |
From: <ja...@mc...> - 2004-06-09 00:24:52
|
Hello all, I'm a noob with MAS. I've been able to start up the server ok with the option to get yahoo data. When I try to start the client, I get: Server error: Error occurred retrieving non-intraday period types for a I'm missing something simple, right? Someone please tell me what it is. Thanks! Jason |
From: <pb...@ch...> - 2004-06-08 15:32:51
|
Hi everyone! I've a strange problem adding a custom indicator to the Java GUI. Maybe there's someone out there, who has the same troubles... and maybe she's/he's a little bit wiser than me :-) Case 1 - installed MAS 1.6.6q on Windows XP Pro - created simple new indicator called "Philipp" (SMA 20) - added new indicator to .ma_clientrc as described in the FAQ (keep file in UNIX-format, etc) - started the server in file-mode - started command-line client, indicator works fine - started GUI client, indicator not displayed under "Indicators" Case 2 - tried the same with MAS 1.6.6r on Windows XP Pro - in this case i started the server in web-mode (retr from Yahoo) - works perfect! - started command-line client, indicator works fine - started GUI client, indicator not displayed under "Indicators" Case 3 - installed MAS 1.6.6q on Linux (SuSE Linux 9.0) - created same new indicator called "Philipp" (SMA 20) on Linux server - started the server in file-mode .....and now it's getting interesting...... - started GUI client on Windows XP-Client mentioned in Case 1 & 2 and connected to the MAS server running on the Linux box - indicator "Philipp" is displayed under "Indicators"!!! Now my humble question: in all 3 cases the Java GUI reads the same .ma_clientrc on the Windows-client - why new indicator is only displayed correct, when connecting over the network to the Linux server??? Local attempts are still failing (MAS server & client on same WinXP machine) I didn't change .ma_clientrc between the tests. Any help would be appreciated - thankx a lot! Philipp |
From: Jim C. <jt...@di...> - 2004-05-28 03:17:44
|
> Hi All, > > I am new to mas. It appears to be just what I was looking for. Hats off to > Jim! > > I only have one issue. I can not get the gui to run on my Linux box or Win2k > either when I connect the server to the web. I can run the server on both > boxes using the sample *.txt data. The gui works fine. I can run the server, > with know errors connecting to charts.yahoo.com. With the server connected > to yahoo the gui gives me a segmentation violation with an error explanation > of something like "Error occurred retrieving trading period types for aa". > It use to say "for a", but I edited the symbols file. > > I would really appreciate any help. Probably an error on my part. Thanks in > advance. Hi Terry. Most likely you have run into the "yahoo http comment bug" - yahoo added http comments to its data, which mas doesn't expect. The fix was easy, but I've not yet formally released the compiled executable. I'm hoping to find the time to put it up on sourceforge in the next few days. If it doesn't show up in a few days, why don't you send me a reminder email - in case I don't get a chance to get to it. At that point I can just email you the new executable so you can get going with it. Jim |
From: Chris B. <chr...@jm...> - 2004-05-25 17:37:46
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Terry Harman wrote: | Hi All, | | | | I am new to mas. It appears to be just what I was looking for. Hats off to | Jim! | | | | I only have one issue. I can not get the gui to run on my Linux box or Win2k | either when I connect the server to the web. I can run the server on both | boxes using the sample *.txt data. The gui works fine. I can run the server, | with know errors connecting to charts.yahoo.com. With the server connected | to yahoo the gui gives me a segmentation violation with an error explanation | of something like "Error occurred retrieving trading period types for aa". | It use to say "for a", but I edited the symbols file. | | | | I would really appreciate any help. Probably an error on my part. Thanks in | advance. | | Terry Harman | ter...@bi... | Are you on the newest version? (1.6.6q) - -- Chris Berry chr...@jm... Systems Administrator JM Associates & Coast Business Service "Is life so dear, or peace so sweet, as to be purchased at the price of chains and slavery? Forbid it, Almighty God! I know not what course others take, but as for me, give me liberty or give me death." --Patrick Henry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAs4Q1kAS13ByzgbsRAlNcAKDINmoYS66lKLfbwA8rfj0eYFY45wCgos/Y sxDlt5dY3O0ltvWfCniYb8I= =vqL4 -----END PGP SIGNATURE----- |
From: Terry H. <ter...@bi...> - 2004-05-25 02:59:32
|
Hi All, I am new to mas. It appears to be just what I was looking for. Hats off to Jim! I only have one issue. I can not get the gui to run on my Linux box or Win2k either when I connect the server to the web. I can run the server on both boxes using the sample *.txt data. The gui works fine. I can run the server, with know errors connecting to charts.yahoo.com. With the server connected to yahoo the gui gives me a segmentation violation with an error explanation of something like "Error occurred retrieving trading period types for aa". It use to say "for a", but I edited the symbols file. I would really appreciate any help. Probably an error on my part. Thanks in advance. Terry Harman ter...@bi... |
From: Jim C. <jt...@di...> - 2004-05-10 10:00:03
|
I may have mentioned this before in this forum, I can't remember for sure, but it seems that a lot of mas users are not aware of this issue and I think posting it here will be helpful, since following this tip could help save people some time and irritation. The issue is that sometimes a new version of the mas executable will not be compatible with respect to the saved indicators and market analyzers (the indicators_persist and generators_persist files). However, preventative action can be taken to avoid running into this problem. It's described in the FAQ entry copied below. (The FAQ is at: http://eiffel-mas.sourceforge.net/support/FAQ.html .) I recommend that everyone who creates their own indicators or market analyzers get used to using this technique for creating and editing indicators and analyzers, so that you can avoid compatibility issues in the future. Here is the FAQ entry: I updated to a new version of MAS and when the server starts up it prints the following error and exits: "Retrieval of indicator library file indicators_persist failed. The file may be corrupted or you may have an incompatible version." How can I use the old indicators I have created with the new server? This problem occurs when a new version of MAS incorporates a change to the structure of the indicator code that is not compatible with the old version. As a result, the old indicator file, indicators_persist, cannot be loaded when the new version of the server starts up. Once this occurs, the only way to use your old indicators is to keep using the old version of the server. (This problem can also occur with market analyzers and the generators_persist file.) However, there is a preventative method that can be used to overcome the problem: Whenever you create a new indicator, start the server in the background (-b option) and use the command-line client program, macl, to talk to the server and "record" the conversation with the command: macl -r output_file <portnumber> where output_file is the name of the file to which you wish to save the recorded output and <portnumber> is the port number with which you started the server. Keep this file in a safe place. It would probably also be a good idea to keep it backed up. Whenever you upgrade to a new version of MAS and get the above error message, you can restore the indicators you have created by running the following command on each of your recorded output files: macl -i file <portnumber> where file is the name of a file created earlier with the -r option and <portnumber> is, again, the port number with which you started the server. This solution works for both indicators and market analyzers. Note for Windows users: Starting MAS the "normal" way, by clicking on the MAS icon, will execute the necessary step described above of starting the server in the background. However, you will still need to run the 'macl -r ...' and 'macl -i ...' commands described above from the Windows command line. Those who do not know how to do this may want to wait for a future release in which this procedure is handled automatically. |
From: Jim C. <jt...@di...> - 2004-05-10 09:36:38
|
> Dear Jim Cochrane > > Just downloaded MAS and have struggled to install on WIN XP. > > I live in Ottawa, Canada. > > My current roblem is that the GUI screen is blank immediately after > linking to Java. mas-1.6.5 + mas-1.6.6g, but problem is > also present with 1.6.5 alone. > > Lew Stelmach Hi Lew. (I'm CCing this email to the discuss list since others may not be aware of the problem and may find it helpful at some point.) There's a good chance that this problem is addressed by the following FAQ entry: http://eiffel-mas.sourceforge.net/support/FAQ.html#data Here's the text of the issue, for your convenience: I'm not able to view daily data in the charting GUI - only periods of weekly intervals and longer are viewable. Most likely you are not able to see daily data on the chart because the start and end dates for daily data configured in the GUI do not fall within the date range of the data you're using (for example, the last date in your data is 1/2/2002 and the start date is configured as 12/1/2002). To fix this, either update your data so that it includes data up to the current date (or last trading day) or change the start and end date settings for daily data in the GUI. Let me know if this solves the problem you're having. Jim |
From: Lew S. <lst...@ro...> - 2004-05-09 20:45:47
|
Market data on the GUI screens appeared when I switched the time interval from daily to weekly. It seems that the sample data in the *.txt files has a weekly granularity |
From: Lew S. <lst...@ro...> - 2004-05-09 19:37:11
|
Dear Jim Cochrane Just downloaded MAS and have struggled to install on WIN XP. I live in Ottawa, Canada. My current roblem is that the GUI screen is blank immediately after linking to Java. mas-1.6.5 + mas-1.6.6g, but problem is also present with 1.6.5 alone. Lew Stelmach lstelmach at rogers.com |
From: Jim C. <jt...@di...> - 2004-04-18 06:46:17
|
To those who have run into the yahoo data problem and would like the fixed executable (mas 1.6.6r), I probably won't get around to putting it up on sourceforge for a while. But if you would like to get hold of it before then, just send me an email letting me know and I'll send you a email with the compressed executable attached. You should be able to just uncompress it and replace the old mas executable with this one (though I'd recommend backing up the old one first, just in case). I have an "official" Linux version available to send out. For those using Windows, if I get enough requests (enough probably meaning some number larger than one), I will probably have enough incentive to boot up my NT machine and compile a Windows executable. Note: If you use the new version you may run into a compatibility problem re. the indicators_persist and generators_persist files. If so, you should read the FAQ entry about that (which I have copied below). It won't solve the problem if you already have it, unfortunately, but it provides a method of easily dealing with the problem in the future. (Yes, this is a weakness of the design of the system that I hope to address sometime in the future.) Jim Here is the FAQ entry about the *_persist files: I updated to a new version of MAS and when the server starts up it prints the following error and exits: "Retrieval of indicator library file indicators_persist failed. The file may be corrupted or you may have an incompatible version." How can I use the old indicators I have created with the new server? This problem occurs when a new version of MAS incorporates a change to the structure of the indicator code that is not compatible with the old version. As a result, the old indicator file, indicators_persist, cannot be loaded when the new version of the server starts up. Once this occurs, the only way to use your old indicators is to keep using the old version of the server. (This problem can also occur with market analyzers and the generators_persist file.) However, there is a preventative method that can be used to overcome the problem: Whenever you create a new indicator, start the server in the background (-b option) and use the command-line client program, macl, to talk to the server and "record" the conversation with the command: macl -r output_file <portnumber> where output_file is the name of the file to which you wish to save the recorded output and <portnumber> is the port number with which you started the server. Keep this file in a safe place. It would probably also be a good idea to keep it backed up. Whenever you upgrade to a new version of MAS and get the above error message, you can restore the indicators you have created by running the following command on each of your recorded output files: macl -i file <portnumber> where file is the name of a file created earlier with the -r option and <portnumber> is, again, the port number with which you started the server. This solution works for both indicators and market analyzers. |
From: Jim C. <jt...@di...> - 2004-04-10 18:36:25
|
Note: In my previous email where I suggested that anyone interested in the fixed version should let me know, I neglected to mention that you should also mention what platform - that is, Linux or Windows - you are using. This will allow me to gage the urgency of releasing an executable for each platform. Thanks. Jim |