Bar
Bar()One bar, as a strategy handler receives it.
The replay reuses bar objects from call to call: keep the numbers, not the object.
Attributes
| Name | Type | Description |
|---|---|---|
| symbol | str | The symbol the bar is for. |
| time | int | The period end, ns since the epoch (UTC). |
| open | float | The open price; NaN when the source has no open. |
| high, low, close | float | The high, low and close prices. |
| volume | float | The volume traded. |