Skip to content

Introspection and Debugging #53

Description

@andyl

Add features to help users introspect and debug.

Matching Introspection:

  • match - show elements that have matching statements
  • overlap - show elements that have overlapping maturation ranges
  • align - show elements that have aligning prices

These introspections should apply for the following element combinations:

  • Contract -> Contract
  • Contract -> Offer
  • Offer -> Offer
  • Offer -> Contract

Cross Introspection:

  • show crossing price
  • show crossing volume
  • show crossing maturation date

The 'cross introspection' is a sort of "dry run" to see how the cross would work without applying the changes.

Update the CLI:

  • drop bmx series
  • bmx contract cross UUID --dry-run
  • bmx contract offers --match --overlap --align --open
  • bmx contract peers --match --open
  • bmx offer contracts --match --overlap --open
  • bmx offer peers --match --overlap --align --open

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions