Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mm: Epoch reporting #2808

Merged
merged 1 commit into from
Oct 30, 2024
Merged

mm: Epoch reporting #2808

merged 1 commit into from
Oct 30, 2024

Commits on Oct 29, 2024

  1. mm: Epoch reporting

    This diff updates the market makers to generate a report of their
    activities during each epoch. If the rates of each placement is unable
    to be determined, this is reported as a `PreOrderProblem`, otherwise
    an `OrderReport` is generated for the orders placed on each side of the
    market containing information such as lots the bot is required to place,
    the current number of lots standing, the number of lots booked, the
    balances required and used for each placement, etc. This information is
    all displayed on the UI.
    
    A bug is also fixed in this diff. Previously, on a call to
    `core.MultiTrade`, it was possible for some of the orders to be placed,
    and some of them to result in an error. In this case, an error was returned
    from `core.MultiTrade`, and the market makers would assume that none
    of the trades were placed. Now a `core.MultiTradeResult` is returned for
    each of the requested orders in the `MultiTrade` call containing either
    the order or an error.
    martonp committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    078e230 View commit details
    Browse the repository at this point in the history