TraderService

@Service
open class TraderService

Constructors

Link copied to clipboard
@Autowired
constructor(portfolioService: PortfolioService, currencyService: CurrencyService, tradeEventService: TradeEventService)

Functions

Link copied to clipboard
open fun getAllTradeEvents(user: ProductUser): List<TradeEvent>
Link copied to clipboard
open fun getTradeEvents(user: ProductUser): TradeEventListResponse
open fun getTradeEvents(user: ProductUser, offset: Int, limit: Int): TradeEventListResponse
Link copied to clipboard
open fun toTradeEventListResponse(tradeEvents: List<TradeEvent>): TradeEventListResponse
Link copied to clipboard
open fun toTradeEventResponse(tradeEvent: TradeEvent): TradeEventResponse
Link copied to clipboard
open fun userHasTrades(user: ProductUser): Boolean