<!-- Public documentation export; not library implementation source. -->
# PineStrategyRunSettings

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

## backtestFillLimitsAssumption {#backtestfilllimitsassumption}

```ts
backtestFillLimitsAssumption?: number;
```

Use the type signature above and the integration guide for the owning capability.

## commissionType {#commissiontype}

```ts
commissionType?: "percent" | "cash_per_order" | "cash_per_contract";
```

Use the type signature above and the integration guide for the owning capability.

## commissionValue {#commissionvalue}

```ts
commissionValue?: number;
```

Use the type signature above and the integration guide for the owning capability.

## currency {#currency}

```ts
currency?: string;
```

Use the type signature above and the integration guide for the owning capability.

## defaultQuantityType {#defaultquantitytype}

```ts
defaultQuantityType?: "fixed" | "cash" | "percent_of_equity";
```

Use the type signature above and the integration guide for the owning capability.

## defaultQuantityValue {#defaultquantityvalue}

```ts
defaultQuantityValue?: number;
```

Use the type signature above and the integration guide for the owning capability.

## initialCapital {#initialcapital}

```ts
initialCapital?: number;
```

Use the type signature above and the integration guide for the owning capability.

## marginLong {#marginlong}

```ts
marginLong?: number;
```

Use the type signature above and the integration guide for the owning capability.

## marginShort {#marginshort}

```ts
marginShort?: number;
```

Use the type signature above and the integration guide for the owning capability.

## processOrdersOnClose {#processordersonclose}

```ts
processOrdersOnClose?: boolean;
```

Use the type signature above and the integration guide for the owning capability.

## pyramiding {#pyramiding}

```ts
pyramiding?: number;
```

Use the type signature above and the integration guide for the owning capability.

## slippage {#slippage}

```ts
slippage?: number;
```

Use the type signature above and the integration guide for the owning capability.

---
Documentation page: https://docs.lumencharts.com/charting-library/api/PineStrategyRunSettings
