Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Add trading path parser #22

Closed
wants to merge 5 commits into from
Closed

Add trading path parser #22

wants to merge 5 commits into from

Conversation

LimpidCrypto
Copy link
Owner

@LimpidCrypto LimpidCrypto commented Apr 30, 2022

  • Release of Subscribe to order books #2.
  • Revise Subscribe to order books #2 because it has problems when empty order books come into play.
  • Add a function that parses all order books and identifies all possible trading paths.
      • Spatial Arbitrage paths
      • Triangular Arbitrage paths
      • Market maker paths
Basic Spatial Arbitrage Triangular Arbitrage
1. PS: USD.r1 > BTC.r1 1. PS: USD.r1 > BTC.r1
2. PS: BTC.r2 > USD.r2 2. PS: BTC.r2 > ETH.r1
3. PS: ETH.r2 > USD.r2
  • Adjust values.
    • The lowest value is the value to calculate every other value from (also take account balance in account)
      • Spatial Arbitrage paths
      • Triangular Arbitrage paths
      • Market maker paths
  • Resolve Get gateway fees #11
  • Calculate profits after fees.
  • Generate a random memo for each trading path with a prefix for each trading type.
  • Add Tests
  • Documentation
  • Linter

@LimpidCrypto
Copy link
Owner Author

This PR will be splitted up into multiple PRs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build trading paths Get gateway fees
1 participant