From 05b22fdf6dddd2c9af212b4042fbc9f662f817af Mon Sep 17 00:00:00 2001 From: Chancellor Date: Sun, 3 Nov 2024 14:31:04 +0100 Subject: [PATCH] v1.0.3 Updated Kaspa power law parameters & price data. --- CHANGELOG.md | 5 + power_law/config/config.yaml | 22 ++-- .../data/btc/btcusd_01-08-2024_till_now.json | 104 +++++++++++++++++- .../data/eth/ethusd_01-08-2024_till_now.json | 104 +++++++++++++++++- .../data/kas/kasusd_01-08-2024_till_now.json | 104 +++++++++++++++++- setup.py | 2 +- 6 files changed, 323 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 641e653..69615b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## Version 1.0.3 (November 3rd 2024) + +- Updated price data +- Updated Kaspa power law parameters + ## Version 1.0.2 (October 13th 2024) - More restrictive setup requirements (e.g. [issue with Python 3.13](https://stackoverflow.com/a/30377257)). diff --git a/power_law/config/config.yaml b/power_law/config/config.yaml index 9690998..21c33e1 100644 --- a/power_law/config/config.yaml +++ b/power_law/config/config.yaml @@ -43,9 +43,9 @@ kas: # Kaspa recent_price_file: "kasusd_01-08-2024_till_now.json" # Kaspa genesis is at 08-11-2021, but the first half year there was no mining reward reduction yet. # Price discovery occurs around 21-07-2022, but obviously price is then already non-zero (~$0.0002) - # so the start of the power law trend lines should occur somewhere before that. It seems the start - # of the mining reward reduction results in a good fit. - epoch_timestamp: 1652047199000 # 08-05-2022 (start of Kaspa mining reward reduction) + # so the start of the power law trend lines should occur somewhere before that. It seems close to + # the start of the Kaspa mining reward reduction (08-05-2022) results in a good fit. + epoch_timestamp: 1652651999000 # 15-05-2022 (i.e. one week after the start of the mining reward reduction) price_discovery_timestamp: 1658440799000 # 21-07-2022 (start of Kaspa price discovery) plot: title: "Kaspa power law price trend" @@ -54,19 +54,19 @@ kas: # Kaspa lower_trendline: use_points: True points: - p1: [0.2026, 0.000198] - p2: [1.0349, 0.0134] + p1: [0.2026, 0.00026] + p2: [1.0349, 0.0138] formula: - k: 2.5844 - a: 1.2263e-02 + k: 2.4354 + a: 1.269e-02 upper_trendline: use_points: True points: - p1: [0.2793, 0.0032] - p2: [0.8953, 0.0408] + p1: [0.2793, 0.0037] + p2: [0.8953, 0.0435] formula: - k: 2.1852 - a: 5.1956e-02 + k: 2.1156 + a: 5.497e-02 eth: # Ethereum (the Ethereum price development doesn't follow a power law convincingly, but added for reference nonetheless) data: directory: "eth" diff --git a/power_law/data/btc/btcusd_01-08-2024_till_now.json b/power_law/data/btc/btcusd_01-08-2024_till_now.json index 881c596..7aaf017 100644 --- a/power_law/data/btc/btcusd_01-08-2024_till_now.json +++ b/power_law/data/btc/btcusd_01-08-2024_till_now.json @@ -276,7 +276,107 @@ 62133 ], [ - 1728493167747, - 61118 + 1728511015280, + 60582 + ], + [ + 1728597592603, + 60278 + ], + [ + 1728683940520, + 62452 + ], + [ + 1728770270021, + 63194 + ], + [ + 1728856799312, + 62849 + ], + [ + 1728943161089, + 66070 + ], + [ + 1729029598102, + 67061 + ], + [ + 1729115963620, + 67622 + ], + [ + 1729202397284, + 67392 + ], + [ + 1729288793204, + 68420 + ], + [ + 1729375170744, + 68359 + ], + [ + 1729461596342, + 69011 + ], + [ + 1729547977221, + 67340 + ], + [ + 1729634391935, + 67382 + ], + [ + 1729720789936, + 66601 + ], + [ + 1729807197841, + 68155 + ], + [ + 1729893591504, + 66578 + ], + [ + 1729979958167, + 67003 + ], + [ + 1730069982613, + 67938 + ], + [ + 1730156389162, + 69918 + ], + [ + 1730242766601, + 72729 + ], + [ + 1730329177856, + 72331 + ], + [ + 1730415518703, + 70231 + ], + [ + 1730501995608, + 69490 + ], + [ + 1730588393202, + 69330 + ], + [ + 1730636331026, + 68333 ] ] \ No newline at end of file diff --git a/power_law/data/eth/ethusd_01-08-2024_till_now.json b/power_law/data/eth/ethusd_01-08-2024_till_now.json index f96f3dd..23ef0ab 100644 --- a/power_law/data/eth/ethusd_01-08-2024_till_now.json +++ b/power_law/data/eth/ethusd_01-08-2024_till_now.json @@ -276,7 +276,107 @@ 2439.48 ], [ - 1728493166828, - 2411.39 + 1728511195287, + 2368.66 + ], + [ + 1728597599829, + 2384.32 + ], + [ + 1728683998869, + 2438.77 + ], + [ + 1728770395559, + 2475.79 + ], + [ + 1728856799864, + 2467.67 + ], + [ + 1728943199977, + 2628.74 + ], + [ + 1729029599262, + 2606.63 + ], + [ + 1729115997720, + 2610.54 + ], + [ + 1729202399537, + 2604.91 + ], + [ + 1729288799507, + 2641.98 + ], + [ + 1729375199693, + 2647.97 + ], + [ + 1729461599683, + 2746.22 + ], + [ + 1729547995174, + 2665.35 + ], + [ + 1729634398480, + 2620.84 + ], + [ + 1729720799333, + 2521.94 + ], + [ + 1729807195482, + 2533.99 + ], + [ + 1729893598768, + 2436.01 + ], + [ + 1729979998842, + 2479.49 + ], + [ + 1730069999950, + 2504.69 + ], + [ + 1730156399579, + 2565.66 + ], + [ + 1730242795539, + 2637.85 + ], + [ + 1730329199804, + 2658.16 + ], + [ + 1730415595901, + 2514.84 + ], + [ + 1730501997206, + 2510.27 + ], + [ + 1730588398275, + 2493.44 + ], + [ + 1730636356895, + 2447.75 ] ] \ No newline at end of file diff --git a/power_law/data/kas/kasusd_01-08-2024_till_now.json b/power_law/data/kas/kasusd_01-08-2024_till_now.json index 62fd4d6..94f348b 100644 --- a/power_law/data/kas/kasusd_01-08-2024_till_now.json +++ b/power_law/data/kas/kasusd_01-08-2024_till_now.json @@ -276,7 +276,107 @@ 0.14032 ], [ - 1728493165386, - 0.13246 + 1728511191541, + 0.13279 + ], + [ + 1728597577214, + 0.13259 + ], + [ + 1728683929425, + 0.13719 + ], + [ + 1728770383933, + 0.13265 + ], + [ + 1728856782963, + 0.13303 + ], + [ + 1728943199342, + 0.13779 + ], + [ + 1729029567109, + 0.13484 + ], + [ + 1729115921301, + 0.13111 + ], + [ + 1729202395667, + 0.12603 + ], + [ + 1729288768616, + 0.13047 + ], + [ + 1729375191050, + 0.12915 + ], + [ + 1729461594415, + 0.13308 + ], + [ + 1729547996857, + 0.12978 + ], + [ + 1729634398703, + 0.13611 + ], + [ + 1729720787668, + 0.13116 + ], + [ + 1729807199915, + 0.12935 + ], + [ + 1729893598618, + 0.11273 + ], + [ + 1729979987238, + 0.11819 + ], + [ + 1730069964108, + 0.12126 + ], + [ + 1730156387437, + 0.11911 + ], + [ + 1730242799045, + 0.11269 + ], + [ + 1730329196564, + 0.11282 + ], + [ + 1730415592843, + 0.11436 + ], + [ + 1730501997341, + 0.11659 + ], + [ + 1730588394672, + 0.11287 + ], + [ + 1730636356917, + 0.10888 ] ] \ No newline at end of file diff --git a/setup.py b/setup.py index f02ab6f..e59164f 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='pow-law', - version='1.0.2', + version='1.0.3', packages=find_packages(), include_package_data=True, url='https://github.com/Chancellor-1/power_law',