> For the complete documentation index, see [llms.txt](https://docs.deryve.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.deryve.xyz/platform/price-data-and-charts.md).

# Price data and charts

Deryve prioritizes Lighter’s mark price for tradable markets. This is the price used for position valuation and settlement calculations.

### Price sources

| Source label | Meaning                       | Trading availability                |
| ------------ | ----------------------------- | ----------------------------------- |
| `lighter`    | Live mark price from Lighter  | Available when the market is active |
| `coingecko`  | Informational crypto fallback | Not sufficient for execution        |

The 24-hour change, high, and low derive from recent hourly observations. CoinGecko can supplement informational crypto display when Lighter data is unavailable.

### Funding

Funding transfers value between longs and shorts every hour.

* **Positive funding:** longs pay shorts.
* **Negative funding:** shorts pay longs.
* **Displayed rate:** review each market’s current rate before holding a position.

Funding is a carrying cost or credit. It can materially affect longer-held leveraged positions.

### Chart selection

Deryve uses the best available chart source for each market.

1. **On-chain pool chart** for verified Robinhood Chain liquidity pools.
2. **Exchange chart** for assets with a reliable listed-market symbol.
3. **Synthetic OHLCV chart** for markets without an exchange chart.

Synthetic candles derive from Lighter’s hourly price series. They support 1H, 4H, and 1D aggregation. Their volume may be unavailable.

### Interpreting synthetic candles

Synthetic candles are useful for trend, range, and indicator analysis. They are not a replacement for complete order-flow data. Confirm liquidity and mark-price availability before execution.

{% hint style="info" %}
The market card’s source label identifies whether a displayed price is execution-grade or informational.
{% endhint %}


---

# 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 that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.deryve.xyz/platform/price-data-and-charts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
