简体   繁体   中英

building chart using mplfinance python

I am not sure which library going to be best to create something like this在此处输入图片说明

I found this mplfinance library and it seem what i need but im not sure if i would be available to customize the way i want it. Before i spend hours studying this library, i just want to make sure that i can do. If someone can give me example that would help me a lot!

You should be able to do something like that chart with mplfinance. I do recommend that you set aside one full hour of your time to go throughthe documentation . In particular, I recommend you focus, in this order, on the following:

  1. Basic Usage
  2. Adding Your Own Technical Studies to Plots
  3. Customizing the Appearance of Plots

The third item above has two parts. The styles tutorial will show you how you can get the colors you want, where you want them. And the individual plot customizations tutorial has a section that mentions fill_between which you can use to accomplish the two-color plot face that you have drawn above.

If you have additional questions you can post them here (or under the issues section of the mplfinance repository).

full disclosure: I am the maintainer of the mplfinance package.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM