This README provides steps on how to ensure that the server on which the backend will be deployed is ready. The idea is that we will try to run a dummy backend (an http service) on your server. If it runs, we can safely assume that the actual backend would run as well!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import websocket | |
import datetime | |
def ws_trades(): | |
socket = f'wss://stream.binance.com:9443/ws/ethusdt@trade' | |
def on_message(wsapp,message): | |
json_message = json.loads(message) | |
handle_trades(json_message) |
I hereby claim:
- I am ankitshubham97 on github.
- I am ankitshubham97 (https://keybase.io/ankitshubham97) on keybase.
- I have a public key ASDBKfbyIrMzuu5JtLFMwLynyE3O_LBkgB22Ve6rNOtUbQo
To claim this, I am signing this object: