From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KLDZDHTPjWQ3kQAASxT56A (envelope-from ) for ; Sat, 17 Jun 2023 17:21:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yLuwDHTPjWQGWwAAauVa8A (envelope-from ) for ; Sat, 17 Jun 2023 17:21:24 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0C39F16E0D for ; Sat, 17 Jun 2023 17:21:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAXjf-00057Q-VE; Sat, 17 Jun 2023 11:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAXjc-00055j-RT for guix-patches@gnu.org; Sat, 17 Jun 2023 11:21:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qAXjc-0008Dj-JJ for guix-patches@gnu.org; Sat, 17 Jun 2023 11:21:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qAXjc-0000Y0-FF for guix-patches@gnu.org; Sat, 17 Jun 2023 11:21:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64134] [PATCH 16/17] gnu: Add python-pandas-ta. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Jun 2023 15:21:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64134@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 64134-submit@debbugs.gnu.org id=B64134.16870152512008 (code B ref 64134); Sat, 17 Jun 2023 15:21:04 +0000 Received: (at 64134) by debbugs.gnu.org; 17 Jun 2023 15:20:51 +0000 Received: from localhost ([127.0.0.1]:52379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAXjP-0000WK-GB for submit@debbugs.gnu.org; Sat, 17 Jun 2023 11:20:51 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAXjO-0000Vu-8u for 64134@debbugs.gnu.org; Sat, 17 Jun 2023 11:20:50 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BDBD4240028 for <64134@debbugs.gnu.org>; Sat, 17 Jun 2023 17:20:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1687015244; bh=0Fq5rHMGMU1PsCOVc5CoMVmEhHeISdxoNS4xxLSl2og=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=SCQwkYXJwKRemgewWGclzFn3ZHrC9I2vkdcZEXm65YwJbm2tv0kEP3dS+Bk+QLQC8 eFLVZi70DLLaXwokbm2DWe+IFa/iLwnPoOClX1CH92QIjZb/7yTtjP3dj+qgWqP0hM z/juYqsRzxDw85e6ERV+BoPwAT52M6i3zntar1W+UL5Jdl7xyhaFyyMteH5BxmHJMg jLbPNz/ac4qD0qOy7xTcR28uEVSO33IBhjjC4nRXgDXne3sbc2BPGxzsm33aTjWfEd xLdPbpR980FcNUcj5M0mz90UjYEQFO7z5ZMWaIlrXVtvirykcVHsAqvprim2YCsZpb ftGf1uBRIWWrA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qk08q67Xqz6twg; Sat, 17 Jun 2023 17:20:43 +0200 (CEST) From: Vinicius Monego Date: Sat, 17 Jun 2023 15:18:39 +0000 Message-Id: <20230617151840.1748096-16-monego@posteo.net> In-Reply-To: <20230617151840.1748096-1-monego@posteo.net> References: <20230617151840.1748096-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687015284; a=rsa-sha256; cv=none; b=U9H9eenJopDdVplICxWEfoEOaekfwsTIl4rdBFbbAktsqJCqwX15tiNIxY0sMCZsIW8n9K vNaHHuR74MnrA25s5MgjcD3D92UBmF8lCJiCk3HkUGO83Cnw6TTCgsOxrtBLkDDc0SVF4M W5HwOYZhFEUWY0WxdG2h08CmOAo1AXULgAFEJnjt1qmKN79KHT8aTPSBGHUsZQlkcPFfsi yEzsz/9TY2fQa/D0vfRRZ3FK/7MfQk/IWFAIFHHFWDTSK04BI7n9USV0vm8HgUc5EUx1Am ZJFnxjYBr+ErczVphLTW2shTB/ZQLK3BaLg92p/t/Ud0yO65diYs35/Y2Hwh2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SCQwkYXJ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687015284; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OWnKTMONRjTaPENjDyGhbH0+2RM/jO6bBuHchhnssus=; b=ecFpLFD82Xz8XnBLoPM4ewumd46gJFcuzARYnppe9OgHWXUEzpSpMsRMmR/j8tvi3YNSaD eoNUQVAkbQ5vb4H2GSSjXy6R2hH59CdBWtaJnXmzRQQUTO9arkK0sG/ld3x4/OsIamiCwZ 2r6Tbn4yxhZlmJ12xXE5w37GQ2b6ozwOyUXFhI31r4t83XBwgp1OimhCl51Elym5ZKXuNv jeRLclhA0RFHFC7Sgg4ekZUJz58zK+ePnOv2SYB6uwBtwXDvTYErCh09wQC0JWGkzd1y0T MLp1+5S0efhgVLTGbzd5ZeoEXJLo+Aqk67kT2PUXZ7nf+dMfIlyOCope99XIGw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SCQwkYXJ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.73 X-Spam-Score: -0.73 X-Migadu-Queue-Id: 0C39F16E0D X-TUID: bNdSznMZvWz2 * 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