Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Financial Predictor via Neural Network

, 25 May 2011 CPOL
Exploring the prediction capability of neural networks
Release2.zip
Cloo.dll
dow.csv
encog-core-cs.dll
FinancialMarketPredictor.exe
log4net.dll
nasdaq.csv
predictor_0.08.ntwrk
rates.csv
SP500.csv
Sources2.zip
FinancialMarketPredictorArticle
FinancialMarketPredictor
bin
Debug
Cloo.dll
dow.csv
encog-core-cs.dll
log4net.dll
nasdaq.csv
rates.csv
SP500.csv
Release
Entities
Properties
Settings.settings
Utilities

// ciumac.sergiu@gmail.com
using System;

namespace FinancialMarketPredictor.Entities
{
    /// <summary>
    /// S&P 500 index
    /// </summary>
    public class Sp : IComparable<Sp>
    {
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="amount">SP index</param>
        /// <param name="date">Date of the index</param>
        public Sp(double amount, DateTime date)
        {
            SpIndex = amount;
            Date = date;
        }

        #region Properties
        /// <summary>
        /// S&P500 Index
        /// </summary>
        public double SpIndex { get; set; }

        /// <summary>
        /// Corresponding date
        /// </summary>
        public DateTime Date { get; set; }

        #endregion

        /// <summary>
        /// Compare the indexes by date
        /// </summary>
        /// <param name="other">Other S&P index</param>
        /// <returns>Comparison result</returns>
        public int CompareTo(Sp other)
        {
            return Date.CompareTo(other.Date);
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Ciumac Sergiu
Software Developer
Moldova (Republic Of) Moldova (Republic Of)
Interested in computer science, math, research, and everything that relates to innovation. Fan of agnostic programming, don't mind developing under any platform/framework if it explores interesting topics. In search of a better programming paradigm.
Follow on   Twitter   LinkedIn

| Advertise | Privacy | Mobile
Web03 | 2.8.141022.2 | Last Updated 25 May 2011
Article Copyright 2011 by Ciumac Sergiu
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid