Git Product home page Git Product logo

arb-bot's Introduction

Lyra / Deribit Arb Bot _/ ๐Ÿค–

A bot providing automated arbs between Lyra & Deribit. Atm the moment you must run this bot yourself for reporting & execution.

Example arb - Deribit / Lyra

Arb Identification

  • Identify Arbs
  • Use strategy - identify different arbs
  • Report strategy & arbs via telegram

Arb Execution

  • Market Order Trade Execution
  • Execute trade - Lyra
  • Execute trade - Deribit
  • Revert mechanism (price moves, arb invalidated)
  • Trade / logging - reporting via Telegram
  • Polling mechanism - js call
  • Documentation

Strategy Settings

Arb Identification Settings

  • Markets ETH / BTC
  • Option Types [Call, Put]
  • Profit Threshold
  • Minimum APY
  • Sell Lyra Only
  • Spot / Strike Difference

Arb Execution Settings

  • Trade Size
  • Colat Percent
  • Buy First
  • Most Profitable Only

Run locally:

yarn install
yarn start

For full set up settings visit the Lyra Arb Bot Wiki

Environment Variables

  • TESTNET - true/false (if true prints to console, doesn't post to telegram)
  • REPORT_ONLY - Report arbs that meet strategy - don't execute.
  • ALCHEMY_ID - alchemy ID.

Integrations

Deribit

  • DERIBIT_CLIENT_ID - deribit client id
  • DERIBIT_CLIENT_SECRET - deribit client secret
  • DERIBIT_TESTNET - true/false use the testnet endpoint
  • DERIBIT_TESTNET_CLIENT_ID - deribit TESTNET client id
  • DERIBIT_TESTNET_CLIENT_SECRET - deribit TESTNET client secret

Ether Wallet

  • WALLET_ADDRESS - your wallet address
  • PRIVATE_KEY - wallet private key
  • PUBLIC_KEY - wallet public key

Roadmap

2 versions of the bot, one public reporting bot that manages reporting arbs, one private bot set up by the user. Private bot has public bot functionality and in addition adds trade execution.

  • Reporting Bot (RB) - add to own TG channel, receives strat params posts arbs.
  • RB - store user strategies in external db.
  • RB - report user strategies to channels.
  • Execution Bot (EB) - add collateral management.
  • EB - Fully automated arbitrage via Telegram.

Completely automated strategies executable via Telegram.

Resources

Contributing

Lyra grantsDao welcomes contributors. Regardless of the time you have available, everyone can provide meaningful contributions to the project by submitting bug reports, feature requests or even the smallest of fixes! To submit your contribution, please fork, fix, commit and create a pull-request describing your work in detail. For more details, please have a look at the Contribution guidelines.

Contact

Join the community on the Lyra Discord server!

arb-bot's People

Contributors

ethboi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.