Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# Talk details are specified in YAML files
# YAML was selected because we can use multi-line strings and add
# comments in the file.
speaker_name: "Ankit Mittal"
talk_title: "Building your own crypto exchange in async python"
# At least 1 tag is necessary!!
talk_tags:
- "advanced"
- "asyncio"
talk_abstract: "Asyncio is a relatively mystical approach to building end to end applications. In this tutorial I will demonstrate how to build a single threaded non-blocking limit order book exchange. It will have a Rest API to accept new orders, and websockets for subscribing to updates."
# TODO: Add contents.
talk_details: |
The asyncio tutorial you have always wanted, We go beyond the world of sleeps and http requests.
I will start with few exercises on connecting to a database (redis / postgres), creating a rest API in a non blocking async
fashion. We will go over defining our crypto-token exchange, flesh out the specs. I intend to create an exchange where you
can place the orders, orders will either get executed immediately or go into the queue. You can cancel the orders,
modify them until execution. We will write a limit orderbook execution engine.
In the end, we will write a simple websocket for subscribing to market updates. During the process
I will share * how to reason about asyncio * How to debug / test async code.
Attendees will need working knowledge of Python, some idea about asyncio and a laptop with python 3.7 installed
(3.5+ will work). Apart from this we will also need Redis 5.0.
To sign up for this tutorial, [use this link](https://github.com/pyconca/2018-wiki/wiki/Tutorials/)
# Markdown is supported
about_author: 'Ankit has been using python at work for last 7 years, currently he is working at SwissBorg in their Quant Research team where he helps the team to build crypto investment tools and investment strategies.'
# web link will only show if about_author section is present
author_website: 'https://twitter.com/ankitml'