Skip to content

Stream trade history skips first trade each cycle #34

Description

@wlvchandler

Stream trade history skips first trade each cycle

High Severity

In stream_trade_history, the trade history index is incremented before accessing the response vector. This causes the newest trade (resp[0]) to be skipped on the first emission and subsequently delivered out of order in the stream.

Originally posted by @cursor[bot] in #26 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions