Represents a request to retrieve cumulative trade data within a specified time range or for a particular date. More...
Public Member Functions | |
| CumulativeTradesRequest (DateTime beginTime, DateTime endTime, int minVolume, int maxVolume) | |
| Initializes a new instance of the CumulativeTradesRequest class with the specified time range and volume filters. | |
| CumulativeTradesRequest (DateTime beginTime, DateTime endTime, CumulativeTradesMode mode) | |
| Initializes a new instance of the CumulativeTradesRequest class with the specified time range and filtering mode. | |
| CumulativeTradesRequest (DateTime date) | |
| Initializes a new instance of the CumulativeTradesRequest class for retrieving data for a particular date. | |
| CumulativeTradesRequest (DateTime beginTime, DateTime endTime, CumulativeTradesMode mode, int minVolume, int maxVolume) | |
| Initializes a new instance of the CumulativeTradesRequest class with an explicit mode and volume filter. | |
Properties | |
| DateTime | BeginTime [get] |
| Gets the start time of the requested data. | |
| DateTime | EndTime [get] |
| Gets the end time of the requested data. | |
| decimal | MinVolume [get] |
| Gets the minimum cumulative volume filter for the requested data. | |
| decimal | MaxVolume [get] |
| Gets the maximum cumulative volume filter for the requested data. | |
| int | RequestId [get] |
| Gets the unique identifier for the request. | |
| CumulativeTradesMode | Mode [get] |
| Gets the mode used to filter cumulative trades by their aggregated volume. | |
| bool | GetDataForParticularDate [get] |
| Gets or sets a flag indicating whether to get data for a particular date only. | |
Represents a request to retrieve cumulative trade data within a specified time range or for a particular date.
It mustn't be more than 7 days.
| ATAS.Indicators.CumulativeTradesRequest.CumulativeTradesRequest | ( | DateTime | beginTime, |
| DateTime | endTime, | ||
| int | minVolume, | ||
| int | maxVolume | ||
| ) |
Initializes a new instance of the CumulativeTradesRequest class with the specified time range and volume filters.
| beginTime | The start time of the requested data. |
| endTime | The end time of the requested data. |
| minVolume | The minimum cumulative volume filter for the requested data. |
| maxVolume | The maximum cumulative volume filter for the requested data. |
| ATAS.Indicators.CumulativeTradesRequest.CumulativeTradesRequest | ( | DateTime | beginTime, |
| DateTime | endTime, | ||
| CumulativeTradesMode | mode | ||
| ) |
Initializes a new instance of the CumulativeTradesRequest class with the specified time range and filtering mode.
| beginTime | The start time of the requested data. |
| endTime | The end time of the requested data. |
| mode | The mode used to filter cumulative trades by their aggregated volume. |
| ArgumentException | Thrown when mode is CumulativeTradesMode.FilterLimited, because that mode requires explicit min and max volume values. |
| ATAS.Indicators.CumulativeTradesRequest.CumulativeTradesRequest | ( | DateTime | date | ) |
Initializes a new instance of the CumulativeTradesRequest class for retrieving data for a particular date.
| date | The date for which to retrieve the data. |
| ATAS.Indicators.CumulativeTradesRequest.CumulativeTradesRequest | ( | DateTime | beginTime, |
| DateTime | endTime, | ||
| CumulativeTradesMode | mode, | ||
| int | minVolume, | ||
| int | maxVolume | ||
| ) |
Initializes a new instance of the CumulativeTradesRequest class with an explicit mode and volume filter.
| beginTime | The start time of the requested data. |
| endTime | The end time of the requested data. |
| mode | The mode used to filter cumulative trades by their aggregated volume. |
| minVolume | The minimum cumulative volume filter (used by CumulativeTradesMode.Filter and CumulativeTradesMode.FilterLimited). |
| maxVolume | The maximum cumulative volume filter (used by CumulativeTradesMode.Filter and CumulativeTradesMode.FilterLimited). |
Use CumulativeTradesMode.Filter to retrieve all trades in the range that match the volume filter without a server-side per-session count cap. Use CumulativeTradesMode.FilterLimited when a count cap is acceptable (or desired) to bound payload size.
|
get |
Gets the start time of the requested data.
|
get |
Gets the end time of the requested data.
|
get |
Gets or sets a flag indicating whether to get data for a particular date only.
|
get |
Gets the maximum cumulative volume filter for the requested data.
|
get |
Gets the minimum cumulative volume filter for the requested data.
|
get |
Gets the mode used to filter cumulative trades by their aggregated volume.
|
get |
Gets the unique identifier for the request.