ROCKFISH

command module
v0.2.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2019 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Rockfish

Rockfish is an arbitrage bot for the Stellar Decentralized Exchange (SDEX). The SDEX is native to Stellar's blockchain, and you can interact with it through third-party frontends, such as Stellar X and Stellarport.

Due to the specifics of the SDEX, the way Rockfish works is quite different from general arbitrage. First, Rockfish uses a same-exchange cross-asset strategy, instead of buying an asset on one exchange and selling the same asset on another.

More importantly, Rockfish doesn't technically perform trades; it makes payments. One of Stellar's headline features is atomic multi-currency transactions. These payments route assets through the SDEX, using available buy and sell orders. It's essentially a currency exchange service. It is also the equivalent of buying an asset, using that asset to buy a second asset, and selling the second asset back into the destination asset. If the orders line up favorably and you set the destination asset to the start asset, it's possible to make a profit. The underlying trades all execute together, so the intermediate assets are never held by either the payer or the recepient, greatly alleviating the risk that sequential trades would incur.

All of which also adds up to rationalizing price discovery on the SDEX. Pretty great!

Using Rockfish

Check out the walkthrough. Please note Rockfish is in very early alpha and under heavy development; proceed with care.

Installing Rockfish

Either grab one of the releases, or you can compile from source, see below. Terminal commands in these instructions are mostly for Linux.

  1. Clone this repository
  2. Install the Go programming language
  3. Install Glide curl https://glide.sh/get | sh
  4. Run glide install and glide up (for Windows too)
  5. Run Rockfish's build.sh from the main Rockfish repo directory ./scripts/build.sh
  6. You should now have a bin folder in your repository with an executable: rockfish
Acknowledgments

Rockfish is largely built from Kelp components and would not be possible without them. Real rockfish live in kelp forests; hence the name.

Disclaimer

Nothing in Rockfish or its documentation should be taken as investment advice. Rockfish is available as-is, on the terms of the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL