public class PythonReferenceDataService
extends java.lang.Object
ReferenceDataWorker
from PythonStrategyService
.
Methods mirror delegated methods with small changes (no Optional, only VOs are used, not entities). Some are left out.Constructor and Description |
---|
PythonReferenceDataService(ReferenceDataService referenceDataService) |
Modifier and Type | Method and Description |
---|---|
boolean |
isInverseContract(java.lang.String baseCurrency,
java.lang.String contractCurrency) |
void |
retrieve(long accountId,
long securityFamilyId)
Retrieves the specified
Future or Option chain. |
void |
retrieveAll(long accountId)
Retrieves all reference data available by the data provider.
|
void |
retrieveStocks(long accountId,
long securityFamilyId,
long securityId)
Retrieves all
Stocks of the specified securityFamily
Retrieve here means both fetch from external service and persist into DB. |
public PythonReferenceDataService(ReferenceDataService referenceDataService)
public void retrieve(long accountId, long securityFamilyId)
Future
or Option
chain.
Retrieve here means both fetch from external service and persist into DB.public void retrieveStocks(long accountId, long securityFamilyId, long securityId)
Stocks
of the specified securityFamily
Retrieve here means both fetch from external service and persist into DB.public boolean isInverseContract(java.lang.String baseCurrency, java.lang.String contractCurrency)
public void retrieveAll(long accountId)