Skip to content

Is there a sample OrderBook implementation? #624

@jdx-john

Description

@jdx-john

I'm putting together a simple implementation that uses the SortedDictionary of Asks and Bids for Websockets (I guess it would work for REST too). I think this is consistent across all exchanges so I can contribute it but it seems like something that might already exist.
Kraken provides Checksum functionality to test your book hasn't gotten out of sync, not sure if others do this but ES doesn't currently expose this at all so I'd at least ad support in ExchangeOrderBook. Other than that it's basically just merging dictionaries.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions