Hibachi Docs
  • Hibachi Docs
    • About Hibachi
      • Key Features
    • Getting Started
      • Signing Up
      • Trading on Hibachi
      • Withdrawing From Hibachi
      • Transferring on Hibachi
      • Using Hibachi on Mobile
    • Trading
      • Limits
      • Pricing
      • Fees
      • Order Types
      • Margining
      • Risk Panel
      • Liquidations
      • Subaccounting
      • Funding
      • Insurance Fund
      • Temp Markets
    • Key Management
    • Transparency
    • API & Developer Tools
    • Design Assets
  • Hibachi Rewards
    • Points
    • Mystery Boxes
    • Referrals
    • Flame Roll Lottery
Powered by GitBook
On this page
  • Spot Price
  • Last Price
  • Mark Price
  1. Hibachi Docs
  2. Trading

Pricing

Spot Price

The spot price is the price of the underlying contract of a perpetual future contract. To calculate spot price, Hibachi finds the average price from both Pyth and Stork.

Last Price

The last price is the price of the most recent perpetual future contract traded on Hibachi. It remains very close to the Spot Price thanks to the funding mechanism.

Mark Price

The mark price is a price derived from a combination of spot prices from Pyth and Stork, the last trade price, and funding rates. Its purpose is to provide a robust and fair price for margining, P&L computation and funding rates.

MarkPrice=Median(Price1,Price2,LastTradedPrice)Mark Price = Median ( Price1, Price2, Last Traded Price)MarkPrice=Median(Price1,Price2,LastTradedPrice)
Price1=IndexPrice∗(1+LastFundingRate∗TimeUntilFunding/8)Price1 = Index Price * (1 + Last Funding Rate * Time Until Funding/8)Price1=IndexPrice∗(1+LastFundingRate∗TimeUntilFunding/8)
Price2=IndexPrice+MovingAverage(5min)Price2 = Index Price + Moving Average (5min)Price2=IndexPrice+MovingAverage(5min)
MovingAverage(5min)=MovingAverage((Bid1+Ask1)/2−IndexPrice)Moving Average (5min) = Moving Average ((Bid1 + Ask1)/2 - IndexPrice)MovingAverage(5min)=MovingAverage((Bid1+Ask1)/2−IndexPrice)

Moving Average is computed every second over a 5 min interval

PreviousLimitsNextFees

Last updated 2 months ago