by George Pruitt on January 2, 2020 in Introduction, Python, Sector Analysis, TradingSimula-18
Here is some code and visual aid to help understand how TradingSimula-18 figures out how many current positions are in the same sector as the market that is currently being tested. Now that I know the sector the current market belongs to I can use that information to extract the total positions in that sector. […]
READ MOREby George Pruitt on December 20, 2019 in Python
Indent four spaces after an if statement. if x ==1: ++++4x = 2 Let’s break down the above code: Always test the current bar’s high or low against the signal trigger price. If the extreme of the bar exceeds the level then you know you were filled. In TradingSimula18 you are sitting on the close […]
READ MORE- 1
- 2