Skip to content

arbitrage_depth_opportunity have a problem #30

@hpsoar

Description

@hpsoar

if the amount of lowest i asks have already exceeds the amount of all the candidate bids, eg. N.

which is amount(market1_ask0, market2_aski) >= amount(market2_bid0, market2_bidN)

there's no need to consider the (i + 1, M) range in market1_asks

with this change, the returned final buyprice can be different

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