Primer - python - candlestick

hello,



in section 5 unit 22 primer:

Remember:

  1. If the opening price is greater than the closing price then a green candle stick has to be created to represent the day.
  2. If the opening price is less than the closing price then a red candlestick is to be created to represent the day.
  3. We will use 'inc' and 'dec' as the variables to capture these two patterns in the code
number 1 and 2 are not supposed to be the reverse?

please clarify.

thank you.
 

Check out these resources:



Candlestick chart - Wikipedia



Robinhood Support



I really like how Robinhood lays out questions and answers. Really understandable.

 

yeap… so section 5 unit 22 primer has an inverted situation?

Yes, that’s inverted. We will update it in the notebook. Thanks for the feedback.

thank you :slight_smile: