Skip to content

PlaceSafeMarketOrderAsync - Bug #512

Closed
@Ikkarus1996

Description

@Ikkarus1996

I have found two places that have caused incorrect behaviour in ExchangeAPIExtensions.PlaceSafeMarketOrderAsync():

Line 309 - The "IsBuy" parameter isn't set in the request, so it is always treated as sell-order.

Line 331 - "break" breaks the Switch-statement, not the for-loop. So the loop always runs 20 times (maxTries) and then throws an APIExeption for time out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions