This guide explains how to set up DNS over HTTPS (DoH) on a Linux system using cloudflared. DoH ensures that your DNS queries are encrypted and secure, protecting your online privacy and preventing third-party monitoring of your internet activity.
This file contains hidden or 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
| # This is my implmentation of calculating Global Average Symmetric Price (GASP) as it's mentioned in this video: https://www.youtube.com/watch?v=wpmTuNvGQjQ | |
| # Presenter in the video doesn't explain briefly how to calculate the GASP, but, I kinda figured it out myself | |
| order_book = { | |
| 'bids': [ | |
| [97, 0.1], | |
| [96, 0.2], | |
| [95, 6] | |
| ], |