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

Introspection and Debugging #53

Open
1 of 6 tasks
andyl opened this issue Mar 4, 2018 · 0 comments
Open
1 of 6 tasks

Introspection and Debugging #53

andyl opened this issue Mar 4, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@andyl
Copy link
Contributor

andyl commented Mar 4, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant