com.activequant.dao
Interface IMarketDataInstrumentDao
- All Superinterfaces:
- IEntityDao<MarketDataInstrument>
- All Known Implementing Classes:
- MarketDataInstrumentDao
public interface IMarketDataInstrumentDao
- extends IEntityDao<MarketDataInstrument>
| Methods inherited from interface com.activequant.dao.IEntityDao |
count, countForAttributeValue, countForAttributeValue, countForAttributeValue, create, delete, findIDs, findIDs, findIDs, findIDs, findIDsWhereCreationDateBetween, load, loadAll, loadIDs, update |
findForProvider
MarketDataInstrument[] findForProvider(String providerId)
- fetch all mdinstruments for a specific provider.
- Parameters:
providerId - f.e. Bloomberg
- Returns:
countForProvider
int countForProvider(String providerId)
getProviders
String[] getProviders()
findFor
MarketDataInstrument[] findFor(Instrument instrument)
findFor
MarketDataInstrument findFor(String providerId,
Instrument instrument)
- Parameters:
providerId - for example BBGTinstrument - any instrument
- Returns:
- the MDI, in case it exists. if not, then null.
findByProvId
MarketDataInstrument findByProvId(String providerId,
String provSpecInstId)
findLike
MarketDataInstrument[] findLike(String providerId,
String provSpecInstId)
findForProvider
MarketDataInstrument[] findForProvider(String providerId,
int startIndex,
int maxAmount)
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.