Code Monkey home page Code Monkey logo

crab's Introduction

crub

crab

crab is a Ruby-based bot that leverages the SIDESHIFT API to access and analyze financial data for cryptocurrency trading.

It includes functionalities such as fetching market data, managing user accounts, and executing trades using the Dollar-Cost Averaging (DCA) strategy. The script is designed to automate these processes at specified intervals using a scheduler, aiming to optimize trading strategies and potentially generate profits.

Installation

  1. Clone the repository:

    git clone https://github.com/fabohax/crab.git
    
  2. Install required gems:

    bundle install
    
  3. Customize the crub.rb file to align with your specific trading strategy. For example, to purchase 100 USDT worth of Bitcoin every Sunday at 0:00:

    0 * * * * cd /path/to/project && ruby crab.rb
  4. Set up a cron job to execute the script at your desired intervals. For instance, to run the script every 5 minutes:

    */5 * * * * cd /path/to/project && ruby crab.rb
    
  5. Start the cron service:

    sudo service cron start
    
  6. Verify the cron job status:

    sudo service cron status
    

Now, crub should be operational, executing your defined trading strategy on SIDESHIFT.AI.

[!] Warning: Use at Your Own Risk

Before deploying this script, it is crucial to understand the risks associated with cryptocurrency trading, including market volatility, liquidity risks, and regulatory challenges.

It is strongly recommended to thoroughly test the bot in a simulated environment before using real funds. Regularly monitor its performance and adjust parameters as necessary.

crab's People

Contributors

fabohax avatar faboport avatar

Stargazers

5l1v3r1 avatar jz avatar  avatar David avatar Germán Martín avatar  avatar  avatar Ahmed Sakr avatar  avatar Anton Dvorson avatar Kristian Spurling avatar Ryan Davis avatar  avatar  avatar  avatar Kanu Madhok avatar taw420 avatar  avatar Aleksey Savin avatar  avatar Tomé Vardasca avatar Lodor avatar  avatar Thomas avatar Yalçın Açıkyıldız avatar Alejandro Gutiérrez avatar Roma Chi avatar Mauro Callegari avatar  avatar Alexander Cowen-Rivers avatar mr9 avatar Victor Martínez Viol avatar  avatar  avatar  avatar  avatar  avatar Jinjun Liang avatar 0mon.mode avatar Ridel avatar  avatar

Watchers

Dung Ho avatar Plant avatar Kostas Georgiou avatar  avatar Alejandro Gutiérrez avatar  avatar  avatar  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.