OPEN-SOURCE SCRIPT
Cập nhật BTC Multi Exchange Perpetual Premium

This script tracks the premium/discount of Bitcoin perpetual contracts at various exchanges.
The premium/discount is calculated against an index price. The index price is calculated from spot exchange prices and are weighted as follows:
Bitstamp:28,81%
Bittrex:5,5%
Coinbase: 38,07%
Gemini: 7,34%
Kraken: 20,28
The difference between this script and other available scripts, is that exciting script seems to only focus on one exchange. This script is also open source.
The premium/discount is calculated against an index price. The index price is calculated from spot exchange prices and are weighted as follows:
Bitstamp:28,81%
Bittrex:5,5%
Coinbase: 38,07%
Gemini: 7,34%
Kraken: 20,28
The difference between this script and other available scripts, is that exciting script seems to only focus on one exchange. This script is also open source.
Phát hành các Ghi chú
Fixed an error showing using spot instead of perpetual price.Phát hành các Ghi chú
Fixed a calculation error.Phát hành các Ghi chú
Added a few more exchanges.Added the possibility to select the reference price. Choises are Bitmex Indices (as used in previous script) and Tradingviews index. Default is the TradingView index.
Phát hành các Ghi chú
Added choice to include OKEX and Houbi exhcanges. These exchanges are on different timezones and produces irratic results on higher timeframes (12 hr and up?). These exchanges are left out by default, but can be included on lower timeframes.Also Bitmex indices are updated (still default to Tradingviews index as reference.
Phát hành các Ghi chú
Updated Bitmex IndicesPhát hành các Ghi chú
Fixed calculation errorPhát hành các Ghi chú
Updated Bitmex indices. Also, added Coinbase BTCUSD as a choice for reference price.Phát hành các Ghi chú
Updated OKX ticker in scriptUpdated Bitmex indices
Phát hành các Ghi chú
Updated BitMEX IndicesPhát hành các Ghi chú
Updated Bitmex indices (incl removal of FTX from indices)Phát hành các Ghi chú
Removed FTXPhát hành các Ghi chú
- Fixed some bugs- Updated Bitumen Indices
- Added Coinbase to plot
Phát hành các Ghi chú
Updated Bitmex Indices.Updated to Pine v6
Phát hành các Ghi chú
Updated Bitmex IndicesPhát hành các Ghi chú
Updated Bitmex indicesMã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.