### Querying Documentation via HTTP GET Source: https://docs.variational.io/omni/trading/funding-rates Demonstrates how to query the documentation dynamically by performing an HTTP GET request with an 'ask' query parameter. ```http GET https://docs.variational.io/omni/trading/funding-rates.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/token/usdvar Perform an HTTP GET request on the current page URL with the `ask` query parameter to dynamically query the documentation. The question should be specific and self-contained. ```http GET https://docs.variational.io/token/usdvar.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/technical-documentation/api Demonstrates how to query this documentation dynamically by performing an HTTP GET request with an 'ask' query parameter. Use this mechanism when the answer is not explicitly present, for clarification, or to retrieve related sections. ```http GET https://docs.variational.io/technical-documentation/api.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/technical-documentation/audits Perform an HTTP GET request to the current page URL with the 'ask' query parameter to dynamically query documentation. Use this for questions not explicitly answered on the page or for clarification. ```http GET https://docs.variational.io/technical-documentation/audits.md?ask= ``` -------------------------------- ### Query Documentation with a Question Source: https://docs.variational.io/variational-protocol/key-concepts/margin Use this method to get direct answers and relevant excerpts from the documentation by performing an HTTP GET request with an 'ask' parameter. ```http GET https://docs.variational.io/variational-protocol/key-concepts.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/technical-documentation Use this method to dynamically query the documentation. Perform an HTTP GET request on the current page URL with the 'ask' query parameter. The question should be specific, self-contained, and written in natural language. The response will contain a direct answer and relevant excerpts. ```HTTP GET https://docs.variational.io/technical-documentation.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/token Use this method to dynamically query the documentation. Perform an HTTP GET request on the current page URL with the `ask` query parameter. The question should be specific, self-contained, and written in natural language. ```http GET https://docs.variational.io/token.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/variational-protocol Perform an HTTP GET request to query the documentation dynamically. Use the 'ask' query parameter with a specific, natural language question. The response includes a direct answer and relevant excerpts. ```HTTP GET https://docs.variational.io/variational-protocol.md?ask= ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.variational.io/more Perform an HTTP GET request to the current page URL with the 'ask' query parameter to get dynamic answers from the documentation. Use this for clarifications or to retrieve related sections when information is not explicitly present. ```http GET https://docs.variational.io/more.md?ask= ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.variational.io/variational-protocol/key-concepts/trading-via-rfq To get information not directly on the page, perform an HTTP GET request with an 'ask' query parameter. The question should be specific and in natural language. ```http GET https://docs.variational.io/variational-protocol/key-concepts/trading-via-rfq.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/more/media-kit Perform an HTTP GET request to the current page URL with the 'ask' query parameter to dynamically query the documentation. Use this for specific questions, clarifications, or to retrieve related documentation sections when information is not explicitly present. ```http GET https://docs.variational.io/more/media-kit.md?ask= ``` -------------------------------- ### Querying Documentation with 'ask' Parameter Source: https://docs.variational.io/omni/rewards/referrals Perform an HTTP GET request to a documentation URL with the 'ask' query parameter to dynamically query for information. The question should be specific and in natural language. Use this to get answers not explicitly present on the page or to retrieve related documentation. ```HTTP GET https://docs.variational.io/omni/rewards/referrals.md?ask= ``` -------------------------------- ### Query Documentation with a Question Source: https://docs.variational.io/variational-protocol/key-concepts/take-profit-and-stop-loss Use this GET request to query the documentation index with a specific question. The response will include a direct answer and relevant excerpts. ```http GET https://docs.variational.io/omni/trading/take-profit-and-stop-loss.md?ask= ``` -------------------------------- ### Querying Documentation Dynamically Source: https://docs.variational.io/omni/trading/margin To get information not explicitly on the current page, perform an HTTP GET request to the page URL with an 'ask' query parameter. The question should be specific and self-contained. This is useful for clarifications or retrieving related documentation. ```http GET https://docs.variational.io/omni/trading/margin.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/omni/getting-started-with-omni Use this method to ask questions about the documentation when information is not explicitly present. The question should be specific and self-contained. ```http GET https://docs.variational.io/omni/getting-started-with-omni.md?ask= ``` -------------------------------- ### Ask a Question via HTTP GET Source: https://docs.variational.io/variational-pro/about-pro Use this method to query the documentation index for specific information. Append your question to the 'ask' parameter in the URL. ```http GET https://docs.variational.io/pro/about-pro.md?ask= ``` -------------------------------- ### Numerical Example: Premium Calculation Source: https://docs.variational.io/omni/trading/funding-rates Step 2 of the numerical example, calculating the premium. ```plaintext premium = $100 / $10,000 = 0.01 ``` -------------------------------- ### Numerical Example: Funding Rate Calculation Source: https://docs.variational.io/omni/trading/funding-rates Step 3 of the numerical example, calculating the final funding rate. ```plaintext Funding Rate (F) = 0.01 + clamp(0.00001 - 0.01, -0.0005, 0.0005) = 0.01 + clamp(-0.00999, -0.0005, 0.0005) = 0.01 - 0.0005 = 0.0095 ``` -------------------------------- ### Numerical Example: Impact Price Difference Source: https://docs.variational.io/omni/trading/funding-rates Step 1 of the numerical example, calculating the impact price difference. ```plaintext impact_price_difference = max($10,100 - $10,000, 0) - max($10,000 - $10,200, 0) = max($100, 0) - max(-$200, 0) = $100 - $0 = $100 ``` -------------------------------- ### Querying Documentation Dynamically Source: https://docs.variational.io/omni/trading/market-limit-and-trigger-orders To get additional information not directly present on a page, perform an HTTP GET request with the 'ask' query parameter. The question should be specific and self-contained. ```http GET https://docs.variational.io/omni/trading/market-limit-and-trigger-orders.md?ask= ``` -------------------------------- ### Query Documentation with 'ask' Parameter Source: https://docs.variational.io/variational-protocol/key-concepts/variational-oracle Perform an HTTP GET request to query documentation dynamically. Use this when the answer is not explicitly present, requires clarification, or you want to retrieve related documentation sections. ```http GET https://docs.variational.io/variational-protocol/key-concepts/variational-oracle.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.variational.io/technical-documentation/bug-bounties Use this method to retrieve specific information not explicitly present on the page, to ask for clarification, or to get related documentation. The question should be specific and self-contained. ```http GET https://docs.variational.io/technical-documentation/bug-bounties.md?ask= ```