A program that will run on a PC (with internet access) and automate a recurring mutual fund trade sequence.
The two main steps it needs to perform is: Once a day receive the trade information and then place the trade based on that information.
Here are the details of the first step. Once per day, between 10:15 - 10:30 AM EST an email will be sent advising the type of trade. (Alternatively this information is provided on a website at the same time).
Once this daily updated message is received it needs to be interpreted. The message is 2-3 sentences long. The same basic wording and format is used each day. Keywords can be interpreted and used to put all trades into one of four categories:
1) long = symbol x
2) short = symbol y
3) neutral = symbol z
4) Hold - no action needed if already in that position
Here are the details of the second step. If message from the first step is not a Hold, Go to online brokerage website. Login. click through steps to place trade. Populate with stock symbol information from step one above (There will only be rotation among the three positions. Symbol x, symbol y, symbol z. Based on the email message.) Log out after trade is placed.
One possibility is use a type of automation code that learns keystrokes and mouse clicks from example. Then user can teach it to place a long trade, a short trade, and a neutral trade. However, it would need to know when the website has responded to its inputs.
In concept this is a simple program. I would like the use of line comments in the code to indicate its function. In other words make a reasonable attempt to document it so that future modifications will be easier.
I would like the program to be fairly user-friendly as far as loading and operating is concerned. The only other feature I request is some kind of desktop indicator that will constantly show the status of the program - whether it is active and currently running, or shut off by the user. It needs to remain active even after accidental or deliberate computer restarts. It should only shut off when shut off by user.
(After program has been off for a period of time it would be acceptable if the the user had a way to manually enter the current state of rotation...long, short, neutral giving the program a chance to resynchronize with the email or website messages.)