Skip to content

Instantly share code, notes, and snippets.

@hoakbuilds
hoakbuilds / 001-risk_manager.py
Created January 29, 2020 01:05
Python Script for Risk Management and Order Placement through Bitmex API
#If you enjoy using this script, I'd appreciate if you could use my
#Bitmex Referral here https://www.bitmex.com/register/x51NKV
#You save on fees and I get a little incentive to expand this tool further
#Thank you
#!/usr/bin/env python
# coding: utf-8
# In[ ]:
@hoakbuilds
hoakbuilds / pubkey_to_addr.go
Created February 28, 2019 16:52 — forked from davecgh/pubkey_to_addr.go
Example of converting a raw public key to a btcutil.Address.
package main
import (
"fmt"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcutil"
)
func main() {