완료

plotly candlestick in python

Montei um gráfico de candlestick usando o plotly e gostaria de saber se é possível criar em cima desse gráfico, se baseando na coluna flag que contém o número 1, um retângulo que sobrepõe os candlesticks. e mudar as cores desses candles.

Segue o exemplo do código, mais 3 imagens. A tabela que o código gera, o gráfico que o código gera e o grafico esperado.

-Exemplo do código.

import pandas as pd

import plotly.graph_objects as go

df = [login to view URL]({"data_minu": ['30/10 09:00','30/10 09:05','30/10 09:10','30/10 09:15','30/10 09:20','30/10 09:25','30/10 09:30','30/10 09:35','30/10 09:40','30/10 09:45'],`insira o código aqui`

"Open":['10','17','23','20','8','22','24','25','29','22'],

"High":['21','27','25','29','24','27','28','32','29','25'],

"Low":['6','12','18','9','5','8','24','18','15','10'],

"Close":['17','24','22','10','21','25','26','30','18','10'],

"Flag": ['0','1','1','1','0','1','1','1','0','0']})

fig = [login to view URL](data=[[login to view URL](x=df['data_minu'],

open=df['Open'], high=df['High'],

low=df['Low'], close=df['Close'])

])

fig.update_layout(xaxis_rangeslider_visible=False)

[login to view URL]()

기술: Python, 소프트웨어 아키텍처

확대 보기: plotly dashboard python, mt 18:23-35, matthew 18:23-35 parable, matthew 18:23-35 nrsv, matthew 18 23-35 unforgiving servant, matthew 18 23-35 commentary, matthew 18:23-35, matthew 18:23-35 summary, pulpit commentary on isaiah 28 23 29, isaiah 28 23-28 meaning, isaiah 28:23 kjv, isaiah 28:23-29 commentary, plotly documentation python, plotly csv python, plotly candlestick python, plotly sankey python, plotly maps python, isaiah 28 23-29 nkjv, 22nd term 28 23 18 13, install plotly dash python

고용주 소개:
( 0건의 리뷰 ) Brazil

프로젝트 ID: #22226800

수상자:

mariosfish

Hi! My name is Marios. I have a Master Degree in Applied Informatics and for the past two years I work on projects using pandas matplotlib, seaborn, plotly and general with machine learning. I saw your project and your 더 보기

$30 USD (1일 이내)
(0건의 리뷰)
0.0

이 프로젝트의 입찰 현황은 다음과 같습니다. 입찰자: 2명, 평균 입찰가: $40

dinhfreedom

Dear sir. Your project attracted my attention at first glance, because I've extensive experience in python programming. I'm really confident about your project, and very eager to join your project. If we have a chance 더 보기

$50 USD (1일 이내)
(40 리뷰)
5.9