Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
864 commits
Select commit Hold shift + click to select a range
99d6c50
add marketcolor_overrides tutorial
DanielGoldfarb Dec 9, 2021
17de821
Merge branch 'master' into master
DanielGoldfarb Dec 9, 2021
cb97ca1
check length of overrides; allow (0-255) format for rgb
DanielGoldfarb Dec 10, 2021
939fdaa
Merge branch 'master' of github.com:AurumnPegasus/mplfinance
DanielGoldfarb Dec 10, 2021
eeb7eca
fix grammer; and add **`make_addplot()`** to TODO list
DanielGoldfarb Dec 11, 2021
1e75a4e
Add publishTestPyPI and publishPyPI workflows.
DanielGoldfarb Dec 11, 2021
97cd92b
fix typo; and rename files
DanielGoldfarb Dec 13, 2021
3bab60a
Merge pull request #479 from DanielGoldfarb/master
DanielGoldfarb Dec 13, 2021
32c99a7
add status badge for mplfinance checks
DanielGoldfarb Dec 13, 2021
1eabca3
Merge branch 'matplotlib:master' into master
DanielGoldfarb Dec 13, 2021
4659989
Merge pull request #480 from DanielGoldfarb/master
DanielGoldfarb Dec 13, 2021
775e668
Merge pull request #451 from AurumnPegasus/master
DanielGoldfarb Dec 14, 2021
7bbad7c
update dev stage alpha->beta; updates to README
DanielGoldfarb Dec 14, 2021
e6874e9
tweak readme
DanielGoldfarb Dec 14, 2021
2e016d6
set workflow to run only on pull_request and workflow_dispatch
DanielGoldfarb Dec 14, 2021
7ab8549
Merge pull request #482 from DanielGoldfarb/master
DanielGoldfarb Dec 14, 2021
b4dd647
Merge branch 'master' of github.com:matplotlib/mplfinance
DanielGoldfarb Dec 14, 2021
44134b2
add edgecolors and linewidths to _mscatter()
DanielGoldfarb Dec 14, 2021
15ceca3
bump version
DanielGoldfarb Dec 14, 2021
aa6b8d5
Merge pull request #405 from fxhuhn/master
DanielGoldfarb Dec 14, 2021
4adf916
Merge branch 'master' of github.com:matplotlib/mplfinance
DanielGoldfarb Dec 14, 2021
1f466ed
finish up `marketcolors` kwarg for make_addplot()
DanielGoldfarb Dec 14, 2021
ec8dbff
Merge pull request #471 from miya779/master
DanielGoldfarb Dec 14, 2021
9147b7f
fix error in 'Development Status' classifier
DanielGoldfarb Dec 15, 2021
89ea456
add growing candle example
DanielGoldfarb Dec 15, 2021
a708a5a
kwargs back in original order; tweak descriptions
DanielGoldfarb Dec 28, 2021
f535af5
Update marketcolor_overrides.ipynb
DanielGoldfarb Jan 5, 2022
cce2985
df_wrapcols() and make_left_formatter() helpers.
DanielGoldfarb Jan 5, 2022
bda2a88
more general df_wrapcols() method that can wrap multiple columns
DanielGoldfarb Jan 7, 2022
58dd589
first cut kwarg_help() method
DanielGoldfarb Jan 7, 2022
6fb79bb
_kwarg_help() working version
DanielGoldfarb Jan 11, 2022
61ad194
remove temporary .gitignore entries
DanielGoldfarb Jan 11, 2022
7e17958
Merge branch 'master' into master
DanielGoldfarb Jan 11, 2022
840675c
bring in sync with matplotlib/mplfinance master
DanielGoldfarb Jan 11, 2022
a94e4e8
bump version
DanielGoldfarb Jan 11, 2022
749a8b8
add `scale_width_adjustment` and `update_width_config` to kwarg help
DanielGoldfarb Jan 11, 2022
fd1eb67
quote string defaults; handle len of default values
DanielGoldfarb Jan 11, 2022
f71b5dd
fix potential bug; wraplen must be > 0 (default to >=40)
DanielGoldfarb Jan 11, 2022
17e81df
Merge pull request #416 from lfenzo/master
DanielGoldfarb Jan 11, 2022
37af2aa
tweak .gitignore
DanielGoldfarb Jan 12, 2022
aa311cb
bug fix; add description to `style_name`
DanielGoldfarb Jan 12, 2022
26163e0
add ability to sort kwargs in `kwarg_help()`
DanielGoldfarb Jan 12, 2022
bf3062b
bump version
DanielGoldfarb Jan 12, 2022
150e49c
Merge pull request #491 from DanielGoldfarb/master
DanielGoldfarb Jan 12, 2022
61153f7
add test_kwarg_help
DanielGoldfarb Jan 12, 2022
8e5e2de
add test_kwarg_help
DanielGoldfarb Jan 12, 2022
11f2674
Update mplfinance_checks.yml
DanielGoldfarb Jan 14, 2022
bf53e9d
Update mplfinance_checks.yml
DanielGoldfarb Jan 14, 2022
6c9460c
Update mplfinance_checks.yml
DanielGoldfarb Jan 14, 2022
6846da2
Update mplfinance_checks.yml
DanielGoldfarb Jan 14, 2022
74344f5
Merge branch 'master' of github.com:matplotlib/mplfinance
DanielGoldfarb Jan 25, 2022
6077718
add some kwarg descriptions
DanielGoldfarb Jan 25, 2022
5922e3c
add some kwarg descriptions
DanielGoldfarb Jan 25, 2022
2266ffd
update `make_mpf_style()` kwarg descriptions
DanielGoldfarb Jan 26, 2022
4152261
update `make_mpf_style()` kwarg descriptions
DanielGoldfarb Jan 26, 2022
b180a05
add kwarg descriptions for make_marketcolors
DanielGoldfarb Jan 26, 2022
3c9bf9d
add kwarg descriptions for make_marketcolors
DanielGoldfarb Jan 26, 2022
1d77cc6
kwarg descriptions for 'scale_width_adjustment' and 'update_width_con…
DanielGoldfarb Jan 27, 2022
c7f6056
kwarg descriptions for 'scale_width_adjustment' and 'update_width_con…
DanielGoldfarb Jan 27, 2022
f892551
more kwarg descriptions for `mpf.plot()`
DanielGoldfarb Jan 27, 2022
930017f
more kwarg descriptions for `mpf.plot()`
DanielGoldfarb Jan 27, 2022
295c557
more kwarg descriptions
DanielGoldfarb Jan 28, 2022
21c07a2
more kwarg descriptions
DanielGoldfarb Jan 28, 2022
18f163b
more kwarg descriptions
DanielGoldfarb Jan 28, 2022
cdeb282
more kwarg descriptions
DanielGoldfarb Jan 28, 2022
cfda718
yet more kwarg descriptions
DanielGoldfarb Jan 31, 2022
4db7314
yet more kwarg descriptions
DanielGoldfarb Jan 31, 2022
f1c36c5
last of the unfinished kwarg descriptions
DanielGoldfarb Jan 31, 2022
54b0828
last of the unfinished kwarg descriptions
DanielGoldfarb Jan 31, 2022
c799e0a
bump version
DanielGoldfarb Jan 31, 2022
deda6e8
bump version
DanielGoldfarb Jan 31, 2022
76f7e9f
Merge pull request #498 from DanielGoldfarb/master
DanielGoldfarb Feb 1, 2022
c1000e6
tweak multicursor, and add ginput example
DanielGoldfarb Feb 15, 2022
f680bda
tweak multicursor, and add ginput example
DanielGoldfarb Feb 15, 2022
28997a3
Merge pull request #501 from DanielGoldfarb/master
DanielGoldfarb Feb 15, 2022
7f822d8
Removing TODO comment
anbarief Mar 2, 2022
26b2c4f
Merge pull request #1 from anbarief/anbarief-patch-1
anbarief Mar 2, 2022
60c2258
Merge pull request #504 from anbarief/master
DanielGoldfarb Mar 2, 2022
dfbf45e
Create CODE_OF_CONDUCT.md
DanielGoldfarb Mar 3, 2022
0eaee52
Create CODE_OF_CONDUCT.md
DanielGoldfarb Mar 3, 2022
e87d070
Update CONTRIBUTING.md
DanielGoldfarb Mar 4, 2022
1eaa29c
Update CONTRIBUTING.md
DanielGoldfarb Mar 4, 2022
9134fc3
Update CONTRIBUTING.md
DanielGoldfarb Mar 4, 2022
51db02c
Update CONTRIBUTING.md
DanielGoldfarb Mar 4, 2022
e231287
Update CONTRIBUTING.md
DanielGoldfarb Mar 4, 2022
223fe8d
Update CONTRIBUTING.md
DanielGoldfarb Mar 4, 2022
498d44b
Update CONTRIBUTING.md
DanielGoldfarb Mar 4, 2022
4dfaf77
Update CONTRIBUTING.md
DanielGoldfarb Mar 4, 2022
61fad33
Removed `if (plottype not in _valid_types_all) ... `
anbarief Mar 4, 2022
37b80fc
Update _panels.py
anbarief Mar 8, 2022
8c832b3
localize datetimes for tlines;proposed fix for bar chart widths
DanielGoldfarb Mar 18, 2022
731d43d
Removing TODO comment
anbarief Mar 2, 2022
0a024da
add fill_between support for additional plot
wgong Mar 19, 2022
021070d
`fill_between` now accepts `list` of `dict` for multiple fill_betweens
DanielGoldfarb Mar 22, 2022
306d136
allow base mpl style to be a list
donbing Mar 26, 2022
caf045a
update version
donbing Mar 26, 2022
14ef206
no need to do this as the existing line calls the same method
donbing Mar 26, 2022
5649fcd
start adding docs
donbing Mar 26, 2022
0497138
Fixing comments of max. number of panels
anbarief Mar 27, 2022
b23caf5
Update _version.py
anbarief Mar 27, 2022
7b433a9
Feature request #510
anbarief Mar 27, 2022
949d313
Added multi fill_between
jbadiapa Mar 30, 2022
921cb45
Added the forgotten validation
jubapa Mar 30, 2022
55c3e30
snapshot: changes to style documentation in progress
DanielGoldfarb Mar 30, 2022
00cabaf
mav cross point example
Mar 30, 2022
d2a3002
restore `plt.show()`, because `fig.show()` is NOT equivalent.
DanielGoldfarb Apr 26, 2022
03f9fa2
Merge pull request #507 from anbarief/master
DanielGoldfarb Apr 26, 2022
ce608e6
bump version
DanielGoldfarb May 2, 2022
ebeb583
Merge branch 'master' into master
DanielGoldfarb May 2, 2022
ef9acbd
Merge pull request #516 from donbing/master
DanielGoldfarb May 2, 2022
22cb831
merge upstream/master
DanielGoldfarb May 3, 2022
b6e784d
merge master into branch fill_between
DanielGoldfarb May 3, 2022
11d1db3
cleanup: plotting.issue508.py no longer needed
DanielGoldfarb May 3, 2022
6a1a8dc
Merge pull request #526 from DanielGoldfarb/master
DanielGoldfarb May 3, 2022
20d328e
Merge branch 'master' into fill_between
DanielGoldfarb May 3, 2022
7cc8d70
bump version;re-run customizations notebook
DanielGoldfarb May 5, 2022
248e0d0
make _num_or_seq_of_num() more complete
DanielGoldfarb May 6, 2022
792c45a
add `fill_between` tutorial
DanielGoldfarb May 6, 2022
0f39827
add fill_between to Tutorials Table of Contents
DanielGoldfarb May 6, 2022
8d82ddf
merge changes from Juan Badia Payno
DanielGoldfarb May 9, 2022
ca85eb2
restore updated fill_between
DanielGoldfarb May 9, 2022
19079b5
first draft `test_fill_between.py`
DanielGoldfarb May 10, 2022
3f58b7a
add some more fill_between tests
DanielGoldfarb May 10, 2022
99cbb2b
additional tests, and update last example in `fill_between.ipynb`
DanielGoldfarb May 10, 2022
22e7f14
finish up fill_between tests; deepcopy to not modify input
DanielGoldfarb May 10, 2022
c859125
Merge pull request #529 from DanielGoldfarb/fill_between
DanielGoldfarb May 10, 2022
87c0a6e
handle OHLC and Volume on same panel
DanielGoldfarb May 25, 2022
0addaa2
bump version
DanielGoldfarb May 25, 2022
78850b7
Merge pull request #530 from DanielGoldfarb/ohlc_v_same_panel
DanielGoldfarb May 25, 2022
eccc53d
fix linestyle validator
DanielGoldfarb Aug 24, 2022
f1866de
Change maximum panels to 32 in docs & examples, in regards to complet…
Animeshz Oct 1, 2022
5387afb
Merge pull request #555 from Animeshz/master
DanielGoldfarb Oct 2, 2022
4a294d7
mpf now accepts alpha parameter as list for [hvat]lines so it is poss…
nijek Oct 9, 2022
d71d503
mpf now accepts alpha parameter as list for [hvat]lines so it is pos…
nijek Oct 9, 2022
46fe612
Update _version.py
DanielGoldfarb Oct 13, 2022
14ad27c
Merge pull request #558 from nijek/master
DanielGoldfarb Oct 13, 2022
f199d17
start dev: exponential mav for Issue #506
Oct 19, 2022
0bdc898
add ema label in _valid_plot_kwargs(); _mav_validator also because em…
Oct 20, 2022
64c2486
made suggested changes and tested new ema option against baseline
Oct 21, 2022
cef1012
Added Date field on x-axis
vedant-gawande Oct 21, 2022
5723ffe
Added Date field on x-axis
vedant-gawande Oct 21, 2022
a8378bb
Revert "made suggested changes and tested new ema option against base…
Oct 24, 2022
8691a26
make necessary changes after reversion
Oct 24, 2022
9aabe2f
replace former example with csvread of google data; remove binance AP…
Oct 24, 2022
f2c1667
reference_image testing
Oct 24, 2022
e28de74
add tests;place mav color cycle into config
DanielGoldfarb Oct 27, 2022
18b889f
bump version
DanielGoldfarb Oct 27, 2022
4cdb2bf
Merge pull request #563 from andrewrgarcia/master
DanielGoldfarb Oct 27, 2022
0b6a9c5
Merge branch 'matplotlib:master' into master
DanielGoldfarb Oct 28, 2022
0fbe543
fix xlabel functionality
DanielGoldfarb Oct 31, 2022
2e097a1
no addplot xlabel support; bump vers; example
DanielGoldfarb Oct 31, 2022
6745646
tweak version
DanielGoldfarb Oct 31, 2022
f2c5423
Merge branch 'master' into master
DanielGoldfarb Oct 31, 2022
2907ce3
Merge pull request #564 from vedant-gawande/master
DanielGoldfarb Oct 31, 2022
5a2bf66
merge from upstream
DanielGoldfarb Oct 31, 2022
14dba94
check for whitespace when column not found; Issue #496
DanielGoldfarb Nov 1, 2022
f9f8fa3
fix bug that was trashing "Close" values
DanielGoldfarb Nov 1, 2022
7f5192c
bump version
DanielGoldfarb Nov 1, 2022
880f0cc
Merge pull request #567 from DanielGoldfarb/master
DanielGoldfarb Nov 1, 2022
5bae4ad
Update pubTestPyPI.yml
DanielGoldfarb Nov 1, 2022
92c8010
Update pubPyPI.yml
DanielGoldfarb Nov 2, 2022
198dc08
deal with a couple deprecated items (from matplotlib and pandas)
DanielGoldfarb Nov 22, 2022
7731a73
fix deprecated DataFrame.append()
DanielGoldfarb Nov 22, 2022
b2d5052
fix DeprecationWarning about invalid \\ escape
Nov 22, 2022
0be7d32
Update mplfinance_checks.yml
DanielGoldfarb Nov 22, 2022
5642239
Update mplfinance_checks.yml
DanielGoldfarb Nov 22, 2022
5e4c51e
Merge branch 'master' of https://github.com/matplotlib/mplfinance
Nov 22, 2022
5c09ba1
bump version
Nov 22, 2022
b0deb44
Merge pull request #571 from DanielGoldfarb/master
DanielGoldfarb Nov 22, 2022
a04a82e
snapshot cleanup
DanielGoldfarb Nov 25, 2022
709353f
test issue 573; 5 days of intraday data
DanielGoldfarb Dec 2, 2022
9249032
rename ticks_issue_573, and fix x-axis labels
DanielGoldfarb Dec 4, 2022
981baac
specify xtick locations for pnf
DanielGoldfarb Dec 8, 2022
5753581
fix regression tests and bump version
DanielGoldfarb Dec 8, 2022
2cc7212
Merge pull request #575 from DanielGoldfarb/pnf
DanielGoldfarb Dec 8, 2022
7ceb922
mention documentation is in the code examples.
DanielGoldfarb Dec 23, 2022
4558d96
markersize validator extended
ugorsahin Jan 3, 2023
668a85e
example added for variable scatter markersize
ugorsahin Jan 5, 2023
89a6ab3
version update to 0.12.9b8
ugorsahin Jan 6, 2023
b4c429d
Merge pull request #580 from ugorsahin/markersize_validator_fix
DanielGoldfarb Jan 6, 2023
7b8e046
Merge pull request #589 from DanielGoldfarb/master
DanielGoldfarb Jan 26, 2023
05f31b3
stackoverflow 75526312
DanielGoldfarb Feb 22, 2023
adb155c
stack overflow 75526312
DanielGoldfarb Mar 14, 2023
e9fe345
a few examples/experimental plots
DanielGoldfarb Mar 14, 2023
3366308
archive a few more experiments and examples
DanielGoldfarb Mar 14, 2023
ac8d567
save a few more experiments/examples
DanielGoldfarb Mar 14, 2023
6815661
Merge pull request #599 from DanielGoldfarb/master
DanielGoldfarb Mar 14, 2023
0fb8fe7
work on stackoverflow 75737197
DanielGoldfarb Mar 20, 2023
148b8c0
migrate code from @ppseverin
alexpvpmindustry Apr 11, 2023
17dbb82
add doc for function
alexpvpmindustry Apr 11, 2023
653f44f
add new api for labels
alexpvpmindustry Apr 11, 2023
b581a65
add example notebook for label api
alexpvpmindustry Apr 11, 2023
2fdd474
remove comment block, and code clean up
alexpvpmindustry Apr 11, 2023
6f3daef
update comment
alexpvpmindustry Apr 11, 2023
ca430ce
Update _version.py
alexpvpmindustry Apr 11, 2023
195a4e5
Add files via upload
DrChandrakant Apr 15, 2023
00d3a2d
Merge pull request #1 from DrChandrakant/DrChandrakant-patch-1
DrChandrakant Apr 15, 2023
6b50abf
Add files via upload
DrChandrakant Apr 15, 2023
9bc083c
Add files via upload
DrChandrakant Apr 15, 2023
2df573a
Example of Ichimoku Cloud
DrChandrakant Apr 19, 2023
e7a0326
Merge pull request #2 from DrChandrakant/DrChandrakant-patch-2
DrChandrakant Apr 19, 2023
d5f0f10
issue 436
DanielGoldfarb Apr 27, 2023
bc12591
Update Ichimoku_Cloud_Example.ipynb
DrChandrakant May 17, 2023
686e067
Update Indicatior_Donchian_Channel.ipynb
DrChandrakant May 17, 2023
78f1404
Update Indicator_MACD_Histogram_Gradient.ipynb
DrChandrakant May 17, 2023
4840600
Rename Indicatior_Donchian_Channel.ipynb to Indicator_Donchian_Channe…
DrChandrakant May 24, 2023
7b611cd
Supertrend Indicator Plot
DrChandrakant May 24, 2023
3c5afc0
Awesome Oscillator Example
DrChandrakant May 24, 2023
8e07348
Update Indicator_Donchian_Channel.ipynb
DrChandrakant May 24, 2023
daa43e8
Update Indicator_supertrend.ipynb
DrChandrakant Jun 2, 2023
a8393a2
Golden Cross Over
DrChandrakant Jun 2, 2023
25cf2b4
Delete Indicator_golden_cross_over.ipynb
DrChandrakant Jun 2, 2023
5511a1c
Golden Cross Over With Signal
DrChandrakant Jun 2, 2023
8706842
Alphatrend Indicator Created
DrChandrakant Jun 3, 2023
9bf5f8c
Dark Binance Theme Updated Feature Request #614
DrChandrakant Jun 7, 2023
f3b5375
Indicator Parabolic SAR Added
DrChandrakant Jun 7, 2023
097d929
Feature Update Without Color #625
DrChandrakant Jun 9, 2023
d011a25
Delete binancedark.py
DrChandrakant Jun 9, 2023
278f784
Revert "Dark Binance Theme Updated Feature Request #614"
DrChandrakant Jun 9, 2023
f502dc6
Revert "Feature Update Without Color #625"
DrChandrakant Jun 9, 2023
180222d
Merge branch 'master' of https://github.com/DrChandrakant/mplfinance
DrChandrakant Jun 9, 2023
be6e654
All Example Migrated To OHLCV Data,
DrChandrakant Jun 12, 2023
b77ec17
Merge pull request #612 from DrChandrakant/master
DanielGoldfarb Jun 13, 2023
fdcde4c
Merge pull request #631 from DanielGoldfarb/master
DanielGoldfarb Jun 13, 2023
bb6e2a9
create directory for indicator examples; rename
DanielGoldfarb Jun 13, 2023
2758232
adjust data path, and tweak size for better readability
DanielGoldfarb Jun 13, 2023
dbf820b
move older indicator examples to indicator directory
DanielGoldfarb Jun 13, 2023
340f1d8
Merge pull request #632 from DanielGoldfarb/master
DanielGoldfarb Jun 13, 2023
ed14c8c
style enhancements; and new styles from Chandrakant
DanielGoldfarb Jun 14, 2023
370be60
allow scale width adjustment in style
DanielGoldfarb Jun 14, 2023
c003f31
bump version; fix styles per volume edge color implementation
DanielGoldfarb Jun 14, 2023
9853a48
bump setup-python version
DanielGoldfarb Jun 14, 2023
5db6bbd
workflow seems to be trying 3.1 instead of 3.10
DanielGoldfarb Jun 14, 2023
bc96dd9
this should fix 3.10 being interpreted as 3.1
DanielGoldfarb Jun 14, 2023
fe0bbc2
stackoverflow 76486448 hover prices annotation
DanielGoldfarb Jun 16, 2023
3e61c22
Merge pull request #634 from DanielGoldfarb/master
DanielGoldfarb Jun 21, 2023
1fe2ae1
allow addplot label to be a list when data is a dataframe
DanielGoldfarb Aug 1, 2023
bda487b
single quotes and alignment for consistent code style
DanielGoldfarb Aug 1, 2023
6bb454d
bump version; labels significant
DanielGoldfarb Aug 1, 2023
3f16690
Merge branch 'master' into master
DanielGoldfarb Aug 1, 2023
5d2eccc
example of multiple labels in a single addplot
DanielGoldfarb Aug 1, 2023
d2ec9c2
bump version; labels significant
DanielGoldfarb Aug 1, 2023
9560cdc
Merge branch 'master' into master
DanielGoldfarb Aug 1, 2023
c3dcdfd
Merge pull request #605 from alexpvpmindustry/master
DanielGoldfarb Aug 1, 2023
2e4f9c4
Merge remote-tracking branch 'upstream/master'
DanielGoldfarb Aug 2, 2023
5f43560
Update CONTRIBUTING.md
DanielGoldfarb Feb 8, 2024
c1f33f6
Update CONTRIBUTING.md
DanielGoldfarb Feb 8, 2024
8ce25d5
re-generate price-movement_plots notebook
DanielGoldfarb Apr 2, 2024
b59aaaf
Merge pull request #666 from DanielGoldfarb/master
DanielGoldfarb Apr 2, 2024
5eb3574
Skip secondary_y auto-detection when addplot data is all NaN
wavebyrd Mar 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/ask-a-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Ask a Question
about: Question about usage, project priorities, or anything else related to mplfinance.
title: ''
labels: 'question'
assignees: ''

