-
Notifications
You must be signed in to change notification settings - Fork 669
Closed
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requestedreleasedcode merged into repo AND released to Pypicode merged into repo AND released to Pypi
Description
Hi - this is a great package. Thanks for the work on it.
Is it possible to have two ohlc plots? I've setup an ohlc chart on panel 0. But when I try to create an ohlc chart on panel1, I get an error that there's no candle type on the addplot?
Is the ohlc limited to main chart in panel 0?
Sorry if I missed it in the documentation somewhere.
C:\ProgramData\Anaconda3\lib\site-packages\mplfinance\plotting.py in make_addplot(data, **kwargs)
735 raise TypeError('Wrong type for data, in make_addplot()')
736
--> 737 config = _process_kwargs(kwargs, _valid_addplot_kwargs())
738
739 # kwarg `type` replaces kwarg `scatter`
C:\ProgramData\Anaconda3\lib\site-packages\mplfinance\_arg_validators.py in _process_kwargs(kwargs, vkwargs)
230 import inspect
231 v = inspect.getsource(vkwargs[key]['Validator']).strip()
--> 232 raise TypeError('kwarg "'+key+'" validator returned False for value: "'+str(value)+'"\n '+v)
233
234 # ---------------------------------------------------------------
TypeError: kwarg "type" validator returned False for value: "candle"
'Validator' : lambda value: value in valid_types },
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requestedreleasedcode merged into repo AND released to Pypicode merged into repo AND released to Pypi