Directory of Open Source for Quantitative Finance and Trading
Username: Password: Not registered?
 
Quick Search:    (AJAX based: No need to press button)

Main : .NET : 


Category: .NET View Full Details
Download Now!Triplets finder application
Submitter: vanna Date: 2011/2/7
Description:
Finds cointegrated triplets from yahoo finance, which can be used to create a trading strategy.
Uses Johansen's test to find coingeration vectors, and sorts them by half life.

Table prerequisite:
CREATE TABLE `mytable1` (
  `idmytable1` int(11) NOT NULL,
  PRIMARY KEY (`idmytable1`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1$$
delimiter $$

CREATE TABLE `cointegrationdata3` (
  `symbolA` varchar(30) NOT NULL,
  `symbolB` varchar(30) NOT NULL,
  `symbolC` varchar(30) NOT NULL,
  `evalue` decimal(10,6) NOT NULL DEFAULT '0.000000',
  PRIMARY KEY (`symbolA`,`symbolB`,`symbolC`,`evalue`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1$$



Got a question or problem with this link? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link
Downloaded 426 times  426  File Size 0 bytes  Supported Platforms C# .NET WPF MySQL  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (44)

Discuss this file. Just enter your message and click on submit. No registration is required.
Similar Links:

Subscribe to RSS or daily email updates of latest quantitative finance code listings
Email address :
Copyright © 2011 QuantCode Inc. All rights reserved.