---

Ask anything you want about mplfinance usage, project philosophy and/or priorities, or anything else related to mplfinance.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: 'Bug Report:'
labels: 'bug'
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: 'Feature Request:'
labels: 'enhancement'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feedback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Feedback
about: What do you think of mplfinance? Pros? Cons? Thoughts?
title: 'Comment:'
labels: 'feedback'
assignees: ''

---

What do you think of mplfinance? Pros? Cons? Thoughts?
Thank you for taking the time to provide feedback. Much appreciated!
76 changes: 76 additions & 0 deletions .github/workflows/mplfinance_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: mplfinance Checks
on: [ workflow_dispatch, pull_request ]
jobs:
Regression_Tests:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10' ]
steps:
- name: Preliminary Information
run: |
echo "The job was automatically triggered by a ${{ github.event_name }} event."
echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
echo " "
echo "github.ref = ${{ github.ref }}"
echo "github.sha = ${{ github.sha }}"
echo "github.event.pull_request.head.ref = ${{ github.event.pull_request.head.ref }}"
echo "github.event.pull_request.head.sha = ${{ github.event.pull_request.head.sha }}"
echo "github.event.pull_request.base.ref = ${{ github.event.pull_request.base.ref }}"
echo "github.event.pull_request.base.sha = ${{ github.event.pull_request.base.sha }}"
echo " "

