TradingSimula-18 Set Up Algo Parameters Section

Just published my latest book:  TrendFollowing Systems – a DIY Project: Batteries Included and here is the first blog post.

Let’s open up TF-Bollinger-Stop.py.  After installing Python and unzipping TradingSimula18.zip to your C:\ drive and opening IDLE (3.* 64 Bit) from the start menu browse to the TradingSimula18 Folder and open TF-Bollinger-Stop.py.

Scroll nearly 1/2 way down and find this section.  This will be your first initial interface with the script.

TradingSimula-18 Tutorial 1:

#----------------------------------------------------------------------------------
# Set up algo parameters here
#----------------------------------------------------------------------------------
startTestDate = 20000101 #must be in yyyymmdd
stopTestDate = 99999999 #must be in yyyymmdd
rampUp = 100 # need this minimum of bars to calculate indicators
sysName = 'TF-Boll-Stop' #System Name here
initCapital = 50000
commission = 100
Scroll Down To This Section

This area of the script sets the following information:

startTestDate:  the date to start your test 20000101

stopTestDate:  if you put eight 9s then it will run through the last data that you have

rampUp:  the amount of data that you need to calculate your first indicator or function value

sysName:  the name of your system – ‘TF-Boll-Stop’

initCapital: 50000 – set the the initial capital that some of the reports used to $50000

commission: 100 – this is for round turn and you can include slippage

 

classic

yes

About This Site

This site is home to George’s Excellent Adventure into TradingSimula_18 and Python.  George grew tired of the old and expensive back testing software so he created his own and now is able to test and develop  Trend Following Systems utilizing EOD data and EOD intra-testing portfolio management.  This software, TradingSimula_18 can be found in his Trend Following Systems: A DIY Project – Batteries Included book – now in its 2nd edition.

December 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031