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

[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.

## initial_source {#initial_source}

```ts
initial_source?: string;
```

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

## alert_delivery_provider {#alert_delivery_provider}

```ts
alert_delivery_provider?: PineAlertDeliveryProvider;
```

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

## alerts {#alerts}

```ts
alerts?: boolean;
```

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

## drawing_objects {#drawing_objects}

```ts
drawing_objects?: boolean;
```

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

## editor_ui {#editor_ui}

```ts
editor_ui?: PineEditorUiOptions;
```

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

## enabled {#enabled}

```ts
enabled: boolean;
```

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

## extended_visuals {#extended_visuals}

```ts
extended_visuals?: boolean;
```

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

## worker_url {#worker_url}

```ts
worker_url?: string;
```

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

## max_source_bytes {#max_source_bytes}

```ts
max_source_bytes?: number;
```

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

## publication_provider {#publication_provider}

```ts
publication_provider?: PinePublicationProvider;
```

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

## max_bars {#max_bars}

```ts
max_bars?: number;
```

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

## max_alert_events {#max_alert_events}

```ts
max_alert_events?: number;
```

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

## max_dependency_series {#max_dependency_series}

```ts
max_dependency_series?: number;
```

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

## max_drawing_objects {#max_drawing_objects}

```ts
max_drawing_objects?: number;
```

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

## max_table_cells {#max_table_cells}

```ts
max_table_cells?: number;
```

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

## tables {#tables}

```ts
tables?: boolean;
```

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

## execution_timeout_ms {#execution_timeout_ms}

```ts
execution_timeout_ms?: number;
```

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

## realtime_timeout_ms {#realtime_timeout_ms}

```ts
realtime_timeout_ms?: number;
```

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

## max_loop_iterations {#max_loop_iterations}

```ts
max_loop_iterations?: number;
```

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

## max_object_overrides {#max_object_overrides}

```ts
max_object_overrides?: number;
```

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

## object_interaction {#object_interaction}

```ts
object_interaction?: boolean;
```

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

## library_provider {#library_provider}

```ts
library_provider?: PineLibraryProvider;
```

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

## max_library_bytes {#max_library_bytes}

```ts
max_library_bytes?: number;
```

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

## max_library_dependencies {#max_library_dependencies}

```ts
max_library_dependencies?: number;
```

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

## max_library_depth {#max_library_depth}

```ts
max_library_depth?: number;
```

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

## strategies {#strategies}

```ts
strategies?: boolean;
```

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

## max_strategy_orders {#max_strategy_orders}

```ts
max_strategy_orders?: number;
```

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

## max_strategy_trades {#max_strategy_trades}

```ts
max_strategy_trades?: number;
```

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

## workspace_provider {#workspace_provider}

```ts
workspace_provider?: PineWorkspaceProvider;
```

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

## Related types

- [PineAlertDeliveryProvider](https://docs.lumencharts.com/charting-library/api/PineAlertDeliveryProvider)
- [PineEditorUiOptions](https://docs.lumencharts.com/charting-library/api/PineEditorUiOptions)
- [PinePublicationProvider](https://docs.lumencharts.com/charting-library/api/PinePublicationProvider)
- [PineLibraryProvider](https://docs.lumencharts.com/charting-library/api/PineLibraryProvider)
- [PineWorkspaceProvider](https://docs.lumencharts.com/charting-library/api/PineWorkspaceProvider)

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