# How to use current price blocks

### Reference Guide <a href="#h_dcdffdc8ce" id="h_dcdffdc8ce"></a>

\*\**Price Data is a special block from the data category, however, it does not accept any input nor it throws any output.*\
\&#xNAN;*​*\
\&#xNAN;*Price Data can be considered as the starting point of the strategy that takes into account the price when backtest or forward test is run.*\
\&#xNAN;*​*\
\&#xNAN;*If you'd like to use real-time price in your strategy then consider using the Current Price Block instead.*

*\*\*Action block does not give any output to the users. Instead, when running in the background, it instructs our services when to place an order with other meta-data (stop loss, take profit)*

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Remember not to confuse the Price Data with the Current Price block. Since both are different, hence you will see a Price Data error in your strategy.

Before we understand how to utilise current price, lets learn what Price Data actually is:

#### What is Price Data? <a href="#h_cebcca5355" id="h_cebcca5355"></a>

Price Data - simply is the starting point of the strategy. It is not the current price, rather, a list of prices of historical data that are fed into the strategy while backtesting.

#### &#x20; How do I use the Current Price in my Strategy? <a href="#h_bcd9b3d8bd" id="h_bcd9b3d8bd"></a>

If you want to consider the latest price in your Strategy, then you'd have to use the Current Price block. The current Price block gives you the real-time value of that instrument at a particular point in time

Example usage:

Place a Buy order whenever the Current Price is higher than 0.2


---

# Agent Instructions: 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:

```
GET https://trylevel2.gitbook.io/getting-started/trading-glossary/how-to-use-current-price-blocks.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.
