Problem 1 (Strategy Implementation). Download 1 miniute bar historical data using IB-Matlab for as far as you can (you may need to combine more downloads due to IB restrictions). Then write a function that can generate buy and sell signals using two moving averages MA(m) and MA(n) (m < n)of dierent window length. Run your function on the historical data (you can choose m and n values) and display your trading pro t and loss curve.
Problem 4 (Optimization). Can you nd the best strategy by back testing for m = 1;2;3;:::;n 1; where n = 20:
Reading Assignments (Important!)
Problem 6. Read the complete article cited in the Topics and Notes.

![[Solved] Homework #2 Into to Auto Trading Systems](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] MAT 343 Laboratory 1 Matrix and Vector Computations in MATLAB](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.