Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
developers:websocket:orders [2025/03/14 22:08] – chad | developers:websocket:orders [2025/03/14 22:10] (current) – chad | ||
---|---|---|---|
Line 92: | Line 92: | ||
- | ---- | ||
==== Market Order ==== | ==== Market Order ==== | ||
Line 117: | Line 116: | ||
- | ---- | ||
- | === Limit Order === | + | |
+ | ==== Limit Order ==== | ||
A Limit Order is submitted with a specific limit price. The order will only execute at the specified price or better. | A Limit Order is submitted with a specific limit price. The order will only execute at the specified price or better. | ||
Line 143: | Line 142: | ||
- | ---- | ||
- | === Stop Order === | + | |
+ | ==== Stop Order ==== | ||
A Stop Market Order becomes a Market Order when the stop price is reached. | A Stop Market Order becomes a Market Order when the stop price is reached. | ||
Line 169: | Line 168: | ||
- | ---- | ||
- | === Stop Limit Order === | + | |
+ | ==== Stop Limit Order ==== | ||
A Stop Limit Order becomes a Limit Order when the stop price is reached. | A Stop Limit Order becomes a Limit Order when the stop price is reached. | ||
Line 196: | Line 195: | ||
- | ---- | ||
- | === Trailing Stop Order === | + | |
+ | ==== Trailing Stop Order ==== | ||
A Trailing Stop Order moves the stop price automatically based on price movement. | A Trailing Stop Order moves the stop price automatically based on price movement. | ||
Line 223: | Line 222: | ||
- | ---- | ||
- | === Fill or Kill (FOK) Order === | + | |
+ | ==== Fill or Kill (FOK) Order ==== | ||
A Fill or Kill (FOK) Order must be executed immediately in full or it is canceled. | A Fill or Kill (FOK) Order must be executed immediately in full or it is canceled. | ||
Line 249: | Line 248: | ||
- | ---- | ||
- | === Immediate or Cancel (IOC) Order === | + | |
+ | ==== Immediate or Cancel (IOC) Order ==== | ||
An Immediate or Cancel (IOC) Order executes immediately for the available quantity and cancels the rest. | An Immediate or Cancel (IOC) Order executes immediately for the available quantity and cancels the rest. | ||
Line 275: | Line 274: | ||
- | ---- | ||
- | === Good Till Canceled (GTC) Order === | + | |
+ | ==== Good Till Canceled (GTC) Order ==== | ||
A Good Till Canceled (GTC) Order remains open until it is filled or explicitly canceled. | A Good Till Canceled (GTC) Order remains open until it is filled or explicitly canceled. | ||
Line 301: | Line 300: | ||
- | ---- | ||
- | === Order Cancels Order (OCO) === | + | |
+ | ==== Order Cancels Order (OCO) ==== | ||
An OCO (One Cancels Other) order is a pair of orders submitted together. Both orders are on the same side of the market: one is a Limit Order and the other is a Stop Order. When one fills, the other is automatically canceled. If one order is partially filled, the remaining volume of the other order is adjusted accordingly. | An OCO (One Cancels Other) order is a pair of orders submitted together. Both orders are on the same side of the market: one is a Limit Order and the other is a Stop Order. When one fills, the other is automatically canceled. If one order is partially filled, the remaining volume of the other order is adjusted accordingly. | ||
Line 339: | Line 338: | ||
- | ---- | ||
- | === AutoOCO Order === | + | |
+ | ==== AutoOCO Order ==== | ||
An AutoOCO Order is a batch of three orders: | An AutoOCO Order is a batch of three orders: | ||
Line 384: | Line 383: | ||
- | ---- | ||
- | === Take Profit and Stop Loss === | + | |
+ | ==== Take Profit and Stop Loss ==== | ||
Take profit and stop loss orders are a type of OCO order. The first order in the batch is the **Trigger Order**. Once it fills, the **Take Profit** and **Stop Loss** orders are submitted. | Take profit and stop loss orders are a type of OCO order. The first order in the batch is the **Trigger Order**. Once it fills, the **Take Profit** and **Stop Loss** orders are submitted. |