Package | Description |
---|---|
com.dxfeed.ipf |
Provides classes to read, write, and represent Instrument Profile Files.
|
com.dxfeed.ipf.live |
Provides classes to produce and watch for live updates of Instrument Profiles.
|
com.dxfeed.ipf.option |
Provides classes to group option instruments into option chains by product and underlying symbol and into
series by expiration, mmy, etc within a chain.
|
com.dxfeed.schedule |
Provides information about trading days, sessions, and their schedules.
|
Modifier and Type | Method and Description |
---|---|
List<InstrumentProfile> |
InstrumentProfileReader.read(InputStream in)
Deprecated.
Use
InstrumentProfileReader.read(InputStream, String) .
This is an extension point only and will be made protected in future. |
List<InstrumentProfile> |
InstrumentProfileReader.read(InputStream in,
String address)
Reads and returns instrument profiles from specified stream
This method recognizes data compression formats "zip" and "gzip" automatically.
|
List<InstrumentProfile> |
InstrumentProfileReader.readCompressed(InputStream in)
Deprecated.
|
List<InstrumentProfile> |
InstrumentProfileReader.readFromFile(String address)
Reads and returns instrument profiles from specified file.
|
List<InstrumentProfile> |
InstrumentProfileReader.readFromFile(String address,
String user,
String password)
Reads and returns instrument profiles from specified address with a specified basic user and password
credentials.
|
Modifier and Type | Method and Description |
---|---|
int |
InstrumentProfile.compareTo(InstrumentProfile ip)
Compares this profile with the specified profile for order.
|
String |
InstrumentProfileField.getField(InstrumentProfile ip)
Returns value of this field for specified profile in textual representation.
|
double |
InstrumentProfileField.getNumericField(InstrumentProfile ip)
Returns value of this field for specified profile in numeric representation.
|
void |
InstrumentProfileField.setField(InstrumentProfile ip,
String value)
Sets value of this field (in textual representation) to specified profile.
|
void |
InstrumentProfileField.setNumericField(InstrumentProfile ip,
double value)
Sets value of this field (in numeric representation) to specified profile.
|
Modifier and Type | Method and Description |
---|---|
void |
InstrumentProfileWriter.write(OutputStream out,
List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified stream with the
"##COMPLETE" end tag at the end. |
void |
InstrumentProfileWriter.write(OutputStream out,
String name,
List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified stream using specified name to select data compression format.
|
void |
InstrumentProfileWriter.writeToFile(String file,
List<InstrumentProfile> profiles)
Writes specified instrument profiles into specified file.
|
Constructor and Description |
---|
InstrumentProfile(InstrumentProfile ip)
Creates an instrument profile as a copy of the specified instrument profile.
|
Modifier and Type | Method and Description |
---|---|
protected InstrumentProfile |
InstrumentProfileCollector.copyInstrumentProfile(InstrumentProfile ip)
A hook to create a defensive copy of the instrument profile that is saved into
this collector.
|
Modifier and Type | Method and Description |
---|---|
Iterable<InstrumentProfile> |
InstrumentProfileCollector.view()
Returns a concurrent view of the set of instrument profiles.
|
Modifier and Type | Method and Description |
---|---|
protected InstrumentProfile |
InstrumentProfileCollector.copyInstrumentProfile(InstrumentProfile ip)
A hook to create a defensive copy of the instrument profile that is saved into
this collector.
|
void |
InstrumentProfileCollector.updateInstrumentProfile(InstrumentProfile ip)
Convenience method to update one instrument profile in this collector.
|
Modifier and Type | Method and Description |
---|---|
void |
InstrumentProfileUpdateListener.instrumentProfilesUpdated(Iterator<InstrumentProfile> instruments)
This method is invoked when a set of instrument profiles in the underlying
InstrumentProfileCollector
changes. |
void |
InstrumentProfileCollector.updateInstrumentProfiles(List<InstrumentProfile> ips,
Object generation)
Updates a list of instrument profile and assign them a generation tag.
|
Modifier and Type | Method and Description |
---|---|
static OptionChainsBuilder<InstrumentProfile> |
OptionChainsBuilder.build(Collection<InstrumentProfile> instruments)
Builds options chains for all options from the given collections of
instrument profiles . |
Modifier and Type | Method and Description |
---|---|
static OptionChainsBuilder<InstrumentProfile> |
OptionChainsBuilder.build(Collection<InstrumentProfile> instruments)
Builds options chains for all options from the given collections of
instrument profiles . |
Modifier and Type | Method and Description |
---|---|
static Schedule |
Schedule.getInstance(InstrumentProfile profile)
Returns default schedule instance for specified instrument profile.
|
static Schedule |
Schedule.getInstance(InstrumentProfile profile,
String venue)
Returns schedule instance for specified instrument profile and trading venue.
|
static List<String> |
Schedule.getTradingVenues(InstrumentProfile profile)
Returns trading venues for specified instrument profile.
|
Copyright © 2002–2023 Devexperts LLC. All rights reserved.