Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package asset defines the Asset type representing a tradeable instrument identified by a CompositeFigi and a human-readable Ticker.
|
Package asset defines the Asset type representing a tradeable instrument identified by a CompositeFigi and a human-readable Ticker. |
|
Package broker defines the interface between the portfolio and a brokerage.
|
Package broker defines the interface between the portfolio and a brokerage. |
|
alpaca
Package alpaca implements broker.Broker for the Alpaca brokerage.
|
Package alpaca implements broker.Broker for the Alpaca brokerage. |
|
etrade
Package etrade implements broker.Broker for E*TRADE (Morgan Stanley).
|
Package etrade implements broker.Broker for E*TRADE (Morgan Stanley). |
|
ibkr
Package ibkr implements broker.Broker for the Interactive Brokers brokerage.
|
Package ibkr implements broker.Broker for the Interactive Brokers brokerage. |
|
schwab
Package schwab implements broker.Broker for the Charles Schwab brokerage.
|
Package schwab implements broker.Broker for the Charles Schwab brokerage. |
|
tastytrade
Package tastytrade implements broker.Broker for the tastytrade brokerage.
|
Package tastytrade implements broker.Broker for the tastytrade brokerage. |
|
tradestation
Package tradestation implements broker.Broker for the TradeStation brokerage.
|
Package tradestation implements broker.Broker for the TradeStation brokerage. |
|
tradier
Package tradier implements broker.Broker for the Tradier brokerage.
|
Package tradier implements broker.Broker for the Tradier brokerage. |
|
webull
Package webull implements broker.Broker for the Webull brokerage using the official Webull OpenAPI platform.
|
Package webull implements broker.Broker for the Webull brokerage using the official Webull OpenAPI platform. |
|
Package cli provides the command-line interface for pvbt strategies.
|
Package cli provides the command-line interface for pvbt strategies. |
|
summary
Package summary builds and renders backtest summary reports to a terminal.
|
Package summary builds and renders backtest summary reports to a terminal. |
|
Package data provides the core types for working with financial time-series data in pvbt.
|
Package data provides the core types for working with financial time-series data in pvbt. |
|
Package engine is the main entry point for pvbt, a backtesting engine library.
|
Package engine is the main entry point for pvbt, a backtesting engine library. |
|
middleware/risk
Package risk provides portfolio middleware for enforcing risk constraints.
|
Package risk provides portfolio middleware for enforcing risk constraints. |
|
middleware/tax
Package tax provides portfolio middleware for tax-loss harvesting.
|
Package tax provides portfolio middleware for tax-loss harvesting. |
|
examples
|
|
|
momentum-rotation
command
Momentum Rotation is a simple strategy that rotates into the asset with the highest trailing return over a configurable lookback period.
|
Momentum Rotation is a simple strategy that rotates into the asset with the highest trailing return over a configurable lookback period. |
|
Package library manages discovery, installation, listing, and removal of pvbt strategy plugins.
|
Package library manages discovery, installation, listing, and removal of pvbt strategy plugins. |
|
Package portfolio is where strategy decisions become trades.
|
Package portfolio is where strategy decisions become trades. |
|
Package signal provides reusable computations that derive new time series from market data (prices, volume, fundamentals, economic indicators).
|
Package signal provides reusable computations that derive new time series from market data (prices, volume, fundamentals, economic indicators). |
|
Package study provides a framework for running a strategy multiple times with different configurations and synthesizing the results into a report.
|
Package study provides a framework for running a strategy multiple times with different configurations and synthesizing the results into a report. |
|
optimize
Package optimize implements the parameter-optimization study type.
|
Package optimize implements the parameter-optimization study type. |
|
report
Package report defines the Report interface for Vue-based HTML reports and provides a Render function that produces self-contained HTML files.
|
Package report defines the Report interface for Vue-based HTML reports and provides a Render function that produces self-contained HTML files. |
|
stress
Package stress implements the stress test study type.
|
Package stress implements the stress test study type. |
|
Package tradecron extends standard cron syntax with awareness of trading calendars.
|
Package tradecron extends standard cron syntax with awareness of trading calendars. |
|
Package universe defines the investable space for a strategy.
|
Package universe defines the investable space for a strategy. |
Click to show internal directories.
Click to hide internal directories.