diff --git a/README.md b/README.md index 500c83a..06a0534 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ This is a Python client library for accessing the Charles Schwab stock and optio - [X] Automated refreshing of access token - [x] Download option chain data - [x] Get account information -- Place stock and option trades [Work in Progress] -- Retrieve trade history [TODO] +- [x] Place stock and option trades +- Retrieve trade history [Work in Progress] - Monitor real-time market data [TODO] ## Installation diff --git a/cschwabpy/models/trade_models.py b/cschwabpy/models/trade_models.py index 22c7bbc..b0770d0 100644 --- a/cschwabpy/models/trade_models.py +++ b/cschwabpy/models/trade_models.py @@ -452,3 +452,12 @@ class Order(JSONSerializableBaseModel): replacingOrderCollection: List[str] = [] childOrderStrategies: List[str] = [] statusDescription: Optional[str] = None + + +class EquityOrder(Order): + quanity: float + + +class OptionOrder(Order): + quantity: Optional[float] = None + complexOrderStrategyType: ComplexOrderStrategyType