{"id":986,"date":"2022-12-26T17:55:22","date_gmt":"2022-12-26T17:55:22","guid":{"rendered":"https:\/\/mark-baerthel.de\/?p=986"},"modified":"2023-01-02T19:59:24","modified_gmt":"2023-01-02T19:59:24","slug":"python-libraries-for-financial-calculation","status":"publish","type":"post","link":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/","title":{"rendered":"Python libraries for financial calculation"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"986\" class=\"elementor elementor-986\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-44fc6164 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"44fc6164\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-50e88906\" data-id=\"50e88906\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2e73e9aa elementor-widget elementor-widget-text-editor\" data-id=\"2e73e9aa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><\/p>\n<p><a href=\"https:\/\/mark-baerthel.de\/index.php\/2022\/python-vs-excel-for-financial-modeling\/\">Python<\/a> is a powerful programming language that is widely used in the financial industry for data analysis, modeling, and automation. There are many Python libraries that provide useful tools and functionality for financial calculations, and in this article, we will introduce seven of the most popular and useful ones.<\/p>\n<h2>7 most useful Python libraries for financial calculation<\/h2>\n<p><\/p>\n<p><\/p>\n<ol class=\"wp-block-list\">\n<li style=\"list-style-type: none;\">\n<ol><\/ol>\n<\/li>\n<\/ol>\n<p>\u00a0<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>PyAlgoTrade: PyAlgoTrade is a Python library for backtesting and live trading of financial strategies. It allows users to test their trading ideas and algorithms against historical data, and then implement them in live trading. PyAlgoTrade provides a wide range of tools for analyzing and visualizing the performance of trading strategies, including technical indicators, charting, and risk management tools.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><\/p>\n<p><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Pyfolio: Pyfolio is a Python library for performance and risk analysis of financial portfolios. It provides tools for calculating portfolio returns, risk metrics, and performance attribution, as well as visualizing the performance and risk characteristics of portfolios. Pyfolio is particularly useful for portfolio managers and analysts who want to track and analyze the performance of their portfolios over time.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><\/p>\n<p><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Zipline: Zipline is an open-source Python library for building and executing trading strategies. It provides a wide range of tools for backtesting and live trading, including technical indicators, event-based rules, and order management. Zipline is particularly popular among quant traders and financial engineers who want to build and test complex trading strategies.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><\/p>\n<p><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>SciPy: SciPy is a Python library for scientific and technical computing. It provides a wide range of tools for numerical and statistical analysis, optimization, and signal processing. SciPy is particularly useful for financial analysts and data scientists who need to perform complex calculations and statistical analysis on financial data.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><\/p>\n<p><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Scikit-learn: Scikit-learn is a Python library for machine learning and data analysis. It provides a wide range of tools for supervised and unsupervised learning, including classification, regression, clustering, and dimensionality reduction. Scikit-learn is particularly useful for financial analysts and data scientists who want to build predictive models and <a href=\"https:\/\/mark-baerthel.de\/index.php\/2022\/monte-carlo-simulation-for-liquidity-forecasts\/\">forecast<\/a> financial markets.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><\/p>\n<p><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Finmarketpy: Finmarketpy is a Python library for financial market data analysis and modeling. It provides tools for fetching and analyzing financial market data from various sources, including stock prices, options, futures, and FX rates. Finmarketpy is particularly useful for financial analysts and data scientists who want to analyze and model financial markets and securities.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><\/p>\n<p><\/p>\n<ol>\n<li>NumPy: NumPy is a Python library for scientific computing. It provides tools for numerical and statistical analysis, including linear algebra, random number generation, and fast array operations. NumPy is a fundamental library for many other scientific and financial Python libraries, and it is essential for anyone working with numerical data in Python.<\/li>\n<\/ol>\n<h2>Conclusion\u00a0<\/h2>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p>In conclusion, Python is a powerful programming language that provides a wide range of libraries for financial calculation and analysis. These seven libraries \u2013 PyAlgoTrade, Pyfolio, Zipline, SciPy, Scikit-learn, Finmarketpy, and NumPy \u2013 are some of the most popular and useful tools for financial professionals working with Python.<\/p>\n<h2>Example code:<\/h2>\n<p><\/p>\n<p><\/p>\n<pre><code>from pyalgotrade import strategy\nfrom pyalgotrade.technical import ma\nfrom pyalgotrade.technical import cross\n\nclass SMATrategy(strategy.BacktestingStrategy):\n    def __init__(self, feed, instrument, smaPeriod):\n        super().__init__(feed)\n        self.__instrument = instrument\n        self.__position = None\n        # We'll use adjusted close values instead of regular close values.\n        self.setUseAdjustedValues(True)\n        self.__prices = feed[instrument].getPriceDataSeries()\n        self.__sma = ma.SMA(self.__prices, smaPeriod)\n\n    def onEnterOk(self, position):\n        execInfo = position.getEntryOrder().getExecutionInfo()\n        self.info(\"BUY at $%.2f\" % (execInfo.getPrice()))\n\n    def onEnterCanceled(self, position):\n        self.__position = None\n\n    def onExitOk(self, position):\n        execInfo = position.getExitOrder().getExecutionInfo()\n        self.info(\"SELL at $%.2f\" % (execInfo.getPrice()))\n        self.__position = None\n\n    def onExitCanceled(self, position):\n        # If the exit was canceled, re-submit it.\n        self.__position.exitMarket()\n\n    def onBars(self, bars):\n        # If a position was not opened, check if we should enter a long position.\n        if self.__position is None:\n            if cross.cross_above(self.__prices, self.__sma) &gt; 0:\n                self.__position = self.enterLong(self.__instrument, 10, True)\n        # Check if we have to exit the position.\n        elif not self.__position.exitActive() and cross.cross_below(self.__prices, self.__sma) &gt; 0:\n            self.__position.exitMarket()\n\n<\/code><\/pre>\n<p><\/p>\n<p><\/p>\n<ul class=\"wp-block-list\">\n<li style=\"list-style-type: none;\">\n<ul><\/ul>\n<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/gbeced.github.io\/pyalgotrade\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/gbeced.github.io\/pyalgotrade\/<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><\/p>\n<p><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/github.com\/quantopian\/pyfolio\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/quantopian\/pyfolio<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><\/p>\n<p><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/zipline.ml4trading.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/zipline.ml4trading.io\/<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><\/p>\n<p><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/scipy.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/scipy.org\/<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><\/p>\n<p><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/scikit-learn.org\/stable\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/scikit-learn.org\/stable\/<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><\/p>\n<p><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/github.com\/cuemacro\/finmarketpy\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/cuemacro\/finmarketpy<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><\/p>\n<p><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/numpy.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/numpy.org\/<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><\/p>\n<p><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-339dcb62 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"339dcb62\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-41da7f90\" data-id=\"41da7f90\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-54e337fa elementor-widget elementor-widget-eael-typeform\" data-id=\"54e337fa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"eael-typeform.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div data-typeform=\"{&quot;url&quot;:&quot;https:\\\/\\\/wisdomanalztics.typeform.com\\\/to\\\/GGd8cHY2&quot;,&quot;hideFooter&quot;:false,&quot;hideHeaders&quot;:false,&quot;opacity&quot;:50}\" id=\"eael-type-form-54e337fa\" class=\"eael-typeform clearfix fs_wp_sidebar fsBody eael-contact-form eael-typeform-align-default\"><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Python is a powerful programming language that is widely used in the financial industry for data analysis, modeling, and automation. There are many Python libraries that provide useful tools and functionality for financial calculations, and in this article, we will introduce seven of the most popular and useful ones. 7 most useful Python libraries for financial calculation In conclusion, Python is a powerful programming language that provides a wide range of libraries for financial calculation and analysis. These seven libraries \u2013 PyAlgoTrade, Pyfolio, Zipline, SciPy, Scikit-learn, Finmarketpy, and NumPy \u2013 are some of the most popular and useful tools for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-986","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python libraries for financial calculation - Mark Baerthel<\/title>\n<meta name=\"description\" content=\"Python libraries for financial calculation. PyAlgoTrade Pyfolio Zipline SciPy Scikit-learn Finmarketpy NumPy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python libraries for financial calculation - Mark Baerthel\" \/>\n<meta property=\"og:description\" content=\"Python libraries for financial calculation. PyAlgoTrade Pyfolio Zipline SciPy Scikit-learn Finmarketpy NumPy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/\" \/>\n<meta property=\"og:site_name\" content=\"Mark Baerthel\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-26T17:55:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-02T19:59:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mark-baerthel.de\/wp-content\/uploads\/2020\/11\/boatsmall.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1400\" \/>\n\t<meta property=\"og:image:height\" content=\"700\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#\\\/schema\\\/person\\\/ac3b28e0319b942c21e3bf20ce84c1ca\"},\"headline\":\"Python libraries for financial calculation\",\"datePublished\":\"2022-12-26T17:55:22+00:00\",\"dateModified\":\"2023-01-02T19:59:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/\"},\"wordCount\":515,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/\",\"url\":\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/\",\"name\":\"Python libraries for financial calculation - Mark Baerthel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#website\"},\"datePublished\":\"2022-12-26T17:55:22+00:00\",\"dateModified\":\"2023-01-02T19:59:24+00:00\",\"description\":\"Python libraries for financial calculation. PyAlgoTrade Pyfolio Zipline SciPy Scikit-learn Finmarketpy NumPy.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/2022\\\/python-libraries-for-financial-calculation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mark-baerthel.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python libraries for financial calculation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#website\",\"url\":\"https:\\\/\\\/mark-baerthel.de\\\/\",\"name\":\"Mark Baerthel\",\"description\":\"Data Science Consulting\",\"publisher\":{\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mark-baerthel.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#organization\",\"name\":\"Mark Baerthel\",\"url\":\"https:\\\/\\\/mark-baerthel.de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mark-baerthel.de\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/cropped-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/mark-baerthel.de\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/cropped-logo.jpg\",\"width\":512,\"height\":512,\"caption\":\"Mark Baerthel\"},\"image\":{\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/#\\\/schema\\\/person\\\/ac3b28e0319b942c21e3bf20ce84c1ca\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mark-baerthel.de\\\/wp-content\\\/litespeed\\\/avatar\\\/8115544bc182c338441acb3f662a72ff.jpg?ver=1775691379\",\"url\":\"https:\\\/\\\/mark-baerthel.de\\\/wp-content\\\/litespeed\\\/avatar\\\/8115544bc182c338441acb3f662a72ff.jpg?ver=1775691379\",\"contentUrl\":\"https:\\\/\\\/mark-baerthel.de\\\/wp-content\\\/litespeed\\\/avatar\\\/8115544bc182c338441acb3f662a72ff.jpg?ver=1775691379\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/mark-baerthel.de\"],\"url\":\"https:\\\/\\\/mark-baerthel.de\\\/index.php\\\/author\\\/mail2markb_zg8hrtle\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python libraries for financial calculation - Mark Baerthel","description":"Python libraries for financial calculation. PyAlgoTrade Pyfolio Zipline SciPy Scikit-learn Finmarketpy NumPy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/","og_locale":"en_US","og_type":"article","og_title":"Python libraries for financial calculation - Mark Baerthel","og_description":"Python libraries for financial calculation. PyAlgoTrade Pyfolio Zipline SciPy Scikit-learn Finmarketpy NumPy.","og_url":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/","og_site_name":"Mark Baerthel","article_published_time":"2022-12-26T17:55:22+00:00","article_modified_time":"2023-01-02T19:59:24+00:00","og_image":[{"width":1400,"height":700,"url":"https:\/\/mark-baerthel.de\/wp-content\/uploads\/2020\/11\/boatsmall.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/#article","isPartOf":{"@id":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/"},"author":{"name":"admin","@id":"https:\/\/mark-baerthel.de\/#\/schema\/person\/ac3b28e0319b942c21e3bf20ce84c1ca"},"headline":"Python libraries for financial calculation","datePublished":"2022-12-26T17:55:22+00:00","dateModified":"2023-01-02T19:59:24+00:00","mainEntityOfPage":{"@id":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/"},"wordCount":515,"commentCount":0,"publisher":{"@id":"https:\/\/mark-baerthel.de\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/","url":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/","name":"Python libraries for financial calculation - Mark Baerthel","isPartOf":{"@id":"https:\/\/mark-baerthel.de\/#website"},"datePublished":"2022-12-26T17:55:22+00:00","dateModified":"2023-01-02T19:59:24+00:00","description":"Python libraries for financial calculation. PyAlgoTrade Pyfolio Zipline SciPy Scikit-learn Finmarketpy NumPy.","breadcrumb":{"@id":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mark-baerthel.de\/index.php\/2022\/python-libraries-for-financial-calculation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mark-baerthel.de\/"},{"@type":"ListItem","position":2,"name":"Python libraries for financial calculation"}]},{"@type":"WebSite","@id":"https:\/\/mark-baerthel.de\/#website","url":"https:\/\/mark-baerthel.de\/","name":"Mark Baerthel","description":"Data Science Consulting","publisher":{"@id":"https:\/\/mark-baerthel.de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mark-baerthel.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mark-baerthel.de\/#organization","name":"Mark Baerthel","url":"https:\/\/mark-baerthel.de\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mark-baerthel.de\/#\/schema\/logo\/image\/","url":"https:\/\/mark-baerthel.de\/wp-content\/uploads\/2020\/08\/cropped-logo.jpg","contentUrl":"https:\/\/mark-baerthel.de\/wp-content\/uploads\/2020\/08\/cropped-logo.jpg","width":512,"height":512,"caption":"Mark Baerthel"},"image":{"@id":"https:\/\/mark-baerthel.de\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/mark-baerthel.de\/#\/schema\/person\/ac3b28e0319b942c21e3bf20ce84c1ca","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mark-baerthel.de\/wp-content\/litespeed\/avatar\/8115544bc182c338441acb3f662a72ff.jpg?ver=1775691379","url":"https:\/\/mark-baerthel.de\/wp-content\/litespeed\/avatar\/8115544bc182c338441acb3f662a72ff.jpg?ver=1775691379","contentUrl":"https:\/\/mark-baerthel.de\/wp-content\/litespeed\/avatar\/8115544bc182c338441acb3f662a72ff.jpg?ver=1775691379","caption":"admin"},"sameAs":["https:\/\/mark-baerthel.de"],"url":"https:\/\/mark-baerthel.de\/index.php\/author\/mail2markb_zg8hrtle\/"}]}},"_links":{"self":[{"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/posts\/986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/comments?post=986"}],"version-history":[{"count":10,"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/posts\/986\/revisions"}],"predecessor-version":[{"id":1067,"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/posts\/986\/revisions\/1067"}],"wp:attachment":[{"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/media?parent=986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/categories?post=986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mark-baerthel.de\/index.php\/wp-json\/wp\/v2\/tags?post=986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}