Back to Browse

Leveraged Trading in DeFi | Python, Brownie, Aave, Uni/SushiSwap

21.0K views
Jun 29, 2021
34:42

#brownie #python #aave #defi Leveraged trading is a common strategy to use in traditional finance, and they are even easier to do in #DeFi. Short selling and margin trading are both examples of leveraged trading. In this video we do the following: ๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด Nothing in this is financial advice. PLEASE invest responsibly. Leveraged trading is a riskier investment strategy. ๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด๐Ÿ”ด 1. Define our terms 2. Talk about the risks of margin trading 3. Demo this on Aave 4. Code it all in python 0:00 | Intro 1:49 | Funny Time 2:19 | A word of Caution 2:50 | Aave UI Demo 8:21 | Python & Brownie Demo 34:05 | Summary 34:42 | Ape ๐Ÿ’ปCode: https://github.com/PatrickAlphaC/defi_py_mix ๐ŸŽŠ Metamask: https://metamask.io/download ๐Ÿ‘ป Aave (testnet): https://testnet.aave.com/ ๐Ÿฃ SushiSwap: https://app.sushi.com/ ๐Ÿฆ„ Uniswap: https://app.uniswap.org/#/ ๐Ÿš Router Documenation: https://uniswap.org/docs/v2/smart-contracts/router02/ ๐Ÿ”ต Link Token Contracts (for the faucets): https://docs.chain.link/docs/link-token-contracts/ ๐Ÿ‘ป Aave Lending Video: https://www.youtube.com/watch?v=x0YDcZly_PU Market Neutral: https://www.investopedia.com/terms/m/marketneutral.asp Leveraged Trading: https://www.wealthwithin.com.au/learning-centre/leveraged-trading/leverage-trading-the-pros-and-cons Short Selling: https://www.investopedia.com/terms/s/shortselling.asp Add networks with: ``` brownie networks add development mainnet-fork cmd=ganache-cli host=http://127.0.0.1 fork=http://alchemy.io/asdfasdfas chainid=1 ``` Images from: https://unsplash.com/s/photos/jungle โœ…โœ… Donate โœ…โœ… I use donated funds to spend money on making fun & informational videos. ETH Wallet address: 0x9680201d9c93d65a3603d2088d125e955c73BD65 ๐Ÿ˜ธ๐Ÿ˜ธJoin the community!๐Ÿ˜ธ๐Ÿ˜ธ Chainlink developers discord: https://discord.gg/2YHSAey Twitter: https://twitter.com/patrickalphac Medium: https://medium.com/@patrick.collins_58673 Twitch Stream Uploads: https://www.youtube.com/channel/UCMHHNgcezTnfrJUM1vIiZlQ Twitch: https://www.twitch.tv/patrickalphac All thoughts and opinions are my own.

Download

0 formats

No download links available.

Leveraged Trading in DeFi | Python, Brownie, Aave, Uni/SushiSwap | NatokHD