TradeEvent

@Entity
open class TradeEvent : AutoGeneratedIdentifiableEntity

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
abstract fun getId(): T
Link copied to clipboard
open fun getTradeType(portfolioAssetHistory: PortfolioAssetHistory): TradeType
Link copied to clipboard
open fun setId(id: Long)