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
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.
- 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.
- Ensure you have Python installed with necessary libraries for data handling and API requests.
This is the main function of the tool. It allows users to specify the blockchain, control file generation, data frame printing, and Supabase integration.
chain
(str): The blockchain to retrieve data from (e.g., "solana", "bsc"). Default is "solana".shouldGenerateFiles
(bool): IfTrue
, generates files based on the retrieved data. Default isTrue
.shouldPrintDataFrames
(bool): IfTrue
, prints the data frames. Useful for visualizing the data. Default isFalse
.shouldAddToSupabase
(bool): IfTrue
, adds the data to Supabase. Default isFalse
.
i_am_the_watcher_free_version("bsc", shouldGenerateFiles=False, shouldPrintDataFrames=True, shouldAddToSupabase=False)
- 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.
- Clone the repository.
- Install required dependencies.
- Run the script with desired parameters.