benchmark#
API documentation for tradeexecutor.visual.benchmark Python module in Trading Strategy.
Module description#
Compare portfolio performance against other strategies.
Functions#
|
Create data series of different buy-and-hold benchmarks. |
|
Draw portfolio performance. |
|
Transform returns series to equity series. |
|
Draw portfolio performance. |
|
|
|
Visualise strategy performance against benchmarks. |
|
Draw portfolio performance. |
|
Compare equity curves. |
|
Visualise separate benchmarks for both longing and shorting |
|
Draw portfolio performance. |
|
Draw portfolio's interest performance. |
|
Create a chart that shows the strategy returns direction vs. |