|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.activequant.servicelayer.matlab.MatlabServiceFacade
public class MatlabServiceFacade
This facade is to be used by MATLAB users. Nothing else. All functionality required by ML users will go in here.
| Constructor Summary | |
|---|---|
MatlabServiceFacade()
|
|
MatlabServiceFacade(IArchiveFactory af,
IDaoFactory dao)
|
|
MatlabServiceFacade(String zookeeperHost)
|
|
| Method Summary | |
|---|---|
String |
facadeName()
can be used for testing ... |
TimeSeriesContainer |
fetchTSData(TimeFrame tf,
MarketDataInstrument[] marketInstruments,
String[] fieldNames,
double startDate8Time6,
double endDate8Time6,
Map<Parameter,Object> paramMap)
|
TimeSeriesContainer |
fetchTSData(TimeFrame tf,
String[] marketInstrumentIds,
String[] fieldNames,
double startDate8Time6,
double endDate8Time6,
Map<Parameter,Object> paramMap)
|
TimeSeriesContainer |
fetchTSData(TimeFrame tf,
String[] marketInstrumentIds,
String[] fieldNames,
double startDate8Time6,
Map<Parameter,Object> paramMap)
|
TimeSeriesContainer |
fetchTSData(TimeFrame tf,
String marketInstrumentId,
String fieldName,
double startDate8Time6,
double endDate8Time6,
Map<Parameter,Object> paramMap)
|
TimeSeriesContainer |
fetchTSData(TimeFrame tf,
String marketInstrumentId,
String fieldName,
double startDate8Time6,
Map<Parameter,Object> paramMap)
Fetches data from start time to now(). |
String |
getIID(String mdiId)
Fetches the instrument id for an mdi id. |
String[] |
getInstrumentIds()
|
Instrument |
loadInstrument(String instrumentId)
|
MarketDataInstrument |
loadMarketDataInstrument(String mdiId)
|
MarketDataInstrument[] |
loadMarketDataInstruments(Instrument instrument)
|
static void |
main(String[] args)
Used for basic and simple testing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MatlabServiceFacade()
public MatlabServiceFacade(String zookeeperHost)
public MatlabServiceFacade(IArchiveFactory af,
IDaoFactory dao)
| Method Detail |
|---|
public String[] getInstrumentIds()
throws DaoException
DaoException
public Instrument loadInstrument(String instrumentId)
throws DaoException
DaoExceptionpublic MarketDataInstrument[] loadMarketDataInstruments(Instrument instrument)
public String getIID(String mdiId)
throws DaoException
mdiId -
DaoException
public MarketDataInstrument loadMarketDataInstrument(String mdiId)
throws DaoException
DaoException
public TimeSeriesContainer fetchTSData(TimeFrame tf,
String[] marketInstrumentIds,
String[] fieldNames,
double startDate8Time6,
Map<Parameter,Object> paramMap)
throws Exception
Exception
public TimeSeriesContainer fetchTSData(TimeFrame tf,
MarketDataInstrument[] marketInstruments,
String[] fieldNames,
double startDate8Time6,
double endDate8Time6,
Map<Parameter,Object> paramMap)
throws Exception
Exception
public TimeSeriesContainer fetchTSData(TimeFrame tf,
String[] marketInstrumentIds,
String[] fieldNames,
double startDate8Time6,
double endDate8Time6,
Map<Parameter,Object> paramMap)
throws Exception
Exceptionpublic String facadeName()
public TimeSeriesContainer fetchTSData(TimeFrame tf,
String marketInstrumentId,
String fieldName,
double startDate8Time6,
Map<Parameter,Object> paramMap)
throws Exception
tf - marketInstrumentId - fieldName - startDate8Time6 -
Exception
public TimeSeriesContainer fetchTSData(TimeFrame tf,
String marketInstrumentId,
String fieldName,
double startDate8Time6,
double endDate8Time6,
Map<Parameter,Object> paramMap)
throws Exception
Exception
public static void main(String[] args)
throws Exception
args -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||