-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tommy garch patch 1 #156
Tommy garch patch 1 #156
Conversation
…data_for_trades.md
@TommyGarch is attempting to deploy a commit to the dYdX Trading Team on Vercel. A member of the Team first needs to authorize it. |
pages/Architecture/indexer.md
Outdated
@@ -0,0 +1,102 @@ | |||
# Indexer Deep Dive | |||
|
|||
A good way to think about the indexer is as similar to Infura or Alchemy’s role in the Ethereum ecosystem. However, unlike Infura/Alchemy, and like everything else in dYdX v4, the Indexer is completely open source and can be run by anyone! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "in dYdX v4" to "with dYdX Chain"
pages/Architecture/indexer.md
Outdated
|
||
### What is the Indexer? | ||
|
||
As part of tooling for the dYdX ecosystem, we want to ensure that clients have access to performant data queries when using the dYdX v4 exchange. Cosmos SDK Full Nodes offer a number of APIs that can be used to request on-chain data. However, these Full Nodes are optimized for committing and executing blocks, not for serving high frequency, low-latency requests from web/mobile clients. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace "when using dYdX v4 exchange" with "when using exchanges running on dYdX Chain software"
pages/Architecture/indexer.md
Outdated
|
||
Comlink is an API server that will expose REST API endpoints to read both on-chain and off-chain data. For example, a user could request their USDC balance or the size of a particular position through Comlink, and would receive a formatted JSON response. | ||
|
||
As an explicit goal set out by the dYdX team, we’re designing v4 APIs to closely match the [v3 exchange APIs](https://dydx.exchange/blog/v4-deep-dive-indexer#:~:text=closely%20match%20the-,v3%20exchange%20APIs,-.%20We%20have%20had). We have had time to gather feedback and iterate on these APIs over time with v3, and have confidence that they are reasonable at the product-level. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete "exchange" in "v3 exchange APIs"
pages/FAQ.md
Outdated
@@ -0,0 +1,7 @@ | |||
# FAQ Documentation | |||
|
|||
Since the inception of v4, we have been compiling a list of relevant questions and answers that are asked by MMs/Trading Firms on Telegram. We turned this list into a live _v4 Telegram Questions_ document, which should be able to answer many of your more nuanced questions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace "v4" with "dYdX Chain" , change "relevant questions and answers that are asked by MMs/Trading Firms on Telegram," to "questions and answers from users related to technical support" - take "v4 Telegram" out of doc title and call it "User Support Questions" or something
|
||
<img width="639" alt="Screenshot 2024-03-29 at 2 34 06 PM" src="https://github.com/dydxprotocol/v4-documentation/assets/130097657/19bc0173-0d79-473f-b88a-f99b72c7065a"> | ||
|
||
In dYdX trading, quantities and prices are represented in quantums (for quantities) and subticks (for prices), which need conversion for practical understanding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add "Chain" after dYdX
|
||
Result: Determined if this is a buy or a sell | ||
|
||
2. Next, look at column N. The perpetual_id is 7, which maps to AVAX-USD market. You can see all the mappings from this endpoint https://indexer.dydx.trade/v4/perpetualMarkets where the clobPairId is the perpetual_id. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the mapping for the DOS mainnet? If so would add "for the dYdX Chain deployment by dYdX Operations Services Ltd." after "all of the mappings"
@@ -0,0 +1,7 @@ | |||
# FAQ Documentation | |||
|
|||
Since the inception of dYdX Chain, we have been compiling a list of questions and answers from users related to technical support. We turned this list into a live _v4 Telegram Questions_ document, which should be able to answer many of your more nuanced questions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "Telegram" to "User Support"
No description provided.