Questions tagged [cufflinks]

49 questions
0
votes
1 answer

Cufflinks - misplaced annotations on OHLC chart

The annotation y-position doesn't correspond to the position I set in the API call. Am I doing something wrong here? The x-position is correct. qf=cf.QuantFig( df, title=f'{symbol} - {date}', name=symbol, theme='pearl', …
Eugen
  • 2,292
  • 3
  • 29
  • 43
0
votes
0 answers

Plotly: How to draw multiple lines in the same plot with cufflinks

As described in title, I want to draw an auxiliary line on my original graph. I know it can be down using matplotlib or plotly, but I am wondering if cufflinks can do this as it is easier to use. My original code is like…
Vicky Ding
  • 322
  • 1
  • 3
  • 10
0
votes
1 answer

Axes titles for a plot with cufflinks

I am trying to crate a surface plot of a pandas DataFrame using cufflinks. I would like to have customized axes titles (title_1,title_2 and title_3) and a plot title with a math symbol. However the plot I get does not display my axes titles and in…
zesy
  • 481
  • 5
  • 12
0
votes
1 answer

Adding multiple vertical lines and scatterplot to cufflinks quantfig candlestick plot

I am trying to use cufflinks quantfigure to add more elements to the candlestick plot. I need guidance on 2 items. Add multiple horizontal lines, in different color, at once. I am able to add multiple lines of predefined color or single line of…
0
votes
0 answers

Parabolic SAR (PTPS) doesn't work in cufflink quantfig

I am using cufflink Quantfig for stock TA. The Parabolic SAR (PTPS) never works with error of TypeError: '<=' not supported between instances of 'float' and 'NoneType'. Someone told me I need to comment out the line 286 in ta.py file and it solved…
roudan
  • 3,082
  • 5
  • 31
  • 72
0
votes
0 answers

Cufflinks Candlestick Chart Error in Google Colab

I am a newbie in Google Colab. I just wanna create a candlestick chart but I saw errors everytime I have tried. The code is as follows. import pandas as pd import yfinance as yf df_twtr = yf.download('TWTR', start='2018-01-01', end='2018-12-31',…
0
votes
0 answers

Candlestick plot showing no output

The candlestick graph in the last line of code does not display correctly. Instead all that is displayed is a white background. How can I fix it? from pandas_datareader import data import pandas as pd import numpy as np import datetime import…
0
votes
1 answer

pip is not able to install Cufflinks_ ERROR: Command errored out with exit status 1:

I was trying to install cufflinks using pip. I am using this command " pip install cufflinks". I am running command prompt as Administrator After some time the installation fails and shows the below error.The error pops up after this line…
Hari
  • 333
  • 6
  • 18
0
votes
1 answer

How to draw r = (20 day moving average / 20 weeks moving average) graph using cufflinks in python 3.x?

I know how to draw MA20 an MA50 using python3 and cufflinks. import pandas as pd import yfinance as yf df_twtr = yf.download('TWR', start='2015-01-01', end='2017-12-31', …
kamran8
  • 13
  • 4
0
votes
1 answer

Converting plotly graph to dataframe in order to plot dataframe with cufflinks iplot graph

The context of the problem that I am dealing with is trying to convert the results from a time series forecast, plotted with matplotlib.plotly back into a dataframe so that I can use the cufflinks library to be able to get a more interactive chart…
0
votes
0 answers

Running "bjam" on macOS

Good morning, I'm having troubles to run bjam on my Mac (macOS Mojave version 10.14.6). I have successfully downloaded Boost (v1.75.0) and also ran the the script bootstrap.sh as follows: ./bootstrap.sh and then ./b2 However, I still cannot run…
0
votes
0 answers

Fail to generate Interactive Plot on Jupyter Notebook

I am trying to generate Interactive Plot on Jupyter Notebook with Plotly and Cufflinks. But when I run the code, there is an empty space for the figure but no actual plot. Please see the code below. Any input would be greatly appreciated.…
Singam
  • 443
  • 3
  • 12
0
votes
0 answers

Subplots with Cufflinks and/or Plotly: problems customizing each chart

I'm trying to plot several subplots t analyse average call duration, per date, per agent. I read that info from a SQL table and load into a Panda Dataframe. Not all the agents share the same nr of days, or even the same dates, so shared x=True…
neverMind
  • 1,757
  • 4
  • 29
  • 41
0
votes
0 answers

How to order columns in histogram with Plotly and cufflinks

Currently, with the following code, I get two histograms without ordered columns and the order in both are different. How can I alter it using the structure already in use? I have formatted a full presentation using the same library and wish not to…
0
votes
0 answers

How can I embed a Plotly/Cufflinks iplot plots in an email report?

I am working on making themed graphs and I came across the attractive Plotly / Cufflinks package. My requirements specify that the output needs to be first stored and then embedded in output emails. Earlier I had stored Matplotlib graphs as PNG…
Kriticoder
  • 103
  • 1
  • 6