Freelancer: prakashkumark
Compartilhar:
Denunciar Inscrição

Py RealTime Simulation of Uniswap Order Book Data

The provided Python script serves as a tool for simulating real-time order book data from Uniswap, one of the leading decentralized exchanges running on the Ethereum blockchain. Unlike traditional exchanges, Uniswap V3 does not have a traditional order book; however, the script uses pool reserves to emulate an order book for a specific trading pair. Key Features: Interacting with the Ethereum Blockchain: Utilizes Web3.py to interact with the Ethereum mainnet and fetch pool reserves for a specific Uniswap V3 trading pair. Fetching USD Price: Integrates the CoinGecko API to retrieve the latest USD price for a given cryptocurrency. Simulated Order Book: Combines the above data to create a simulated order book for a specific coin. The order book includes both 'ask' and 'bid' entries with information such as price in USDT, order size in the local coin, and the total amount in USDT. Real-Time Updates: The script is designed to run in a loop, updating the simulated order book every 10 sec

Inscrição nº 7 do Concurso para                                                 I'm looking for python script which one will return Uniswap orderbook
Inscrição nº7

Painel de Comentários

  • mdabdulkader2162
    Proprietário do Concurso
    • 6 meses atrás

    I did not get the my 1st job expected result to send one request and collect all coins order books and some of you told me it's not possible in decentralized exchange.

    So you can try 2nd job that I added in same description if it's possible.

    Thank you for your time and cooperation.

    • 6 meses atrás