org.encog.app.quant.ninja
Class NinjaFileConvert
java.lang.Object
org.encog.app.analyst.csv.basic.BasicFile
org.encog.app.analyst.csv.basic.BasicCachedFile
org.encog.app.quant.ninja.NinjaFileConvert
- All Implemented Interfaces:
- QuantTask
public class NinjaFileConvert
- extends BasicCachedFile
A simple class that shows how to convert financial data into the
form that NinjaTrader can recognize. The input data must have CSV
headers that indicate the following fields:
date
time
high
low
open
close
volume
This data will be rearranged to fit the NinjaTrader format, which is
documented here:
http://www.ninjatrader.com/support/helpGuides/nt7/index.html?importing.htm
Method Summary |
void |
process(File target)
Process the file and output to the target file. |
Methods inherited from class org.encog.app.analyst.csv.basic.BasicFile |
appendSeparator, getColumnCount, getFormat, getInputFilename, getInputHeadings, getPrecision, getRecordCount, getReport, getReportInterval, getScript, isAnalyzed, isExpectInputHeaders, isProduceOutputHeaders, performBasicCounts, prepareOutputFile, readHeaders, reportDone, reportDone, requestStop, resetStatus, setAnalyzed, setColumnCount, setExpectInputHeaders, setInputFilename, setInputFormat, setInputHeadings, setPrecision, setProduceOutputHeaders, setRecordCount, setReport, setReportInterval, setScript, shouldStop, toString, updateStatus, updateStatus, validateAnalyzed, writeRow |
NinjaFileConvert
public NinjaFileConvert()
process
public final void process(File target)
- Process the file and output to the target file.
- Parameters:
target
- The target file to write to.
Copyright © 2014. All Rights Reserved.