I need a robot to find cointegrated pairs which are off 2 standard deviations.

Specification

my idea is to create a robot which finds cointegrated pairs using simple and  multiple regression, I will give the variables.

The project is: A Robot which will scan a list of stocks or forex to find cointegrated pairs according to the augmented dickey-fuller test,

the robot will scan and then ONLY show the pairs which are out of 2 standard deviations.

The Robot also will indicate the ADF score "-4,32";  ADF%: "90%" OR "95%" OR "99%" 

also will indicate the half-life of the operation 

indicates the Beta of the pair and the Deviation of the residual.

Simple Regression: E = Y - (Beta.X) - A

Multiple Regression: E = Y - (Beta.X) - (Timecoef.Time) - a    (which time is the number of periods)  

Multiple Regression: E = Y - (Beta.X) - (Timecoef.Time^2) - a

Multiple Regression: E = Y - (Beta.X) - (Timecoef.Time) - (Timecoef2.Time^2) - a

half-life : based on ORNSTEIN-UHLENBACK

I have an excel sheet which all calculations to help develop the robot.

 



I have the calculations of the regressions and the half-life I can support with that

Here's a example of what I want but this indicator only searches for the best period.



Responded

1
Developer 1
Rating
(83)
Projects
143
52%
Arbitration
8
13% / 75%
Overdue
22
15%
Free
2
Developer 2
Rating
(515)
Projects
554
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
3
Developer 3
Rating
(11)
Projects
17
59%
Arbitration
2
0% / 100%
Overdue
2
12%
Free
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
6
Developer 6
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free

Project information

Budget
30 - 300 USD
Deadline
from 1 to 20 day(s)