- name: Check out repository code
uses: actions/checkout@v2

- run: echo "The ${{ github.repository }} repository has been cloned to the runner."

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

- name: Install My Package
run: pip install .

- name: Run Pytest
run: python -m pytest

- run: echo "This job's status is ${{ job.status }}."

Pull_Request_Updates_Version:
runs-on: ubuntu-20.04
if: github.event_name == 'pull_request'
steps:
- name: Check out repository code
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install packaging

- name: Fetch base and head on PR
if: ${{ github.event.pull_request.base.sha }}
run: |
git fetch origin master ${{ github.event.pull_request.base.sha }}
git fetch origin master ${{ github.event.pull_request.head.sha }}

- name: Check that Pull Request includes updating the Version
run: |
git show ${{ github.event.pull_request.base.sha }}:src/mplfinance/_version.py > scripts/tv0.py
git show ${{ github.sha }}:src/mplfinance/_version.py > scripts/tv1.py
python scripts/version_update_check.py tv0 tv1

43 changes: 43 additions & 0 deletions .github/workflows/pubPyPI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Upload Mplfinance to PyPI

on:
workflow_dispatch:
inputs:
tag:
description: 'version tag to deploy'
required: true
type: string

jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.tag }}

- name: Display Coded Version
#run: git show ${{ github.sha }}:src/mplfinance/_version.py
run: egrep 'version_info .*=' src/mplfinance/_version.py

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine

