| Package | Description |
|---|---|
| org.marketcetera.orderloader |
A tool to send orders based on a CSV (Comma Separated Values) File input.
|
| org.marketcetera.orderloader.fix |
Classes for processing orders when orderloader is operating in FIX Mode.
|
| org.marketcetera.orderloader.system |
Classes for processing orders when orderloader is operating in System Mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RowProcessor.initialize(String... inHeaders)
Initialize the instance with the headers for each column.
|
protected abstract Order |
RowProcessor.parseOrder(String[] inRow)
Parses the supplied row and creates an order instance from it.
|
void |
OrderParser.parseOrders(InputStream inStream)
Parses rows out of the supplied file and uses the processors to
process them.
|
protected abstract void |
RowProcessor.setHeaders(String[] inHeaders)
Implemented by subclasses to initialize themselves with the
supplied headers.
|
| Constructor and Description |
|---|
OrderLoader(String inMode,
BrokerID inBrokerID,
OrderProcessor inOrderProcessor,
File inFile)
Creates a new instance that processes orders from a csv input file.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomField<?> |
CustomField.getCustomField(String inName)
Fields are treated as custom when the header name is not "standard" and
the name can be parsed as an int.
|
protected quickfix.Field<?> |
FIXProcessor.getQuickFixFieldFromName(String inFieldName)
Translate the incoming field name from String to a FIX standard
using reflection.
|
protected String |
FIXProcessor.parseMessageValue(quickfix.Field<?> inField,
String inFieldName,
String inValue,
quickfix.Message inMessage)
For some fields (day, side, etc) we do custom lookups since
the orders may be "DAY", MKT (for price), etc
For all others, delegate to the basic field type lookup
|
protected Order |
FIXProcessor.parseOrder(String[] inRow) |
void |
FIXProcessor.setHeaders(String[] inHeaders) |
| Constructor and Description |
|---|
FIXProcessor(OrderProcessor inProcessor,
BrokerID inBrokerID,
FIXVersion inFIXVersion)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Instrument |
OptionFromRow.extract(Row inRow) |
protected abstract Instrument |
InstrumentFromRow.extract(Row inRow)
Extracts the instrument value from the supplied row.
|
protected Instrument |
FutureFromRow.extract(Row inRow) |
protected Instrument |
EquityFromRow.extract(Row inRow) |
protected Instrument |
CurrencyFromRow.extract(Row inRow) |
protected SecurityType |
InstrumentFromRow.getSecurityType(String[] inRow)
Returns the security type value from the supplied row, if available.
|
protected Order |
SystemProcessor.parseOrder(String[] inRow) |
protected void |
SystemProcessor.setHeaders(String[] inHeaders) |
Copyright © 2014. All Rights Reserved.