Olf   Projects   Art   Software   Bio   Links   Private   Mail
  Deutsche Version

 | Up |

Depot-Mangement

I'm still working on this program. I wrote it, because I wanted to have a trainings-depot for myself. The program is written in perl and runs as a cgi-script (Screenshot).


ATTENTION: This script should be used in an trusted environement (e.g. password-protected) by one trusted person. I strongly dissuade from using the script via a public url!
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.


The script is quite simlpe to use (I expect that you install the DepotXML-verson, 01/04). First you unpack the archive in the cgi-bin-directory of your webserver. This path should be editied in the config-file. The path to this file has to be changed in the script depot.pl.

After editing the configuration, the script can be called by the URL http://www.myserver.de/cgi-bin/depot.pl. The rest is very simple: New creates a new depot; below you can cancel an order or create a new order.

By submitting an order you can chose a condition. This condition has to be filled as a function. The parameters of the function are written in brackets, separated by comma.

  • TRUE()
    The order is executed immediately.
  • ABOVE(P1)
    The order is executed if the stock price is above P1.
  • BELOW(P1)
    The order is executed if the stock price is below P1.
  • TRAILINGABOVE(P1,P2)
    The order is executed it the stock price is at least P2 percent (values from 0 to 1) above P1. If the actual price is below P1, P1 is replaced by the actual price,
  • TRAILINGBELOW(P1,P2)
    The order is executed it the stock price is at least P2 percent (values from 0 to 1) below P1. If the actual price is above P1, P1 is replaced by the actual price,

Changelog

02. 01. 2004 : This version supports xml-files instead of ascii-files. It supports multiple depots and considers fees.
This version is not stable and not much tested. If you find a bug please send me a message.

Todo

  • One language / Multilingual
  • Simple configuration

The program is distributed under ther terms of the GPL (GNU Public Licence) and is available under the following urls:

Datum Beschreibung Download
03. 10. 2003 First version of Depot.pl Download
02. 01. 2004 Frist version of DepotXML: Supports XML-files, fees and multiple depots. Download
18. 02. 2004 I fixed some bugs, the program trades only if there is volume in the market and it is possible to close a postion so that the order is not opening a new position but only closes an existing one. Download

 Fresh stuff  

Gerbils

Xmas Cookies

Tim the bird

Trading Journal V0.10

 Features  

Impressum

Feedback

Newsletter

eCards

Geniustrader

 
 News  

Images out of africa

Back from the island

Sign of life

More pictures, more visitors, more recipes ...

Happy New Year!

More news...

 
© 2004 Oliver Bossert