---
title: "Discussion on \"Compute realized volatility of a Bitcoin perpetual from public candlesticks (Python)\" | Hashnode"
description: "Discussion on \"Compute realized volatility of a Bitcoin perpetual from public candlesticks (Python)\". Pull confirmed OKX klines for BTC-USDT-SWAP, build close-to-close log returns, and annualize sample realized vol on a stated 24/7 convention."
url: "https://hashnode.com/posts/compute-realized-volatility-of-a-bitcoin-perpetual-from-public-candlesticks-python/6af8a53156dff0bb021b21b4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Compute realized volatility of a Bitcoin perpetual from public candlesticks (Python)](https://greenhaven365.hashnode.dev/compute-realized-volatility-of-a-bitcoin-perpetual-from-public-candlesticks-python?utm_source=hashnode&utm_medium=feed)

Pull confirmed OKX klines for BTC-USDT-SWAP, build close-to-close log returns, and annualize sample realized vol on a stated 24/7 convention.

3d ago · 8 min read · greenhaven365.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#bitcoin](https://hashnode.com/tag/bitcoin)
-   [#cryptocurrency](https://hashnode.com/tag/cryptocurrency)
-   [#volatility](https://hashnode.com/tag/volatility)

## Written by

[Greenhaven365](https://hashnode.com/@greenhaven365)

@greenhaven365

  
[View profile](https://hashnode.com/@greenhaven365)

Practical notes on crypto futures, funding and risk.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
