# VELA Knowledge Base

## VELA Knowledge Base

- [Platform Overview](https://docs.vela.exchange/vela-knowledge-base/exchange/platform-overview.md)
- [Account Setup](https://docs.vela.exchange/vela-knowledge-base/exchange/account-setup.md)
- [Deposit & Withdraw](https://docs.vela.exchange/vela-knowledge-base/exchange/account-setup/deposit-and-withdraw.md)
- [1-Click Trading](https://docs.vela.exchange/vela-knowledge-base/exchange/account-setup/1-click-trading.md)
- [Staking](https://docs.vela.exchange/vela-knowledge-base/exchange/staking.md)
- [$VLP](https://docs.vela.exchange/vela-knowledge-base/exchange/staking/usdvlp.md)
- [$VELA and $esVELA](https://docs.vela.exchange/vela-knowledge-base/exchange/staking/usdvela-and-usdesvela.md)
- [Rewards](https://docs.vela.exchange/vela-knowledge-base/exchange/staking/rewards.md)
- [Hyper VLP](https://docs.vela.exchange/vela-knowledge-base/exchange/staking/hyper-vlp.md)
- [Hyper VLP Legacy](https://docs.vela.exchange/vela-knowledge-base/exchange/staking/hyper-vlp/hyper-vlp-legacy.md)
- [Hyper VLP 2.0](https://docs.vela.exchange/vela-knowledge-base/exchange/staking/hyper-vlp/hyper-vlp-2.0.md)
- [Trading](https://docs.vela.exchange/vela-knowledge-base/exchange/trading.md)
- [Positions](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/positions.md)
- [Profit, Loss, and ROI](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/positions/profit-loss-and-roi.md)
- [Increase Collateral/ Leverage](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/positions/increase-collateral-leverage.md)
- [Add to Position](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/positions/add-to-position.md)
- [Triggered Orders](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/positions/triggered-orders.md)
- [Edit Triggered Orders](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/positions/edit-triggered-orders.md)
- [Close Position](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/positions/close-position.md)
- [Chart Trading](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/chart-trading.md)
- [Mobile](https://docs.vela.exchange/vela-knowledge-base/exchange/trading/mobile.md)
- [Platform Mechanics](https://docs.vela.exchange/vela-knowledge-base/exchange/platform-mechanics.md)
- [Fees](https://docs.vela.exchange/vela-knowledge-base/exchange/platform-mechanics/fees.md)
- [Price Feeds](https://docs.vela.exchange/vela-knowledge-base/exchange/platform-mechanics/price-feeds.md)
- [Risk Mitigation](https://docs.vela.exchange/vela-knowledge-base/exchange/platform-mechanics/risk-mitigation.md)
- [Tokenomics](https://docs.vela.exchange/vela-knowledge-base/exchange/tokenomics.md)
- [Restricted Countries](https://docs.vela.exchange/vela-knowledge-base/exchange/restricted-countries.md)
- [Grand Prix Trading Competition](https://docs.vela.exchange/vela-knowledge-base/community/grand-prix-trading-competition.md)
- [Credits](https://docs.vela.exchange/vela-knowledge-base/community/grand-prix-trading-competition/credits.md)
- [Missions & Streaks](https://docs.vela.exchange/vela-knowledge-base/community/grand-prix-trading-competition/missions-and-streaks.md)
- [Nitro Boost](https://docs.vela.exchange/vela-knowledge-base/community/grand-prix-trading-competition/nitro-boost.md)
- [Social Features](https://docs.vela.exchange/vela-knowledge-base/community/social-features.md)
- [Referrals](https://docs.vela.exchange/vela-knowledge-base/community/social-features/referrals.md)
- [Share Trade](https://docs.vela.exchange/vela-knowledge-base/community/social-features/share-trade.md)
- [Leaderboards](https://docs.vela.exchange/vela-knowledge-base/community/social-features/leaderboards.md)
- [AstraBit Guide](https://docs.vela.exchange/vela-knowledge-base/community/social-features/astrabit-guide.md): Interested in leveraging powerful and affordable  algorithmic trading bots with your Vela Exchange account? Look no further!
- [Previous Events](https://docs.vela.exchange/vela-knowledge-base/community/social-features/previous-events.md)
- [Pirate's Loot Trading Competition](https://docs.vela.exchange/vela-knowledge-base/community/social-features/previous-events/pirates-loot-trading-competition.md)
- [NFTs](https://docs.vela.exchange/vela-knowledge-base/community/nfts.md)
- [Resources (Links)](https://docs.vela.exchange/vela-knowledge-base/support/resources-links.md)
- [Brand Kit](https://docs.vela.exchange/vela-knowledge-base/support/brand-kit.md): Find logos, icons, and all things Vela
- [Gnosis Safe Management](https://docs.vela.exchange/vela-knowledge-base/support/gnosis-safe-management.md)
- [APIs](https://docs.vela.exchange/vela-knowledge-base/developers/apis.md)
- [The Graph API](https://docs.vela.exchange/vela-knowledge-base/developers/apis/the-graph-api.md)
- [Trade Bots API](https://docs.vela.exchange/vela-knowledge-base/developers/apis/trade-bots-api.md): This API allows you to place trades on a user's behalf using their 1CT ( one-click trading ) wallet. The user must first go to their settings page and generate an API Key and Key ID.
- [Market Maker API](https://docs.vela.exchange/vela-knowledge-base/developers/apis/market-maker-api.md)
- [Asset Pairs and VelaId](https://docs.vela.exchange/vela-knowledge-base/developers/asset-pairs-and-velaid.md)
- [Contracts](https://docs.vela.exchange/vela-knowledge-base/developers/contracts.md)
- [Arbitrum Mainnet](https://docs.vela.exchange/vela-knowledge-base/developers/contracts/arbitrum-mainnet.md)
- [Arbitrum Testnet](https://docs.vela.exchange/vela-knowledge-base/developers/contracts/arbitrum-testnet.md)
- [Base Mainnet](https://docs.vela.exchange/vela-knowledge-base/developers/contracts/base-mainnet.md)
- [Base Testnet](https://docs.vela.exchange/vela-knowledge-base/developers/contracts/base-testnet.md)
- [Contract Functions](https://docs.vela.exchange/vela-knowledge-base/developers/contract-functions.md)
- [Vault](https://docs.vela.exchange/vela-knowledge-base/developers/contract-functions/vault.md): This contract is a part of a larger system and is responsible for managing positions, orders, and tokens.
- [Position Vault](https://docs.vela.exchange/vela-knowledge-base/developers/contract-functions/position-vault.md): This contract is a position vault that manages positions and orders for a trading system. It allows users to open and close positions, execute orders, and manage collateral.
- [Liquidate Vault](https://docs.vela.exchange/vela-knowledge-base/developers/contract-functions/liquidate-vault.md): This contract is responsible for managing the liquidation of positions in a trading context. It includes several functions and events for registering and executing liquidations, as well as validating
- [Order Vault](https://docs.vela.exchange/vela-knowledge-base/developers/contract-functions/order-vault.md): The contract maintains a mapping of orders, addPositionOrders, and decreasePositionOrders, which store information about different types of orders.
- [Price Manager](https://docs.vela.exchange/vela-knowledge-base/developers/contract-functions/price-manager.md): This contract implements functionality related to managing asset prices, conversions between tokens and USD, and retrieving asset-related information.
- [Settings Manager](https://docs.vela.exchange/vela-knowledge-base/developers/contract-functions/settings-manager.md): This is a contract for Vault Settings.
- [Multicall](https://docs.vela.exchange/vela-knowledge-base/developers/contract-functions/multicall.md): This contract is designed to aggregate multiple calls into a single call, which can be useful for reducing the number of separate Ethereum calls a client needs to make. It also provides several helper
- [Audit](https://docs.vela.exchange/vela-knowledge-base/developers/audit.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vela.exchange/vela-knowledge-base/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
