# Hertzflow Docs

## Hertzflow Documentation

- [Welcome to HertzFlow](https://hertzflow.gitbook.io/hertzflow-docs/readme.md)
- [Market Structure](https://hertzflow.gitbook.io/hertzflow-docs/trade-on-hertzflow/market-structure.md): Trade perpetuals across crypto, forex, commodities, equities, and more.
- [Order Execution](https://hertzflow.gitbook.io/hertzflow-docs/trade-on-hertzflow/order-execution.md): Order types, price impact, slippage, and guaranteed TP/SL execution.
- [Position Management](https://hertzflow.gitbook.io/hertzflow-docs/trade-on-hertzflow/position-management.md): Monitor, adjust, and close positions — collateral, leverage, fees, and liquidation.
- [Hyper Leverage](https://hertzflow.gitbook.io/hertzflow-docs/trade-on-hertzflow/hyper-lev.md): Zero open/close fees in exchange for a profit share — Hyper Lev mode explained.
- [Risk Management](https://hertzflow.gitbook.io/hertzflow-docs/trade-on-hertzflow/risk-management.md): Best practices and strategies for managing leveraged trading risk.
- [Providing Liquidity](https://hertzflow.gitbook.io/hertzflow-docs/liquidity-provision/providing-liquidity.md): Deposit USDT into HzLP pools or HzV vaults to earn yield as the counterparty to traders.
- [Yield](https://hertzflow.gitbook.io/hertzflow-docs/liquidity-provision/yield.md): Where LP yield comes from — trading fees, borrow fees, and trader losses.
- [Risk Management](https://hertzflow.gitbook.io/hertzflow-docs/liquidity-provision/lp-risk-management.md): Understand the risks of providing liquidity and how to manage them.
- [Referral](https://hertzflow.gitbook.io/hertzflow-docs/rewards/referral.md): Invite friends to trade on HertzFlow and earn fee rebates. Your referrals get a fee discount too.
- [Leaderboard](https://hertzflow.gitbook.io/hertzflow-docs/rewards/leaderboard.md): Public trader rankings by PnL, Volume, and Win Rate.
- [Quick Start](https://hertzflow.gitbook.io/hertzflow-docs/tutorials/quick-start.md): Get set up on HertzFlow — wallet, testnet funds, and your first steps.
- [Trading](https://hertzflow.gitbook.io/hertzflow-docs/tutorials/trading.md): Step-by-step: select a market, place an order, and manage your positions.
- [Liquidity Providing](https://hertzflow.gitbook.io/hertzflow-docs/tutorials/liquidity-providing.md): Step-by-step: deposit to and withdraw from HertzFlow pools and vaults.
- [Glossary](https://hertzflow.gitbook.io/hertzflow-docs/tutorials/glossary.md): Definitions of trading, liquidity, and Growth Engine terms, plus troubleshooting.
- [Troubleshooting](https://hertzflow.gitbook.io/hertzflow-docs/tutorials/troubleshooting.md)
- [Overview](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/overview.md): Architecture, oracle design, and integration entry points for developers.
- [Smart Contract](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/smart-contract.md): HertzFlow is built on a modular smart contract architecture deployed on BNB Smart Chain.
- [Reader Contract](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/smart-contract/reader-contract.md): The Reader contract provides read-only functions to query protocol state, market data, and position information.
- [ExchangeRouter](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/smart-contract/exchangerouter.md): The ExchangeRouter is the primary entry point for user interactions with the HertzFlow protocol.
- [API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api.md): HertzFlow provides REST APIs for accessing market data, prices, and historical trading information.
- [Market List API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/market-list-api.md): List all markets with leverage limits, open interest, and 24h stats.
- [Latest Price API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/latest-price-api.md): Current price and 24h high/low/open/volume for every market.
- [User Activity API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/user-activity-api.md): Cursor-paginated trade and position history for a wallet.
- [Kline (Candlestick) API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/kline-candlestick-api.md): Retrieve historical candlestick/OHLC data for tokens.
- [HertzFlow SDK](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/hertzflow-sdk.md): SDK
- [Overview](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/hertzflow-sdk/overview.md): The HertzFlow SDK is a comprehensive TypeScript SDK designed for interacting with the HertzFlow protocol on BNB Smart Chain.
- [Risk Mitigations](https://hertzflow.gitbook.io/hertzflow-docs/security/risk-mitigations.md)
- [Privacy Policy](https://hertzflow.gitbook.io/hertzflow-docs/legal/privacy-policy.md)
- [HertzFlow Terms of Use](https://hertzflow.gitbook.io/hertzflow-docs/legal/hertzflow-terms-of-use.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
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://hertzflow.gitbook.io/hertzflow-docs/readme.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
