OPEN-SOURCE SCRIPT

Premium Comparison

Updated
Script to display futures premium/discount vs basis; uses Bitmex XBTUSD 10.99% as basis vs XBTM18 and XBTU18 futures , but these are configurable.
Release Notes
  • update xbt contracts to xbtu18 and xbtz18
  • thicken line of latter contract to better show difference
Release Notes
updated to current bitmex contracts xbtz18 and xbth19
discountfuturespremiumTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer