trade29.sc.commands.ChartDataResponse#
- class trade29.sc.commands.ChartDataResponse(request, response)#
A response containing cumulative requested chart data.
What this response contains is heavily based on the parameters passed into
SCBridge.get_chart_data
/SCBridge.subscribe_to_chart_data
.Attributes
request_id
(int) The request ID associated with this response.
request
(ChartDataRequest) The request passed through the
SCBridge
to get this response.rdata
(dict) The raw data from the T29-SC-dX DLL as a dictionary.
Methods
as_df()
Represents the chart data as a
pandas.DataFrame
.