|JTOOLS TIME AND SALES STATE FILE READER
JTools Table of Contents
Project Location: \JTools_StateFileReader
Like the State File Generator application, The Time and Sales State Reader application is a revision of another application I made available to users some time ago. Since the initial version however, I have converted the application into the JTools format, made it compatible with the new JTools_StateFileGenerator and made many improvements to the code in general.
The Time and Sales State File Reader application was designed to be a simple Time and Sales viewer. It will allow a user to flip between time frames and immediately see data within NxCore historical files and in real time. It is dependant on the JTools_StateGenerator application to make State Files available. If you are not familiar with the JTools_StateFileGenerator application you can find it HERE.
Setting up the environment:
The first thing you need to do when launching the application is goto the State Reader Settings and be sure that the settings in the State Reader are the same as those in the JTools_StateFileGenerator application (with the exception of Max List Entries):
This is important as the reader needs to know where the State Files are located and what the timing amounts are. If the timing amounts are different, the State Reader application may not be able to properly find state files for a given time frame. These settings should be the same as the corresponding settings in the JTools_StateFileGenerator application.
The next step is to generate the state files with the JTools_StateFileGenerator application. You can generate the state files from any historical tape, or they can be generated in real time as NxAccess is running. You can generate state files for as many days as you like.
Once the state files are generated, the State Reader Application is ready to use. Be sure to choose a date you created state files for, choose the time frame and span to see data at, and a symbol. You can press the "Get" button to retrieve data or simply press the ENTER key.
If the "To Clipboard" option is checked on, then all output for each request is sent to the clipboard. You can simply bring up and text editor and past the output results into it:
While this application was intended to be used the way a trader might use a time and sales viewer, I chose to keep the symbol convention to the stock NxCore convention. So for instance "IBM" would be entered in as "eIBM".
However, a symbol may be duplicated on more than one listing exchange. For instance GE is listed on both the NYSE and Canadian exchange, and represent different companies. While the symbols default to the US symbols, it is possible to specify the listing exchange the symbol. As an example of how to specify the listing exchange in the symbol:
The exchange designators correspond to the default NxCore exchange codes found here: NxCore Exchange Codes
You may specify any symbol type (equities, futures, options, etc) you are entitled for and/or have on historical tapes.
If the symbol entered is not valid, a "Symbol Not Found" message is displayed in the Name field otherwise a "Symbol Found" message is displayed.
Scrolling through Dates/Times:
Whenever you change the Date or Start Time, the application will immediately check the availability of the file (first in the main Folder and then the Archive Folder if set), and issue a status of the particular state file being found or not found:
State file found:
State file not found:
JTools Table of Contents