> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# OrderFillResolutionType

## Definition

Determines the bars type which will be used for historical fill processing.

This property will only be valid if the **OrderFillResolution** is set to **OrderFillResolution.High**.

## Property Value

A **BarsPeriodType** representing the type of bars during historical order processing. Default value is set to **BarsPeriodType.Minute**.

## Syntax

`OrderFillResolutionType`

This property should ONLY be set from the `OnStateChange()` method during **State.SetDefaults**.

## Examples

```csharp
protected override void OnStateChange()
{
    if (State == State.SetDefaults)
    {                
        Name = "ExampleStrategy";

        // use one second bars for filling orders
        OrderFillResolution       = OrderFillResolution.High;                 
        OrderFillResolutionType   = BarsPeriodType.Second;
        OrderFillResolutionValue   = 1; 
    }
}
```