TradingEngine

Functions

Link copied to clipboard
abstract fun buy(currentPrice: Double)
Link copied to clipboard
abstract fun getAsset(): PortfolioAsset
Link copied to clipboard
abstract fun sell(currentPrice: Double)
Link copied to clipboard
abstract fun trade(): Boolean
abstract fun trade(currentPrice: Double): Boolean