SchamBTC

XBT Contango Calculator v3

Since creating the first version of the XBT Contango Calculator, I found that the first version is good a calculating contango and backwardation in real time, however does not do a good job of capturing historical data of brief moves. Since backwardation moves are often brief, and since the first version Contango Calc was based on candlestick closes, it did not do a good job of recording the move after it occurred.

It took me a couple versions to try and fix this an eventually settled on version 3 which I have been using on my own for the last few months. You can see in the comparison chart above it does a much better job of capturing backwardation moves and extreme contango. Below is a comparison of how it performed vs. Version 1 during December futures XBTZ19


In addition I have added high/low lines that can be used to understand the amount that futures premium/discount has moved in a specific time frame. For example, the big drop Bitcoin had on September 24th, XBTZ19 went from +$273 contango to -$247 backwardation = $520 move! This move was in addition to the spot price move which was almost -$1,700 from high to low and -$1,100 from open to close. See below:


The high/low lines can also be removed from the chart by unchecking a box in the input tab.

The last update is the ability to lock the spot price to be XBT (index) no matter what chart you pull up. This can be useful if evaluation XBT futures correlation to other bitcoin derivatives such as GBTC or CME futures . You can also disable this feature in the input tab, which will then just calculate based on the current chart you are viewing.

Current Contracts (December 2019)
Blue = XBTM20
Orange = XBTH20
ملاحظات الأخبار: Update to add XBTU20 - September Futures
ملاحظات الأخبار: minor update
ملاحظات الأخبار: Updated for December futures XBTZ20
نص برمجي محمي
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
Feel free to reach out to me @SchamBTC on Twitter or Telegram.
If you like my work you can show your support buy sending a donation to the following BTC address: 3CypEdvBcvVHbqzHUt1FDiUG53U7pYWviV

التحليلات ذات الصلة

التعليقات

Hi there,
Great work!
I'm trying to get the backwardation "green" highlight to show up, I've tried changing the zero line to 100, any idea?

Cheers,
K
رد
SchamBTC BigCub
@BigCub, Backwardation doesnt happen until the indicator goes to zero or negative (Future price less than spot price). If you want to adjust the green background to give a green signal at a lower contango level then i would have to change the code. You can use the code from my first indicator v1.1 and then change the zero in the "bgcolor" line of code to whatever you like. I hope to do something similar in new indicator that i hope to release later this month. It is basically the same but will measures contango based on a percentage and will let you adjust the lower value
رد
Awesome work! I've been waiting for someone to make an indicator for backwardation/contango.
رد
Nice work!
رد
Great job!
رد
Great job sir!

What time frame do you recommend?
رد
SchamBTC donaldducck
@donaldducck, Thank you. It should work on all time frames.
رد
الصفحة الرئيسية منصة الأسهم منصًة العملات منصّة العملات الرقمية جدول الأعمال الاقتصادي حول مميزات الرسم البياني أسعار العضوية إحالة صديق قوانين الموقع مركز المساعدة حلول المواقع الإلكترونية والوسطاء الأدوات حلول الرسوم البيانية مكتبة الرسوم البيانية صغيرة الحجم المدوّنة والأخبار تويتر
ملف التعريف إعدادات الصفحة الشخصية الحساب وإعداد الفواتير الأصدقاء المُحالون العملات الافتراضية تذاكر الدعم الخاصة بي مركز المساعدة رسالة خاصة المحادثة تسجيل الخروج