Reidmcc / rockfish

Rockfish is an arbitrage bot for the Stellar Decentralized Exchange (SDEX)
MIT License
71 stars 23 forks source link

No error and no confirmation when a payment may proceed #37

Closed challet closed 3 years ago

challet commented 3 years ago

Describe the bug

Nothing happens after a Mimimum profit ratio has been met : no error and no confirmation.

To Reproduce

Following the walkthrough guide, running rockfish.

Expected behavior

A path payment is made or an error is displayed.

Screenshots

2021/02/27 01:28:25 Return ratio | Cycle amount for path XLM -> USDC -> EURT -> XLM was 1.0000000 | 0.0113636
2021/02/27 01:28:25 
2021/02/27 01:28:25 ***** Minimum profit ratio was met, proceeding to payment! *****
2021/02/27 01:28:25 
2021/02/27 01:28:25 Best path was  -> USDC -> EURT  -> with return ratio of 1.0007107
2021/02/27 01:28:25 
2021/02/27 01:28:38 Return ratio | Cycle amount for path XLM -> USDC -> USD -> XLM was 0.9883314 | 0.0215459
[new cycle]

Version

  version: master:v1.0.0-rc-2-g67ead284
  git branch: master
  git hash: 67ead284dda48845c2cf99a9dc9337d89dac45da
  build date: 20210226T161733Z
  GOOS: darwin
  GOARCH: amd64