Skip to content

Commit

Permalink
Update alpaca/trading/requests.py
Browse files Browse the repository at this point in the history
Co-authored-by: hiohiohio <hiohiohio@users.noreply.github.com>
  • Loading branch information
aarjaneiro and hiohiohio authored Jan 18, 2025
1 parent ca1f2ac commit fdf4629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alpaca/trading/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class OrderRequest(NonEmptyRequest):
Required for mleg order class.
notional (Optional[float]): The base currency value of the shares to trade. For stocks, only works with MarketOrders.
**Does not work with qty**.
side (Optional[OrderSide]): Whether the order will buy or sell the asset. Required for all order classes other than mleg.
side (Optional[OrderSide]): Whether the order will buy or sell the asset. Either side or position_intent is required for all order classes other than mleg.
type (OrderType): The execution logic type of the order (market, limit, etc).
time_in_force (TimeInForce): The expiration logic of the order.
extended_hours (Optional[float]): Whether the order can be executed during regular market hours.
Expand Down

0 comments on commit fdf4629

Please sign in to comment.