Class Plotter
Plotter class with additional helper functions for v2 engine.
Inherited Members
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public class Plotter : Plotter
Constructors
| Improve this Doc View SourcePlotter(Algorithm)
Create new plotter object.
Declaration
public Plotter(Algorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
Algorithm | algorithm | parent algorithm |
Methods
| Improve this Doc View SourceAddHistoricalAllocations()
Add historical asset allocations. This log contains one row for each rebalancing day. Each row summarizes the symbol held, along with the target allocation for that symbol.
Declaration
public void AddHistoricalAllocations()
AddNavOHLCV()
Add OHLCV bars for algorithm's NAV. This is useful for creating backfills.
Declaration
public void AddNavOHLCV()
AddParameters()
Add parameters. This page summarizes strategy parameters and current values. This is especially helpful while optimizing strategy parameters.
Declaration
public void AddParameters()
AddTargetAllocation()
Add target allocation. The target allocation includes one row for each asset held. Each row has the asset's symbol, full name, target allocation, and last price.
Declaration
public void AddTargetAllocation()
AddTradeLog()
Add trade log. This log includes one entry for every trade executed. Each entry summarizes the instrument traded, along with order size, fill prices, order amount, and trade friction.
Declaration
public void AddTradeLog()