Show / Hide Table of Contents

Class Plotter

Plotter class with additional helper functions for v2 engine.

Inheritance
object
Plotter
Plotter
Inherited Members
Plotter.ParentAlgorithm
Plotter.Renderer
Plotter.AllData
Plotter.Clear()
Plotter.Title
Plotter.SelectChart(string, string)
Plotter.SetX(object)
Plotter.Plot(string, object)
Plotter.SaveAsCsv(string, string, Func<object, string>)
Plotter.OpenWith(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public class Plotter : Plotter

Constructors

| Edit this page View Source

Plotter(Algorithm)

Create new plotter object.

Declaration
public Plotter(Algorithm algorithm)
Parameters
Type Name Description
Algorithm algorithm

parent algorithm

Methods

| Edit this page View Source

AddHistoricalAllocations()

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()
| Edit this page View Source

AddNavOHLCV()

Add OHLCV bars for algorithm's NAV. This is useful for creating backfills.

Declaration
public void AddNavOHLCV()
| Edit this page View Source

AddParameters()

Add parameters. This page summarizes strategy parameters and current values. This is especially helpful while optimizing strategy parameters.

Declaration
public void AddParameters()
| Edit this page View Source

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()
| Edit this page View Source

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()
  • Edit this page
  • View Source
In this article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com