GithubHelp home page GithubHelp logo

amm-research's Introduction

AMM Research Supplementary Repo

This repository contains source code for data fetching and data analysis used in the __ paper.

Installation

  1. Install Julia
  2. Install the Jupyter Kernel for Julia
  3. Connect to the Julia kernel on Jupyter/VSCode Jupyter Extension

Usage

  1. The main notebook is located under src/notebook.ipynb
  2. The notebook is sectioned according to DuneAnalytics and TheGraph queries
  3. All queries pre-fetched under queries/ can be manually obtained via Dune or The Graph
  4. All output graphs are situated under output/ and mirrors the directory structure of queries

Queries

Dune Analytics

All Dune Analytics queries is publicly accessible. Here are the ones listed in the notebook

The Graph

  1. Our on-chain data is fetched via The Graph Protocol. Obtain their API key here and add it to a .env file in the root directory: GRAPHPROTOCOL_API_KEY="XXXX"

  2. Run the fetcher script to retrieve relevant data: yarn fetch [token0] [token1] [start date] [end date] [output name], e.g. ts-node src/thegraph/fetch_uniswapv3_pool.ts 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 2022-10-01 2023-10-01

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.