CaplinPlatform
object can be passed through to
caplin.chart.Series's subscribe method in order to request a new
OHLC(V) series.
Attributes | Name and Description |
---|---|
|
caplin.chart.series.request.CaplinPlatform(Map mConfig)
Constructs a new |
Attributes | Name and Description |
---|---|
<static>
|
void
createFromSerializedState( eXml)
Instantiates |
|
void
getBegin()
|
|
void
getEnd()
|
|
void
getId()
|
|
void
getInstrument()
|
|
void
getInterval()
|
|
void
getSerializedState()
Returns the serialized state of this |
|
void
getSeriesType()
|
►
caplin.chart.series.request.CaplinPlatform(Map mConfig)
Constructs a new caplin.chart.series.request.CaplinPlatform
.
Configuration should contain the following fields:
name | optional | default | description |
---|---|---|---|
instrument | no | The currency pair for which you wish to request chart series data | |
seriesType | yes | BidOffer | BidOffer or Other depending on which series the chart is to render. |
interval | yes | 1m | Tick interval. Possible values are configured on the backend. |
type | yes | caplin.chart.series.Request.REQUEST_HISTORIC | Te type of data you wish to request (historic, realtime, both). See caplin.chart.series.Request for more details. |
begin | yes | Only used if requesting historic data. Used to determine the beginning date of the data you wish to request. | |
end | yes | Only used if requesting historic data. Used to determine the end date of the data you wish to request. |
Map | mConfig | The configuration properties for the request object. |
►
<static>
void
createFromSerializedState( eXml)
Instantiates CaplinPlatform
objects from the XML representation of state.
eXml |
►
void
getBegin()
►
void
getEnd()
►
void
getId()
►
void
getInstrument()
►
void
getInterval()
►
void
getSerializedState()
Returns the serialized state of this caplin.chart.series.request.CaplinPlatform
object
in the form of an XML string.
►
void
getSeriesType()