# Import statement
from bcx.orders import Order
Order(order_type: str, symbol: str, side: str, quantity: float, time_in_force: str, order_id: str = None)[source]¶Base class for representing orders
Note
Although it is possible to use this class for creating orders, but it lack of order specific validation checks.
Attributes
| Check if order has valid parameters | 
Methods
| 
 | Represent order as JSON dictionary | 
| 
 | Validate order parameters | 
is_valid¶Check if order has valid parameters