I am not assuming a constant PPC price. All we have for NBR buyback and PPC reserve ops are spot prices of BTC and PPC. We have been doing buybacks based on spot prices. There was no assumption of constant prices.
What is a âfull standard of peercoin purchasesâ? I assume âstandardâ here mean
This was not in the motion and is your interpretation. Not that is necessarily bad, but itâs important to understand.
No one wants to design a stable dynamic price here. The motion says that the PPC reserve should be 5% of all circulating Nubits and that is how would I program my PPC ops calculator. The PPC reserve executor has room to set some parameters, but buying âa full standard of peercoin purchases even when ppc is just a hair under the filling thresholdâ, if not countered by an over-reaction in the opposite direction, seem to leave the reserve in an over-filled status on average.
If buying a full Standard is because you donât want to do the calculation, then the calculator can help â it will give you a numer of PPC to sell or BTC to buy PPC for the week and that is it.
For example, in this test case (round numbers are chosen to make it easy to verify)
# testing# parameters
circNBT=800000
ppcReserve=93000
nuSafe=30000
bp=400 # BTC price in USD
pp=0.0010 # PPC price in BTC
# total T4 btc buyside
echo 300 > templist
The output is
Tier 4 buy side funds total 300.000000 BTC, 93000.000000 PPC, and $30000.000000, valued $187200.000000 (468.000000 BTC)
Of the 800000.000000 NBT in circulation, 15.00 percent (120000.000000 NBT) plus NuSafe are reserved and excluded from the share buyback calculation (375.000000 BTC).
468.000000 - 375.000000 = 93.000000 BTC in the share buyback pool.
The Standard is 5.00 percent of this, 4.6500 BTC (equivalent to approximately 1860.00 USD)
4.6500 BTC (~1860.00 USD) will be used for share buyback next week, subject to a $2500 threshold.
PPC reserve (93.000000 BTC) is less than 5.00 percent of all circulating NBT by 7.000000 BTC,. 5.00 percent of buyback pool 4.6500 BTC (equivalent to approximately 1860.00 USD) will be used to buy PPC to fill PPC reserve.
You can see that the Standard is less than needed to fill the reserve, so all 4.65BTC of the Standard is used.
In the next case on the other hand, ppcReserve has more fund than before (97k instead of 93k), but still not full, at current BTC and PPC prices,
circNBT=800000
ppcReserve=97000
nuSafe=30000
bp=400 # BTC price in USD
pp=0.0010 # PPC price in BTC
# total T4 btc buyside
echo 300 > templist
the output is
Tier 4 buy side funds total 300.000000 BTC, 97000.000000 PPC, and $30000.000000, valued $188800.000000 (472.000000 BTC)
Of the 800000.000000 NBT in circulation, 15.00 percent (120000.000000 NBT) plus NuSafe are reserved and excluded from the share buyback calculation (375.000000 BTC).
472.000000 - 375.000000 = 97.000000 BTC in the share buyback pool.
The Standard is 5.00 percent of this, 4.8500 BTC (equivalent to approximately 1940.00 USD)
4.8500 BTC (~1940.00 USD) will be used for share buyback next week, subject to a $2500 threshold.
PPC reserve (97.000000 BTC) is less than 5.00 percent of all circulating NBT by 3.000000 BTC,. 3.0000 BTC (equivalent to approximately 1200.00 USD.) will be used to buy PPC to fill PPC reserve.
The Standard has more fund (4.85BTC) than needed (3BTC), so 3BTC is allocated to buy PPC.