MCPcopy Index your code
hub / github.com/plotly/plotly.py / add_candlestick

Method add_candlestick

plotly/graph_objs/_figure.py:2303–2727  ·  view source on GitHub ↗

Add a new Candlestick trace The candlestick is a style of financial chart describing open, high, low and close for a given `x` coordinate (most likely time). The boxes represent the spread between the `open` and `close` values and the lines represent the spr

(
        self,
        close=None,
        closesrc=None,
        customdata=None,
        customdatasrc=None,
        decreasing=None,
        high=None,
        highsrc=None,
        hoverinfo=None,
        hoverinfosrc=None,
        hoverlabel=None,
        hovertemplate=None,
        hovertemplatefallback=None,
        hovertemplatesrc=None,
        hovertext=None,
        hovertextsrc=None,
        ids=None,
        idssrc=None,
        increasing=None,
        legend=None,
        legendgroup=None,
        legendgrouptitle=None,
        legendrank=None,
        legendwidth=None,
        line=None,
        low=None,
        lowsrc=None,
        meta=None,
        metasrc=None,
        name=None,
        opacity=None,
        open=None,
        opensrc=None,
        selectedpoints=None,
        showlegend=None,
        stream=None,
        text=None,
        textsrc=None,
        uid=None,
        uirevision=None,
        visible=None,
        whiskerwidth=None,
        x=None,
        xaxis=None,
        xcalendar=None,
        xhoverformat=None,
        xperiod=None,
        xperiod0=None,
        xperiodalignment=None,
        xsrc=None,
        yaxis=None,
        yhoverformat=None,
        zorder=None,
        row=None,
        col=None,
        secondary_y=None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

2301 return self.add_trace(new_trace, row=row, col=col, secondary_y=secondary_y)
2302
2303 def add_candlestick(
2304 self,
2305 close=None,
2306 closesrc=None,
2307 customdata=None,
2308 customdatasrc=None,
2309 decreasing=None,
2310 high=None,
2311 highsrc=None,
2312 hoverinfo=None,
2313 hoverinfosrc=None,
2314 hoverlabel=None,
2315 hovertemplate=None,
2316 hovertemplatefallback=None,
2317 hovertemplatesrc=None,
2318 hovertext=None,
2319 hovertextsrc=None,
2320 ids=None,
2321 idssrc=None,
2322 increasing=None,
2323 legend=None,
2324 legendgroup=None,
2325 legendgrouptitle=None,
2326 legendrank=None,
2327 legendwidth=None,
2328 line=None,
2329 low=None,
2330 lowsrc=None,
2331 meta=None,
2332 metasrc=None,
2333 name=None,
2334 opacity=None,
2335 open=None,
2336 opensrc=None,
2337 selectedpoints=None,
2338 showlegend=None,
2339 stream=None,
2340 text=None,
2341 textsrc=None,
2342 uid=None,
2343 uirevision=None,
2344 visible=None,
2345 whiskerwidth=None,
2346 x=None,
2347 xaxis=None,
2348 xcalendar=None,
2349 xhoverformat=None,
2350 xperiod=None,
2351 xperiod0=None,
2352 xperiodalignment=None,
2353 xsrc=None,
2354 yaxis=None,
2355 yhoverformat=None,
2356 zorder=None,
2357 row=None,
2358 col=None,
2359 secondary_y=None,
2360 **kwargs,

Callers

nothing calls this directly

Calls 2

add_traceMethod · 0.95
CandlestickClass · 0.90

Tested by

no test coverage detected