@@ -489,13 +489,16 @@ def _construct_candlestick_collections(dates, opens, highs, lows, closes, market
489
489
490
490
491
491
def _construct_hollow_candlestick_collections (dates , opens , highs , lows , closes , marketcolors = None , config = None ):
492
- """Represent the open, close as a bar line and high low range as a
493
- vertical line. Same as basic candlestick, but utilizes solid and hollow candlesticks
492
+ """Represent today's open to close as a "bar" line (candle body)
493
+ and high low range as a vertical line (candle wick)
494
+
495
+ If config['type']=='hollow_and_filled' (hollow and filled candles) then candle edge and
496
+ wick color depend on PREVIOUS close to today's close (up or down), and the center of the
497
+ candle body (hollow or filled) depends on the today's open to close (up or down).
494
498
495
499
NOTE: this code assumes if any value open, low, high, close is
496
500
missing they all are missing
497
501
498
-
499
502
Parameters
500
503
----------
501
504
opens : sequence
@@ -508,7 +511,7 @@ def _construct_hollow_candlestick_collections(dates, opens, highs, lows, closes,
508
511
sequence of closing values
509
512
marketcolors : dict of colors: up, down, edge, wick, alpha
510
513
alpha : float
511
- bar transparency
514
+ bar (candle body) transparency
512
515
513
516
Returns
514
517
-------
0 commit comments