1/5
## Project Setup We're going to get started by building a project from scratch. The first thing we need to do is to create a directory. ```bash mkdir mox-algorithmic-trading-cu ``` Next we want to open this directory with Visual Studio Code: ```bash code mox-algorithmic-trading-cu ``` We also need to initialize our project. We are going to be using a Python project. ```bash mox init --vscode --pyproject ``` Now we are ready to remove some of the files that were created when we initialized our project. ```bash rm -rf script/deploy.py ``` Now, we will make a small change to our `README.md` file. The goal of this project is to interact with Aave, Uniswap, and to rebalance our portfolio. ```markdown # What do we want to do? 1. Deposit into Aave 2. Withdraw from Aave 3. Trade tokens through Uniswap ``` We will cover all of these tasks in greater detail as we go along.
A comprehensive guide to setting up a Python-based project for algorithmic trading on the blockchain. This lesson walks through creating a new directory, setting up the project with the help of the Mocassin package, and outlining the key goals of the project.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
How to build a DeFi stablecoin and customized NFT
How to deploy your smart contract on ZKsync with Moccasin
Advanced testing techniques like stateful and stateless Python fuzzing
How to write algorithmic trading scripts in Python
Hashing signatures, proxies, delegate calls, upgradable contracts, random numbers, and more!
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
On-chain Data Analyst
$59,000 - $139,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on April 21, 2025
Duration: 2h 21min
Duration: 1h 58min
Duration: 2h 55min
Duration: 1h 55min
Duration: 46min
Course Overview
About the course
How to build a DeFi stablecoin and customized NFT
How to deploy your smart contract on ZKsync with Moccasin
Advanced testing techniques like stateful and stateless Python fuzzing
How to write algorithmic trading scripts in Python
Hashing signatures, proxies, delegate calls, upgradable contracts, random numbers, and more!
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
On-chain Data Analyst
$59,000 - $139,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on April 21, 2025