Click or drag to resize
IQueryRunner Interface
Query runner environment. Defines methods and properties available for queries.

Namespace:  C2ExplorerServiceStack.Logic.Interfaces
Assembly:  C2ExplorerServiceStack.Logic (in C2ExplorerServiceStack.Logic.dll) Version: 1.0
Syntax
C#
public interface IQueryRunner

The IQueryRunner type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleC2EQUITY
Collective2 raw equity data view.
Public propertyC2CHART
This property accepts and renders Collective2 trading system equity chart.
Public propertyC2SIGNALS
Collective2 signals data view.
Public propertyC2STATS
Collective2 statistics data view.
Public propertyC2SYSTEM
Predefined variable for the object representing Collective2 trading system.
Public propertyC2SYSTEMS
Collective2 trading systems data view.
Public propertyC2TIMELINE
Shows Collective2 trades in the Timeline graph.
Public propertyC2TRADES
Collective2 trades data view.
Public propertyFRAME
IFrame HTML element.
Public propertyGRAPH
Reserved word for future use.
Public propertyGROUP
This property accepts a data from LINQ commands using "group by". (Server side grouping.) Under construction currently.
Public propertyCode exampleH1
H1 HTML element text.
Public propertyH2
H2 HTML element text.
Public propertyH3
H3 HTML element text.
Public propertyH4
H4 HTML element text.
Public propertyH5
H5 HTML element text.
Public propertyH6
H6 HTML element text.
Public propertyCode exampleHTML
General HTML element.
Public propertyCHART
This property accepts most of charts.
Public propertyPICTURE
Reserved word for future use.
Public propertyTABLE
This property accepts data and renders them as a table (grid).
Public propertyCode exampleTEXT
A text rendered as an HTML P element.
Public propertyTREE
Reserved word for future use.
Public propertyTSCHART
Reserved word for time series charts.
Top
Methods
  NameDescription
Public methodCode exampleColumnChart
Creates a column chart.
Public methodCommissionsFactory
This function creates a Commissions object.
Public methodGetAccountEquity(IEnumerableInt64)
This is a helper function. It helps to get an equity data for the list of trading systems.
Public methodGetAccountEquity(Int64)
This is a helper function. It helps to get an equity data of the trading system.
Public methodGetC2SYSTEM
Returns Collective2 trading system object.
Public methodGetCorrelationTable(IEnumerableInt64, String, TimeInterval, String, EquityType)
Returns a correlation table for the given list of trading systems.
Public methodGetCorrelationTable(Int64, String, TimeInterval, String, EquityType)
Returns a correlation table for the trading systems. Useful for its correlation with SP500.
Public methodCode exampleGetEquities
Returns equities data as a list of IChartTimeSeries objects.
Public methodGetEquitiesSheet(IEnumerableInt64, TimeInterval, EquityType, String)
Returns a TimeSheet data in the format for the TABLE variable.
Public methodGetEquitiesSheet(Int64, TimeInterval, EquityType, String)
Returns a TimeSheet data in the format for the TABLE variable.
Public methodCode exampleHR
HR HTML element.
Public methodSQL
Reserved for future use.
Public methodTimeSheetFactory(IEnumerableInt64, TimeInterval, EquityType, String)
This function creates a TimesSheet object.
Public methodTimeSheetFactory(Int64, TimeInterval, EquityType, String)
This function creates a TimesSheet object.
Top
See Also