View Single Post

Quote by qwirky64 					 				 				I'm stuck on what I'm sure is a very simple problem.  I'm trying to calculate predicted output for my share trading model.  For example, for a strategy the probability of it winning on each trade may be 0.4 and hence a loss is 0.6.  But for each trade it wins, my account balance is increased by 5% and each loss it loses 2%.  How do I calculate how much I would have won or lost after n amount of trades?  Can you break it down to on average each trade its a win or loss of x% so I can just use a simple compound interest formula to calculate expected profit after n amount of trades?
Your net gain/loss n trades is $\delta_G np - \delta_L n(1-p)$ so for 10 trades you have: 0.05 (10)0.4 -0.02(10)0.6= 0.08 This is a net gain per trade of 0.008 (0.8%). The formula for compound interest is $N(t)=N_{0}e^{rt}$ where r is the rate and t is the time in units over which the rate is calculated.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 2, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": false, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9536528587341309, "perplexity_flag": "middle"}