Pricing and corporate actions

StockPriceSource reads Atlas feeds and applies one standard for valuation and liquidation and a stricter one for new borrowing. USDT is priced by Chainlink.

Valuation and liquidation price

Health and liquidation read the live Atlas round when all of these hold.

  • The round is under 24 hours old.
  • The price is inside a fixed price band for the stock.
  • The multiplier matches the one from the last accepted price.
  • The stock is not in CORP_ACTION.

A large move within the permitted price band can affect valuation as soon as it appears in the feed. Atlas bStock feeds quote per raw token and have 8 decimals.

Price for new borrowing

New borrowing requires the latest stock feed price and timestamp to match the accepted values. The round can be at most 2 hours old. The configured reporter or admin can call refresh() to accept a new round that passes the checks. A move greater than 20% from the accepted price requires the admin to accept a fresh reference with acceptReference().

USDT and a second source

Chainlink’s USDT/USD feed prices USDT. A round over an hour old stops new borrowing. Valuation accepts valid rounds up to 24 hours old.

The BNB Chain configuration uses Atlas for all five bStocks. An optional second feed can cross-check Atlas for new loans. Liquidations use the primary feed. The APRO module for TSLAB, NVDAB, QQQB and SPCXB requires APRO to allowlist Blue’s contracts.

Splits and UI units

Displayed balance equals raw balance × the display multiplier. In a 2-for-1 split, a $200 UI share becomes $100 and the multiplier doubles, while the raw balance and the per-raw-token value stay the same. A changed multiplier stops pricing until the admin accepts a round that reflects it. The keeper sets CORP_ACTION ahead of an announced split so a feed-first update is not read as a crash.

Source references