Skip to content

Instantly share code, notes, and snippets.

View brendan-mccaffrey's full-sized avatar
📈
Focusing

Brendan McCaffrey brendan-mccaffrey

📈
Focusing
View GitHub Profile
# CODE TO CALCULATE THE SPREAD AT A GIVEN DEPTH ON ALL CCXT EXCHANGES
# CREDIT TO @stalequant
# Python code by https://x.com/PythonLearnGang he is happy to help troubleshoot errors
import asyncio
import ccxt.pro
import matplotlib.pyplot as plt
import nest_asyncio
import numpy as np
@andrekorol
andrekorol / ensDomainTransfer.js
Last active July 19, 2023 05:35
Flashbots ENS domain transfer
const hre = require('hardhat');
const { map } = require('underscore');
require('dotenv').config();
const {
FlashbotsBundleProvider,
} = require('@flashbots/ethers-provider-bundle');
const ENS = require('./ENSABI.json');