Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 2.7 KB

README.md

File metadata and controls

52 lines (39 loc) · 2.7 KB

Cryptocurrency Pair Analysis Tool

Cryptocurrency Pair Analysis Tool

I really appreciate your interest in this project. However, it's currently not working very good; I am working on a new version in Typescript. I did this in Python because I thought it would be easier to get it done faster, but I was wrong. I also learned a lot from this project and met some great people.

ps Liquid, previously 0xlino

⚠️ Please be aware of a bad forks of my repo ⚠️

alt text

Overview

This Python tool is designed to analyze and manage cryptocurrency pair data from various blockchains. It retrieves trending, top gaining, and newest pairs, offering functionalities like generating files, printing data frames, and adding data to Supabase.

Features

  • Blockchain Compatibility: Works with multiple blockchains, defaulting to Solana.
  • Data Analysis: Retrieves and analyzes data on cryptocurrency pairs.
  • File Generation: Capable of generating files for further analysis or record-keeping.
  • Data Visualization: Prints data frames for easy visualization.
  • Supabase Integration: Option to add data to Supabase for centralized data management.

Dependencies

  • Ensure you have Python installed with necessary libraries for data handling and API requests.

Usage

Function: i_am_the_watcher_free_version

This is the main function of the tool. It allows users to specify the blockchain, control file generation, data frame printing, and Supabase integration.

Parameters:

  • chain (str): The blockchain to retrieve data from (e.g., "solana", "bsc"). Default is "solana".
  • shouldGenerateFiles (bool): If True, generates files based on the retrieved data. Default is True.
  • shouldPrintDataFrames (bool): If True, prints the data frames. Useful for visualizing the data. Default is False.
  • shouldAddToSupabase (bool): If True, adds the data to Supabase. Default is False.

Example Usage:

i_am_the_watcher_free_version("bsc", shouldGenerateFiles=False, shouldPrintDataFrames=True, shouldAddToSupabase=False)

Modules Description

  • consts: Contains constants like slugged string pairs for various categories.
  • create_data_frame: Functionality to create data frames from the retrieved data.
  • data_frames_array_print: Prints array of data frames with labels.
  • generate_files: Generates files from data frames.
  • get_newest_pairs, get_top_gaining_pairs, get_trending_pairs: Retrieve newest, top gaining, and trending pairs from a specified blockchain.
  • pairs_loop: Used for adding data to Supabase.

Getting Started

  1. Clone the repository.
  2. Install required dependencies.
  3. Run the script with desired parameters.