All
FAQ
Announcements
Product documents
How do I track the cost price of my spot trades?
On the trading screen, select Settings from the top menu Proceed with the selection of Settings from the pop-up menu On the Trading mode screen, select Spot cost price type Select between Average cost price or Cumulative cost price Select from the available options under the Spot cost price type options The cost price will also be reflected on your K-line Chart and the positions menu. Cost price on the K-line chart Cost price on the positions menuPublished on 5 Sept 2024Updated on 30 Mar 202626How do I get started with OKX Trade?
For example, Uniswap uses a simple x*y= k equation to set the relationship between the particular assets held in the liquidity pools. Here, x and y represent the amount of the tokens respectively, while k is a constant. Note that Uniswap's x*y= k is just one of the mathematical formulas used by AMMs today. The equation varies with the use case. As a result of how AMMs work, there'll always be slippages in each transaction.Published on 26 Jul 2022Updated on 5 Feb 202675How do I effectively execute a trade with precision?
On the App: On the K-line chart page, select the Slider icon at the top of the chart to customize the colors, allowing you to observe market changes using a color scheme you are familiar with. On the Web: On the K-line chart page, select the Settings icon at the top of the chart to customize the colors, allowing you to observe market changes using a color scheme you are familiar with. Note: Indicator and line styles are synced across devices.Published on 21 Jun 2024Updated on 26 Mar 202667Zero-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 10 May 2023Updated on 8 Sept 2025179OKX API FAQ
The rise and fall value of the latest transaction price compared to the opening price of the K-line 24 hours ago/100% of the opening price of the K-line 24 hours ago. The above formula data can be obtained through the market interface here. What's the reason for the error message "51000 Parameter posSide error" when placing an order? You need to check the account mode first; buying and selling mode/opening and closing mode, which can be viewed here to obtain posMode.Published on 20 Sept 2024Updated on 23 Mar 2026133OKX DEX user guide (app)
Here, you can view the candlestick (K-line) chart, token overview, trading history, liquidity pool changes, and other relevant data. You can also browse trending tokens through the Explore pages.Published on 24 Aug 2023Updated on 3 Mar 20266,008
Showing 1-6 of 6 articles