- name: Build
run: |
python setup.py sdist bdist_wheel
ls -l dist/*

- name: Publish distribution to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/*
43 changes: 43 additions & 0 deletions .github/workflows/pubTestPyPI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Upload Mplfinance to TestPyPI

on:
workflow_dispatch:
inputs:
tag:
description: 'version tag to deploy'
required: true
type: string

jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.tag }}

- name: Display Coded Version
#run: git show ${{ github.sha }}:src/mplfinance/_version.py
run: egrep 'version_info .*=' src/mplfinance/_version.py

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine

- name: Build
run: |
python setup.py sdist bdist_wheel
ls -l dist/*

- name: Publish distribution to Test PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: twine upload --repository-url https://test.pypi.org/legacy/ dist/*
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ __pycache__
*.egg-info
.tox/
.cache/
*.code-workspace
*.ipynb_checkpoints/
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

#### All typical collaboration codes of conduct apply:

### Treat people fairly, with respect, and overall [be a mensch](https://www.google.com/search?q=mensch).
37 changes: 37 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## Contributing Basics

- Contributing can be as simple as **asking questions**, participating in discussions, suggesting enhancements, etc. **All of these are valuable!** There are many ways to contribute. We also very much appreciate when you share the creative things you've done *using* mplfinance (both code and plot images). And, of course, writing code for mplfinance is also a great way to contribute. Thank you.

- All of the usual/typical open source contribution guidelines apply (see for example, **[Matplotlib Contributing](https://matplotlib.org/stable/devel/contributing.html)** and **[Open Source Guide to Contributing](https://opensource.guide/how-to-contribute/)**). Therefore, here, on this page, we will mention just a few items that we may be particular about in **mplfinance**.

---

## Fork Clone Workflow
- The standard workflow for contributing on GitHub is called **Fork/Clone**. For those who may not be familiar, here is a brief summary and some reference links.
- *We assume you are familiar with **git** basics: `git clone`, `git commit`, etc*.
- Note: a "Fork" is just a `git clone` *that is created on, and that lives on, GitHub.com*. You create a fork using the **Fork** button on GitHub: This allows GitHub to track the relationship between the original github repository, and your Fork. (In that sense a "fork" is slightly more than just a plain "clone", but only as much as GitHub.com adds some tracking and other minor features to make integration easier).
- The basic workflow is:
1. Create a **Fork** of the mplfinance repository. (See references below for details.) The fork will exist under *your* github account.
2. **Clone** *your* Fork to your local machine (`git clone`).
3. Work on your cloned copy of the repository, `git commit` the changes, and then **`git push`** them *to your GitHub fork*.
4. When you are satisfied with the code in your fork then, **on the GitHub page for your fork, *open a Pull Request (PR)***. A Pull Request effectively asks for the changes in your fork be pulled into the main mplfinance repository. The PR provides, on github, a place to see the changes, and to post comments and discussion about them.
5. After code review, if you are asked by a maintainer to make additional changes, you do *not* have to re-enter another Pull Request (as long as the original PR is still open). Rather, make the changes in your local clone, and simply `git push` them to your fork again. The changes will automatically flow into the open Pull Request.
6. When done, the maintainer of the repository will merge the changes from your fork into the mplfinance repository. The PR will automatically be closed. (Your fork, however, will continue to exist, and can be used again for additional Pull Requests in the future; See GitHub documentation for how to keep your Fork up to date).

- Some References:
- GitHub documentation:
- **https://docs.github.com/en/get-started/quickstart/contributing-to-projects**
- and some user gists:
- https://gist.github.com/Chaser324/ce0505fbed06b947d962
- https://gist.github.com/rjdmoore/ed014fba0ee2c7e75060ccd01b726cb8

---

## Coding Standards
- I am not super strict about adhearing to every aspect of PEP 8, *nor am I lenient*. I tend to walk the middle of the road: If something is a good and common, then it should be adheared to.
- Here are a few items that I (perhaps uniquely) tend to care about in particular:
- If you write code, please don't use tabs; rather use spaces.
- If you work on a pre-existing code file, please try to more-or-less emulate the style that already exists in that file.
- If you add a significant feature --that is, a feature for which explaining its usage takes more than just a few sentences-- please also create a "tutorial notebook" for that feature. **[For examples of tutorial notebooks, please see the jupyter notebooks in the examples folder.](https://github.com/matplotlib/mplfinance/tree/master/examples)**
- If you add a significant feature, please also create a regression test file **[in the tests folder](https://github.com/matplotlib/mplfinance/tree/master/tests)**, similar to the other regression tests that are there. *Often, the simplest way to do this is to take a few of the examples from the feature's "tutorial notebook"* (see previous point).

49 changes: 49 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
License agreement for mplfinance
=================================

1. This LICENSE AGREEMENT is between the Matplotlib Development Team
("MDT"), and the Individual or Organization ("Licensee") accessing and
otherwise using matplotlib software in source or binary form and its
associated documentation.

2. Subject to the terms and conditions of this License Agreement, MDT
hereby grants Licensee a nonexclusive, royalty-free, world-wide license
to reproduce, analyze, test, perform and/or display publicly, prepare
derivative works, distribute, and otherwise use matplotlib
alone or in any derivative version, provided, however, that MDT's
License Agreement and MDT's notice of copyright, i.e., "Copyright (c)
2012- Matplotlib Development Team; All Rights Reserved" are retained in
matplotlib alone or in any derivative version prepared by
Licensee.

3. In the event Licensee prepares a derivative work that is based on or
incorporates matplotlib or any part thereof, and wants to
make the derivative work available to others as provided herein, then
Licensee hereby agrees to include in any such work a brief summary of
the changes made to matplotlib .

4. MDT is making matplotlib available to Licensee on an "AS
IS" basis. MDT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, MDT MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB
WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.

5. MDT SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
THE POSSIBILITY THEREOF.

6. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.

7. Nothing in this License Agreement shall be deemed to create any
relationship of agency, partnership, or joint venture between MDT and
Licensee. This License Agreement does not grant permission to use MDT
trademarks or trade name in a trademark sense to endorse or promote
products or services of Licensee, or any third party.

8. By copying, installing or otherwise using matplotlib ,
Licensee agrees to be bound by the terms and conditions of this License
Agreement.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE
10 changes: 0 additions & 10 deletions README

This file was deleted.

Loading