Загрузка...

Algorithmic Trading: The Basics (Part 1)

This is the first part of the "algorithmic cryptocurrencies trading" video series, where I take you through the implementation of a crypto trading bot in python. In this video we're writing a python program that gets price data of coins, (something similar would work with stocks too), computes a technical indicator (moving average) and plots it. Besides, we're developing a strategy that allows us to automatically buy the coin whenever the difference between the price and the moving average is more than 3%. This strategy is also back-tested, IE tested to see if it was profitable in the past. Using the Binance API we'll download the price data. Using the pyti library we'll calculate two moving averages for and using plotly we'll display the data in a nice candlestick plot. At the end, we'll test our program in a funky little demo. Timeline Intro 00:16 What is a candlestick? 01:44 What's a moving average? 02:35 What's our trading strategy? 03:27 Coding 04:27 Ending 11:11 Software Requirements I'm running this on an Ubuntu, but MacOS/Windows should work as well. Have python and pip installed. (works on both python 2 and 3) Install pyti: pip install pyti Install plotly: pip install plotly Documentation Binance API: https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md Plotly: https://plot.ly/python/getting-started/ Pyti: https://github.com/kylejusticemagnuson/pyti Music (I own no copyright) Kalimba - Ninja we Ninja (intro/outro) Bob Marley - Sun is Shining Shlohmo - Ghosts, part 2 I do Live coding sessions Saturdays (and sometimes Wednesdays too) on Twitch: https://www.twitch.tv/tudorelu01 Github link: https://github.com/tudorelu/tudorials/tree/master/trading Create a Binance account using my referral link: https://www.binance.com/?ref=10961872 Part 2: https://youtu.be/NTcZGzWBwAQ Bless

Видео Algorithmic Trading: The Basics (Part 1) автора Первый умный
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять