All
FAQ
Announcements
Product documents
Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-STARK V1)
We accumulate user asset values one by one, and fill the result into rows where k % 8 = 7, and , which are the last rows of each block We keep floor dividing each user's total value by 4 row by row from backwards of each block. We do it to keep the user's net value non-negative by checking if the first rows are zero for each block.Published on May 10, 2023Updated on Sep 8, 2025FAQ179Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-Stark V2)
In our case, we placed the tool and the data file in the Downloads folder, named "proof-of-reserves," as shown below: Open the zk-STARKValidator; it will automatically run the sum proof data file you saved in the folder Check the result If the verification passes, the result Total sum and non-negative constraint validation passed will be shown: If the verification fails, the result Total sum and non-negative constraint validation failed will be shown: To explore more technical details, our ProofPublished on Oct 21, 2024Updated on Feb 11, 2026FAQ92What's the Spot Grid bot and how do I use it?
Grid mode: Arithmetic: maintains a consistent difference between each grid level so grid levels become (1, 1+r, 1+2r, 1+3r...). Geometric: maintains a consistent ratio between each grid level so grid levels become (1, 1*r, 1*r^2, 1+r^3...). Investment amount: this is the total amount of the selected currency the bot will use to place buy and sell orders across the grids. The maximum amount is usually the available balance in your trading account for the selected currency.Published on Oct 3, 2025Updated on Nov 17, 2025FAQ7How do I verify OKX's ownership and balance of the wallet address?
Compare the sum of address balances of a specific crypto chain at the snapshot height time with the sum of address balances in the snapshot file published by OKX to verify whether they are consistent. To query the address balance at the snapshot height, you can either configure node rpc or use OKLink's open API.How do I verify BTC specified address balance and total balance? 1.Published on Sep 26, 2023Updated on Jan 26, 2026FAQ996Recurring Buy
Backtesting of last 2 years: when the sum of the crypto allocation equals to 100%, the bot will calculate the annual percentage yield using the given parameters within 2 years timeframe. 3. Risk reminder and notes At each investment cycle, the fund will be isolated from your trading account and used independently in the Recurring buy bot. In case of insufficient funds, the Recurring buy bot will be halted until the available fund is allocated in the trading account for the next investment cycle.Published on Jun 17, 2022Updated on Apr 1, 2025Product documentationHow do I buy crypto and earn rewards?
You can earn up to $50 in BTC by following these steps: Opt in to the campaign through the app Buy $100 or more of any eligible crypto to get your first $5 in BTC reward Keep buying $100 or more for 4 more days in a row (total of 5 days) to get an additional $45 in BTC rewardWhat counts as an "eligible crypto" buy? To make sure your purchase counts toward your reward: Buy any coin except stablecoins: this offer excludes stablecoins like USDT, USDC, and USDG.Published on Dec 29, 2025Updated on Jan 29, 2026FAQ3Borrow in spot mode
Total equity = Sum (Crypto equity × Crypto price) totalEq Adjusted equity The discounted fiat value of all cryptocurrencies in the account which can be used to trade spot, and options (long positions) trading Adjusted equity = Crypto equity x Discount rate x USD price of crypto - Loss from spot orders - Estimated trading fees from all open orders. Loss from spot orders represent the decrease in adjusted equity if the orders are filled.Published on Sep 19, 2024Updated on Nov 18, 2025Product documentationQuick Margin Trading Rules
It helps the position drop below the risk threshold and avoids the liquidation threshold being reached right after certain orders are filled.Rules for order cancellation under quick margin trading:When net assets are less than the sum of the position’s maintenance margin and the initial margin for open auto borrow orders, the system will cancel all auto borrow orders for that position.Published on Nov 16, 2022Updated on Aug 15, 2025Product documentationIsolated margin mode
Rules for order cancellation in : Risk threshold: Order cancellation is triggered when the net assets in the user’s account are less than the sum of the account's maintenance margin and the initial margin for any orders that might increase the borrowed amount. Action taken: The system will cancel orders that share the same margin crypto as the position at risk. Orders that do not share the same crypto as margin will not be cancelled.Published on Jun 17, 2022Updated on Feb 9, 2026Product documentationHow do total Profit and Loss (PnL) and Grid profits work for Spot Grid?
It’s calculated by summing up all the individual profits from successful grid executions found in your transaction history. While Grid Profits gives you a clear view of how much your bot has earned from grid trading alone, it doesn’t reflect: Unrealized gains/losses from open positions Any Earn interest Trading fees not tied to grid execution Therefore, Total PnL gives a full picture of your bot’s performance. Grid Profits is meant for reference and breakdown purposes.Published on Jun 20, 2025Updated on Nov 26, 2025FAQ54Portfolio margin mode: cross-margin trading (Risk Unit Merge)
Portfolio margin considers the sum of derivatives margin under each risk unit, then adds borrowing margin to obtain the margin at the portfolio level.Published on Dec 3, 2024Updated on Dec 4, 2025Product documentationSpot and futures cross margin mode
position when they pay off the liability; Users can also choose whether to use "reduce only" when closing a position. 2) The available asset formula for closing positions: The main difference from the isolated margin: the available asset can be used for closing the position is the total asset of the isolated margin positions, while in spot and futures cross margin mode (where position assets and margin currencies are the same), the available asset that can be used for closing the position may be the sumPublished on Jun 17, 2022Updated on Nov 6, 2025Product documentationWhat is Proof of Reserves (PoR) user snapshot data?
The assets displayed on the "My Portfolio" page only include the sum of the collateral and Unrealized Profit and Loss (UPL) associated with those positions. The purchased assets and debt of the margin trading position are not included in the "My Portfolio" page but are considered in the snapshot.If there is a discrepancy between the account asset equity and the snapshot result, does it indicate whether the total value of the account is lower or higher?Published on Jan 20, 2023Updated on Apr 3, 2026FAQ495Introduction to Trading bot Mode
Backtesting of last 2 years: when the sum of the crypto allocation equals to 100%, the bot will calculate the annual percentage yield using the given parameters within 2 years timeframe. 3. Risk reminder and notes Recurring buy won't preempt other assets in your accounts. In each investment cycle, please reserve sufficient funds to avoid the failure operation.Published on Jan 9, 2023Updated on Jul 29, 2025Product documentation
Showing 1-14 of 14 articles