|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.app.quant.ninja.NinjaStreamWriter
public class NinjaStreamWriter
Can be used from within NinjaTrader to export data. This class is usually placed inside of a NinjaTrader indicator to export NinjaTrader indicators and data. Ninja Trader, at this point, only directly supports C#. So this class will be of limited use on the Java platform.
Constructor Summary | |
---|---|
NinjaStreamWriter()
Construct the object, and set the defaults. |
Method Summary | |
---|---|
void |
beginBar(Date dt)
Begin a bar, for the specified date/time. |
void |
close()
Close the file. |
void |
endBar()
End the current bar. |
int |
getPrecision()
|
void |
open(String filename,
boolean theHeaders,
CSVFormat theFormat)
Open the file for output. |
void |
setPercision(int thePrecision)
Set the percision to use. |
void |
storeColumn(String name,
double d)
Store a column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NinjaStreamWriter()
Method Detail |
---|
public final void beginBar(Date dt)
dt
- The date/time where the bar begins.public final void close()
public final void endBar()
public final int getPrecision()
public final void open(String filename, boolean theHeaders, CSVFormat theFormat)
filename
- The filename.theHeaders
- True, if headers are present.theFormat
- The CSV format.public final void setPercision(int thePrecision)
thePrecision
- The percision to use.public final void storeColumn(String name, double d)
name
- The name of the column.d
- The value to store.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |