Skip to content

Instantly share code, notes, and snippets.

@fpgaq
fpgaq / frac-diff_sk
Created July 29, 2022 02:51 — forked from skuttruf/frac-diff_sk
Python code for fractional differencing of pandas time series
"""
Python code for fractional differencing of pandas time series
illustrating the concepts of the article "Preserving Memory in Stationary Time Series"
by Simon Kuttruf
While this code is dedicated to the public domain for use without permission, the author disclaims any liability in connection with the use of this code.
"""
import numpy as np
import pandas as pd
@fpgaq
fpgaq / wonderland_time_machine.py
Created January 19, 2022 02:30 — forked from rishipr/wonderland_time_machine.py
Rebase Awards Tracker for Wonderland $TIME Staking (MEMO) 🧙‍♂️
'''
🐸 : Created by @rishipr_
🧙‍♂️ : Generates CSV of MEMO (staked TIME) balances every 8 hours since first MEMO transaction + overlays all non-rebase MEMO transactions
🕐 : Used to create wonderland-apy.vercel.app (historical implied APY chart)
(🎩, 🎩) : How to
1) Input your AVAX wallet address into `personal_avax_addr`, your Snowtrace API key into `snowtrace_key`, and your Moralis API key into `moralis_key`
2) Run with `python3`
🐇 : Sample output