Adds a callback that will be called on each bar.
Parameters: |
|
---|
Adds a DataSeries to the subplot.
Parameters: |
|
---|
Bases: pyalgotrade.plotter.Subplot
A Subplot responsible for plotting an instrument.
Class responsible for plotting a strategy execution.
Parameters: |
|
---|
Builds a matplotlib.figure.Figure with the subplots. Must be called after running the strategy.
Parameters: |
|
---|---|
Return type: | matplotlib.figure.Figure. |
Returns the InstrumentSubplot for a given instrument
Return type: | InstrumentSubplot. |
---|
Returns a Subplot by name. If the subplot doesn’t exist, it gets created.
Parameters: | name (string.) – The name of the Subplot to get or create. |
---|---|
Return type: | Subplot. |
Returns the subplot where the portfolio values get plotted.
Return type: | Subplot. |
---|
Plots the strategy execution. Must be called after running the strategy.
Parameters: |
|
---|