if(typeof ForeCore == "undefined") ForeCore={};
ForeCore.PredictionHelper_class = function() {};
Object.extend(ForeCore.PredictionHelper_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCompanyRealtimeData: function(symbol) {
		return this.invoke("GetCompanyRealtimeData", {"symbol":symbol}, this.GetCompanyRealtimeData.getArguments().slice(1));
	},
	GetCompanyHistoricalData: function(symbol, page) {
		return this.invoke("GetCompanyHistoricalData", {"symbol":symbol, "page":page}, this.GetCompanyHistoricalData.getArguments().slice(2));
	},
	PredictCompany: function(symbol, period) {
		return this.invoke("PredictCompany", {"symbol":symbol, "period":period}, this.PredictCompany.getArguments().slice(2));
	},
	CalculateProfit: function(symbol, startAmount, displayHistory) {
		return this.invoke("CalculateProfit", {"symbol":symbol, "startAmount":startAmount, "displayHistory":displayHistory}, this.CalculateProfit.getArguments().slice(3));
	},
	TestCompany: function(symbol) {
		return this.invoke("TestCompany", {"symbol":symbol}, this.TestCompany.getArguments().slice(1));
	},
	PredictCompanyTrial: function(symbol) {
		return this.invoke("PredictCompanyTrial", {"symbol":symbol}, this.PredictCompanyTrial.getArguments().slice(1));
	},
	url: '/ajaxpro/ForeCore.PredictionHelper,ForeCore.ashx'
}));
ForeCore.PredictionHelper = new ForeCore.PredictionHelper_class();

