# CreateOrderV2Request


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ticker** | **string** |  | [default to undefined]
**client_order_id** | **string** |  | [optional] [default to undefined]
**side** | [**BookSide**](BookSide.md) |  | [default to undefined]
**count** | **string** | Fixed-point contract count string (2 decimals, e.g., \&quot;10.00\&quot;; referred to as \&quot;fp\&quot; in field names). Requests accept 0-2 decimal places (e.g., \&quot;10\&quot;, \&quot;10.0\&quot;, \&quot;10.00\&quot;); responses always emit 2 decimals. Fractional contract values (e.g., \&quot;2.50\&quot;) are supported; the minimum granularity is 0.01 contracts. | [default to undefined]
**price** | **string** | Fixed-point US dollar string. Most request fields accept 2-4 decimal places (e.g., \&quot;0.56\&quot;, \&quot;0.5600\&quot;); responses emit up to 6. Valid quote intervals for a given market are constrained by that market\&#39;s price level structure. | [default to undefined]
**expiration_time** | **number** | Optional Unix timestamp in seconds for when the order expires. To place an expiring order, set &#x60;time_in_force&#x60; to &#x60;good_till_canceled&#x60; and provide this &#x60;expiration_time&#x60;. &#x60;GTT&#x60; is an internal execution type and is not a valid API value for &#x60;time_in_force&#x60;. The &#x60;immediate_or_cancel&#x60; time-in-force value cannot be combined with &#x60;expiration_time&#x60;.  | [optional] [default to undefined]
**time_in_force** | **string** | Specifies how long the order remains active. Use &#x60;good_till_canceled&#x60; with &#x60;expiration_time&#x60; for an order that should rest until a specific expiration time; without &#x60;expiration_time&#x60;, &#x60;good_till_canceled&#x60; is a true good-till-canceled order. &#x60;GTT&#x60; is not a valid API value.  | [default to undefined]
**post_only** | **boolean** |  | [optional] [default to undefined]
**self_trade_prevention_type** | [**SelfTradePreventionType**](SelfTradePreventionType.md) |  | [default to undefined]
**cancel_order_on_pause** | **boolean** | If this flag is set to true, the order will be canceled if the order is open and trading on the exchange is paused for any reason. | [optional] [default to undefined]
**reduce_only** | **boolean** | Specifies whether the order place count should be capped by the member\&#39;s current position. Orders with reduce_only set to true will be rejected unless time_in_force is immediate_or_cancel. | [optional] [default to undefined]
**subaccount** | **number** | The subaccount number to use for this order. 0 is the primary subaccount. Subaccount-restricted API keys must omit this field or pass their locked subaccount. | [optional] [default to undefined]
**order_group_id** | **string** | The order group this order is part of | [optional] [default to undefined]
**exchange_index** | **number** | Exchange shard index. If omitted, auto-routes when ticker is provided; otherwise defaults to 0. Use -1 to require auto-routing by ticker. | [optional] [default to undefined]

## Example

```typescript
import { CreateOrderV2Request } from 'kalshi-typescript';

const instance: CreateOrderV2Request = {
    ticker,
    client_order_id,
    side,
    count,
    price,
    expiration_time,
    time_in_force,
    post_only,
    self_trade_prevention_type,
    cancel_order_on_pause,
    reduce_only,
    subaccount,
    order_group_id,
    exchange_index,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
