Trade
- class ConvexTrader.Trade(symbol: str, quantity: int, price: float, trade_date: datetime, trade_type: TradeType)
Bases:
object
Represents a trade in a financial portfolio.
A trade includes information about the stock symbol, the quantity of shares traded, the price per share, the date of the trade, and the type of trade (BUY or SELL).