Skip to content

History Request: Option: missed empty bars #11

Description

@Romazes

Expected Behavior

Returns All bars even the API returns zero result of some properties.

Actual Behavior

We have skipped bars in code base.

Potential Solution

Remove condition and test with GetHistoryRequestWithCalculateAmountReturnsData
Image

Reproducing the Problem

Use Option Symbol with any resolution in GetHistoryRequestWithCalculateAmountReturnsData test.

[TestCase("AAPL", SecurityType.Option, Resolution.Minute, "2025/02/19", "2025/02/20", new[] { TickType.Quote, TickType.Trade })]

System Information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions