AssetSnapshot#
tradingstrategy.analysis.portfolioanalyzer.AssetSnapshot Python class in Trading Strategy framework.
- class AssetSnapshot[source]#
Bases:
object
Asset holdings at a specific timepoint.
- __init__(quantity, market_value, realised_pnl, unrealised_pnl, total_pnl)#
Methods
__init__
(quantity, market_value, ...)Attributes
How many tokens of the asset we had
Daily market value of the tokens
realised_pnl
unrealised_pnl
total_pnl