TradeEvent

@Entity
open class TradeEvent : Identifiable

Constructors

Link copied to clipboard
constructor()
constructor(assetHistory: PortfolioAssetHistory, tradeType: TradeType, valueChange: Double, sharesChange: Double)
constructor(assetHistory: PortfolioAssetHistory, tradeType: TradeType, valueChange: Double, sharesChange: Double, tradeTime: LocalDateTime)

Functions

Link copied to clipboard
open fun getId(): Long
Link copied to clipboard
open fun getTradeType(portfolioAssetHistory: PortfolioAssetHistory): TradeType
Link copied to clipboard
open fun setId(id: Long)