Aga-money

Aga-money is a Ruby gem that provides powerful functionalities for discovering new listed cryptocurrencies, identifying top gainers for trading opportunities, and finding cryptocurrencies suitable for arbitrage operations. It offers a comprehensive set of tools and data analysis capabilities to help cryptocurrency traders and enthusiasts stay ahead in the market.

Features

  • Discover newly listed cryptocurrencies on various exchanges, providing real-time updates on the latest additions to the market.
  • Identify top gainers by analyzing price movements and percentage changes over specific time intervals, enabling traders to capitalize on profitable opportunities.
  • Perform in-depth analysis on market data, including historical price trends, trading volumes, and market capitalization of cryptocurrencies.
  • Evaluate arbitrage opportunities by comparing prices across different exchanges and identifying price disparities that can be exploited for profit.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add aga-money

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install aga-money

Usage

To use Aga-money in your application, require the gem and start making requests. Here's a basic example:

require 'money'

Money::Arbitrage.new(start: 1, service: :arbitrage).run

# Output:

[  
    {
        :id=>1,                                                                         
        :date_added=>"2010-07-13T00:00:00.000Z",                                        
        :name=>"Bitcoin",                                                               
        :slug=>"bitcoin",                                                               
        :symbol=>"BTC",                                                                 
        :exchanges=> [
            {:exchange=>"Bittrex", :price=>26475.60011232},                               
            {:exchange=>"BitMart", :price=>26561.02548245}
        ]
    }
]

Money::New.new(start: 1, service: :new).run

# Output: nil


Money::Top.new(start: 1, service: :top).run

[
    {
        :id=>23449,                                                                     
        :date_added=>"2023-02-08T09:59:11.000Z",                                        
        :name=>"hiRENGA",                                                               
        :slug=>"hirenga",                                                               
        :symbol=>"HIRENGA",                                                             
        :exchanges=> [
            {
                :exchange=>"Binance",                                                        
                :pair=>"BTC/USDT",                                                           
                :price=>26539.26978533,                                                      
                :liquidity=>1005.0
            },                                                         
            {
                :exchange=>"KuCoin",                                                         
                :pair=>"BTC/USDT",                                                           
                :price=>26530.44747505,                                                      
                :liquidity=>650.0
            },
            {
                :exchange=>"Coinbase Exchange",
                :pair=>"BTC/USDT",
                :price=>26536.33901786,
                :liquidity=>676.0
            },
        ]
    }
]

Contributing

Contributions to Aga-money are welcome! If you encounter any issues or have suggestions for improvements, please submit an issue on the repository. Pull requests are also encouraged.

Private License

Version 0.0.1, 01/06/2023

By obtaining a copy of this software and associated documentation files (the "Software"), you agree that the Software is proprietary to AIGreenAnt and is protected under intellectual property laws. This license grants you limited rights to use the Software solely for internal purposes within your organization.

  1. License Grant

1.1 You are granted a non-exclusive, non-transferable license to use the Software for internal purposes only.

1.2 You may not distribute, sublicense, sell, or transfer the Software to any third party without prior written permission from AIGreenAnt.

  1. Intellectual Property

2.1 The Software and any associated intellectual property rights, including but not limited to copyrights, patents, trademarks, trade secrets, and any other proprietary rights, are and shall remain the exclusive property of AIGreenAnt.

2.2 You may not remove, alter, or obscure any proprietary notices or labels on the Software.

  1. Limitation of Liability

3.1 In no event shall AIGreenAnt be liable for any direct, indirect, incidental, special, or consequential damages arising out of the use or inability to use the Software, even if AIGreenAnt has been advised of the possibility of such damages.

  1. Termination

4.1 This license is effective until terminated. AIGreenAnt may terminate this license at any time if you fail to comply with the terms and conditions of this agreement.

4.2 Upon termination, you must immediately cease all use of the Software and destroy all copies in your possession or control.

  1. Governing Law

5.1 This license shall be governed by and construed in accordance with the laws of Italy, without regard to its conflict of laws principles.