I am working with stock prices data. I have the time when each trade has taken place (in the format 10:04:27 etc.) and the respective price of the stock. These two columns consist of thousands of observations. Then I summarized the number of trades that take place per minute. This column has only 450 observations. I want to plot these three things together on a chart that uses two different y axes: one for the price movement vs time and another one for the number of trades vs time. Is this possible at all since the number of observations in the columns are not equal?
Bookmarks