This is not a web scraping task, it requires interaction with the ethereum network through an API.
I need someone to write a Python 3 code that gathers all the transactions and trades of an Ethereum address and writes it to a csv file. The algorithm should be able identify trades that occur on Decentralized Exchanges such as on Uniswap and capture what token was bought or sold and for how much.
a. I'm counting on the developer to research and choose a publicly available API as part of the project.
b. With a variable we manually specify the Ethereum address and the date range, then the code scrapes all eth to eth, eth to token and token to eth transactions within that time frame. If it was a trade on a DEX like Uniswap, then it flags it as a trade and includes the price at which the token was purchased or sold. It should also be able to handle token to token swaps.
c. The code then returns a dataframe in a csv file where each row contains info about a transaction’s:
- Txn hash
- Eth amount (if it was just an eth transfer)
- Buy or Sell or Transfer
- Token’s name
- Token’s contract address
- Amount of tokens transferred or swapped
- Token’s Exchange rate
- ETH/USD historical price at the time
d. Some tokens can be staked and minted, make sure the algorithm doesn't confuse these with trades.
e. It would be great if the script was as simple and as fast as possible and could be run from pycharm.
f. An additional feature would be that we can give a list of addresses to the algorithm and we get a csv file for each address and each csv file is named with the first 6 characters of the address.
5 pekerja bebas membida secara purata £225 untuk pekerjaan ini
hi i am data analyst with more than 3 years of experience in python, analytics and machine learning. i have already a project like this using stock data. i can select and scrap the api and deliver everything you need