if first 3 days then last 2
Python code. If ETF stock labu or labd are trading in the red for the first 3 day's of the week what is the probability they will trade in green or red the last three days of the week Here is some example Python code to calculate the probability that the ETF stock LABU or LABD will trade in green or red for the last three days of the week, given that they traded in the red for the first three days of the week: