Run the trading bot on a Django web server

Part 1

In this part of the tutorial we set up a web server with Django. We communicate with the server over HTTP. The goal is to start and stop the trading bot via a HTTP request.

Setting up the bot to run on your local machine

In this part of the tutorial we set up a crypto bot that performs trades on Binance. Check out the overview to get an idea of what we are building.

Get yourself a cup of ☕️ and let’s start!

Binance — Set up

  • The first thing you need to do is to head over to Binance and create an account.
  • Set up two-step authentication in “Security”.

A beginner-friendly tutorial to build a crypto trading bot on Binance.

In this tutorial we build a crypto trading bot on Binance. This is a beginner friendly tutorial. Basic coding experience is recommended.

This tutorial is for individuals who:

  • Are interested in crypto
  • Want to improve their coding skills
  • Want to start a side project that might generate some revenue

It’s more about the learning than about the money.

The goal of the project is to have a trading bot that runs in the cloud all day. The bot tries to maximize the amount coins by exploiting the volatility of the crypto market. …

When COVID-19 meant that my running group was canceled, my friends and I organized our own group workout program

Four people jogging under an overpass
Four people jogging under an overpass
Image credit: jacoblund.

In September 2020, I moved to Berlin to start working as a software engineer. To compensate for all-day sitting, I like to do sports. I participated in Midnight Runners.

Moving into a new city with no connections is scary. Midnight Runners is a great place to meet like-minded people. I met Lorenzo. Lorenzo is a chill Italian with better endurance than me. Lorenzo likes pasta as much as he likes girls.

When COVID-19 hit again, Midnight Runners stopped. To keep our sanity, though, we decided to continue meeting for workouts. In the beginning, it was very casual. We didn’t have…

6 things I learned from LeetCoding

Photo by Hitesh Choudhary on Unsplash

I spent countless hours learning about data structures and algorithms. I solved 500 problems on LeetCode. I participated in coding contests that lasted for hours. I watched an endless amount of YouTube videos to improve my skills.

Build a gRPC Service with REST support from an OpenAPI description.

As part of this Google Summer of Code project I had the opportunity to work with Tim and Noah (two SWE at Google) to build a tool called gnostic-grpc. This tool converts an OpenAPI v3.0 API description into a description of a gRPC service that can be used to implement that API using gRPC-JSON transcoding. gRPC services are described with the Protocol Buffers language (.proto).

With the converted description of a gRPC service you can generate your API in any programming language of your choice.

In case you need an introduction to gRPC, OpenAPI, and Protocol Buffers I recommend this

Open source coding with GSoC

Google Summer of Code (GSoC) is a global program focused on bringing more student developers into open source software development. Students work with an open source organization on a 3 month programming project during their break from school.

The summer of 2019 I spent coding for the ‘API Client Tools at Google’ organization. I was lucky enough to get chosen by my Mentors Tim Burks and Noah Dietz (software engineers at Google) for this project.

Golang and environment: Before GSoC I did not write a single line of code with Go. In the beginning, I was a bit skeptical because…

Lorenz Hofmann-Wellenhof

👨‍💻 Software Engineer at Senacor. 🇦🇹 living in Berlin 🇩🇪 . GSoC 2019 with API Client Tools at Google.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store