Skip to content

Instantly share code, notes, and snippets.

@phfr
phfr / hyperliquid-chart.py
Created December 9, 2023 15:03
hyperliquid historic funding
import matplotlib.pyplot as plt
from datetime import datetime
from hyperliquid.info import Info
import math
def plot_funding_history(coin, ax):
info = Info(skip_ws=True)
response = info.funding_history(coin=coin, startTime=1681923833000)