Backup your trades
Backup strategy for trading
Alternatives to tape
The installation procedures assume you've installed the prerequsites of python, wxPython and optionally the win32 extensions for python.
Instructions are given for setting up the server and clients. Both server and client may
reside on the same machine, or be distributed.
Setting up and configuring the server
- Extract all the files in the distribution to the directory of your choice
- To install the ShareWatch server as a Windows service, run the command prompt,
and change directory to the ShareWatch directory. Then type
- Edit the config.txt file to suit your needs. This is explained below.
Setting up your config.txt
Most of the configuration settings are straightforward. Below are the settings
you'll need to get started quickly:
Nasdaq.UseProxy - set to 1 if you use a proxy server, 0 otherwise
Nasdaq.Proxy - your proxy server (if used)
Nasdaq.Codes - a comma separated list of the codes you wish to track
Nasdaq.RefreshInterval.Day - number of seconds between refreshing during the day
Nasdaq.RefreshInterval.Adjust - number of seconds between refreshing during market adjust times
Nasdaq.RefreshInterval.Other - number of seconds between refreshing outside of market hours
Nasdaq.Day.Start - the hour of day when the trading day starts (eg. 10 for 10am)
Nasdaq.Day.End - the hour of day when the trading day stops (eg. 16 for 4pm)
Nasdaq.Adjust.Start - the hour of day when the market starts taking orders / starts adjusting (eg. 9 for 9am)
Nasdaq.Adjust.End - the hour of day when the market stops taking orders / finishes adjusting (eg. 17 for 5pm)
ASX (telstra.com) module
The settings are similar to those for the Nasdaq module, except
Ax.Telstra.Usernames - the telstra.com watch list usernames to monitor (each watchlist can contain 9 stocks).
Watchlists can be automatically generated on telstra.com. Simply categorise your stocks in the file UserGroups.txt,
ShareWatchTelstra.py check. This will show you the watch lists that will be generated. To actually
generate the lists, type
ShareWatchTelstra.py generate name where name is your desired username prefix. See
the readme.txt file for more details.
Setting up and configuring the client
- Extract all the files in the distribution to the directory of your choice.
- Alter the contents of the server.url file to point to your ShareWatch SOAP server.
- Alter the usergroups.txt file to list your stocks. Stocks under the Important group
get displayed in the left column of the ticker; stocks in the Interesting group get displayed
in the middle column of the ticker, and all other stocks get displayed on the right column.
(Also, the columns scroll at different speeds.) The stock codes also get categorised in
the wxHTML window display.
Starting them up!
To start the server, either start the Windows Service (Control Panel - Services) or
run the ShareWatchServer.py file.
To start the client, run the ShareWatchApp.py file.