# Determining Sugar levels (price)

## Methodology

We studied several medical histories (datasets) from recent years to determine striking prices for stable coins fixed at $1. Using data from medical insurance vaults for stable coins, we calculated optimal strike prices and expiry dates for low, medium, and high risk scenarios using a variety of variables.&#x20;

The following is an outline of the steps we took: Standard deviations for USDC, BUSD, DAI, USDT, and FEI are calculated.&#x20;

Determine the daily variations from the mean ($1) while removing any outliers.&#x20;

Determine the frequency with which the variance threshold is breached at various indicators (10bp, 20bp, 30bp, etc)&#x20;

Determine optimal strike prices that balance the motivations of all parties involved.

## Determining the Sugar strike levels (prices)

In the present system, each stable coin is assigned three strikes:

the "riskiest" strike, with a breach projected every three months.&#x20;

a "medium risk" strike, characterized as a breach every 18 months.&#x20;

a "low risk" attack that represents black swan occurrences.

These are the lowest yielding yet give security against unforeseen occurrences during the lifespan of a stable coin. To compute the striking prices, we assume that price variances from $1 are independent and identically distributed (i.i.d) random variables. More information on the assumptions and statistical components may be found in our technical whitepaper.&#x20;

*Strike Price Formula:*&#x20;

$$
X\_i=X(s\_i)=|s\_1-1|\*10^4
$$

&#x20;                                         where $$s\_i$$ is the stable coin price at a given time $$t\_i$$&#x20;

It is well known that in times of mass de collateralization spirals, these variables become correlated, and the i.i.d assumption does not hold. To alleviate this restriction and ensure our data is accurately distributed, we assume that the discrete-time series of stable coin prices are sampled from a "continuous" (block-by-block) series $$\hat{S}$$.

$$
s\_i = {\hat{s\_j} \in \hat{S}|\smash{\displaystyle\max\_{\hat{s\_j}\in \hat{S}}} X\_i  }
$$

where we assume that any correlation spirals happen within each interval, $$\Delta t=t\_i-t\_{i-1}$$

Each strike $$K\_{k \in {1,2,3}}$$ has an associated rate $$r\_k$$, defined as the probability that the strike is breached within a given $$\Delta t$$. The rate is calculated using an indicator function from the discrete-time series $$S=\cup s\_i$$, as&#x20;

$$
r\_k =\sum\_{i=1}^{n}\frac{\mathbb{1}\_{X\_i>K\_k}}{n}
$$

and can be used in a binomial distribution to find the probability $$P\_k$$ of a particular strike being breached within a given month:&#x20;

$$
P\_k= (1-r\_k)^{d\times f}
$$

where $$f$$ is the sampling frequency and $$d$$ is the number of days in a given epoch.&#x20;

The equation above is solved for each $$r\_k$$ on the interval $$(0,1) \in \mathbb{R}$$ given the desired values of $$P\_k$$. This is done by using a variety of root-finding algorithms. Once $$r\_k$$ is determined, the set of all $$X\_i$$ can be iterated through for varying strikes until an appropriate $$K$$ is found. For the cases, $$K\_1$$and $$K\_2$$, each $$P\_k$$, is $$\frac{1}{3}$$ and $$\frac{1}{18}$$, respectively.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sugar-yield.gitbook.io/sugaryield/product/pre-diabetes/determining-sugar-levels-price.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
