OPEN-SOURCE SCRIPT
Sushi Stock To Flow Rainbow

Hello everyone,
as always, I hope you are doing well.
To sum up:
The stock-to-flow is the number we get when we divide the total stock by the annual production (flow).
It indicates how many years are required, at the current production rate, to produce what is in the current stock.
The stock is simply the total in circulation, in our case, the number of Sushi in circulation.
On the other hand, the flow is the total number of Sushi created each year.
In our case:
- The number of new sushi issued is reduced every month
- The total number of sushi in circulation is set at 250 million
- The last reduction will take place in October 2023
The empirical formula of the stock to flow is, in our case: total number of sushi in circulation / number of sushi produced each month.
as always, I hope you are doing well.
To sum up:
The stock-to-flow is the number we get when we divide the total stock by the annual production (flow).
It indicates how many years are required, at the current production rate, to produce what is in the current stock.
The stock is simply the total in circulation, in our case, the number of Sushi in circulation.
On the other hand, the flow is the total number of Sushi created each year.
In our case:
- The number of new sushi issued is reduced every month
- The total number of sushi in circulation is set at 250 million
- The last reduction will take place in October 2023
The empirical formula of the stock to flow is, in our case: total number of sushi in circulation / number of sushi produced each month.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.