title: Plotly: How to draw vertical lines between dates in a candlestick chart?
body: <p>Take a look at the third example <a href="https://plot.ly/python/candlestick-charts/" rel="nofollow noreferrer">here</a> (in the section <em>Adding Customized Text and Annotations</em>). If you zoom in in the chart, you can see that the example inserted a vertical line on the date <code>'2007-12-01'</code>. If the date were a trading day (e.g. <code>'2007-11-29'</code>), one would have seen the vertical line go through that day's candlestick right in the middle.</p>
  
  <p><a href="https://i.stack.imgur.com/hVv71.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hVv71.png" alt="Plotly&#39;s example. Adding a v-line on a date."></a></p>
  
  <p>I want to draw a vertical line between two dates (e.g. between Nov 29 and Nov 30 - the two candlesticks just before the v-line in the above example). How can I do that?</p>