Interactive Brokers API automated trading with python and C++, canndlestick patterns

I wonder if there some way to use IBpy for canndlestick patterns. There are functions like "get historical data" etc but they dont return nothing and just output data to concole.
I have a few algorithms I backtested in tradingviews Pine Script and they wotked very well so I decided to try to test it on IB paper account.
Pine Script is very simple to use and there are possibilities to get current and previous bar data like "open", "close" etc easily.
Is there are some ways to get same data in IB API?
For example I wont to place order when low of current bar lower than low of previous bar.
If you have some ideas C++ or Pythom is ok.

Source: Windows Questions C++

LEAVE A COMMENT