# 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
