How to use data blocks
Reference Guide
Last updated
Was this helpful?
Reference Guide
Last updated
Was this helpful?
**Price Data is a special block that comes into the data category, however, does not accept any input nor it throws any output. ā Price Data can be considered as the starting point of the strategy that takes into account the price when back test or forward test is run. ā If you'd like to use real time price in your strategy then consider using the Current Price Block.
**Action block does not give any output to the users. Instead, when running in background, it instructs our services when to place an order with other meta-data (stop loss, take profit)
______________________________________________________________________ ā If you want to understand what Price Data is then please refer to this link.
A Data block [except Price Data*] produces an output of a number of list of numbers.
Since Action Block is designed only to receive Boolean values as inputs, hence an error occurs if we try to feed number(s) into it.
The correct way can be that we use indicators or patterns in between that produce boolean values as outputs which are then fed into the Action Block.
Example -