unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 64134@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#64134] [PATCH 16/17] gnu: Add python-pandas-ta.
Date: Sat, 17 Jun 2023 15:18:39 +0000	[thread overview]
Message-ID: <20230617151840.1748096-16-monego@posteo.net> (raw)
In-Reply-To: <20230617151840.1748096-1-monego@posteo.net>

* gnu/packages/finance.scm (python-pandas-ta): New variable.
---
 gnu/packages/finance.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 31292c2863..e727681014 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1148,6 +1148,40 @@ (define-public python-mstarpy
 provides stock and fund public data to retail and professional investors.")
     (license license:expat)))
 
+(define-public python-pandas-ta
+  (package
+    (name "python-pandas-ta")
+    (version "0.3.14")
+    (source (origin
+              (method git-fetch)        ;no tests in PyPI
+              (uri (git-reference
+                    (url "https://github.com/twopirllc/pandas-ta")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "04903n1kizhhibyipcd8c7wwyvbayhvf3zch42axxrqd9axkzknn"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:test-flags #~(list "-k" "not test_custom_a"))) ;this test failed
+    (native-inputs (list python-pytest))
+    (propagated-inputs (list python-dateutil
+                             python-numpy
+                             python-pandas
+                             python-pytz
+                             python-ta-lib))
+    (home-page "https://github.com/twopirllc/pandas-ta")
+    (synopsis "Pandas Extension with 130+ Technical Analysis Indicators")
+    (description
+     "Pandas Technical Analysis (Pandas TA) is a library that leverages the
+Pandas package with more than 130 Indicators and Utility functions and more
+than 60 TA Lib Candlestick Patterns.  Many commonly used indicators are
+included, such as: Candle Pattern(cdl_pattern), Simple Moving Average (sma),
+Moving Average Convergence Divergence (macd), Hull Exponential Moving Average
+(hma), Bollinger Bands (bbands), On-Balance Volume (obv), Aroon & Aroon
+Oscillator (aroon), Squeeze (squeeze) and many more.")
+    (license license:expat)))
+
 (define-public python-mnemonic
   (package
     (name "python-mnemonic")
-- 
2.34.1





  parent reply	other threads:[~2023-06-17 15:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-17 15:16 [bug#64134] [PATCH 00/17] Add some Python financial libraries Vinicius Monego
2023-06-17 15:18 ` [bug#64134] [PATCH 01/17] gnu: Add python-holidays Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 02/17] gnu: Add python-multitasking Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 03/17] gnu: Add python-yfinance Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 04/17] gnu: Add python-pandas-datareader Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 05/17] gnu: Add python-ffn Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 06/17] gnu: Add python-bt Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 07/17] gnu: Add python-pyhdfe Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 08/17] gnu: Add python-interface-meta Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 09/17] gnu: Add python-arch Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 10/17] gnu: Add python-alpha-vantage Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 11/17] gnu: Add python-ascii-magic Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 12/17] gnu: Add python-degiro-connector Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 13/17] gnu: Add python-detecta Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 14/17] gnu: Add python-financedatabase Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 15/17] gnu: Add python-mstarpy Vinicius Monego
2023-06-17 15:18   ` Vinicius Monego [this message]
2023-06-17 15:18   ` [bug#64134] [PATCH 17/17] gnu: Add python-vectorbt Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230617151840.1748096-16-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=64134@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).