{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "UDU93-LZwySz", "outputId": "805afd3f-93c8-4478-c629-eaa7c9b4f495" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: yfinance in /usr/local/lib/python3.11/dist-packages (0.2.61)\n", "Requirement already satisfied: pandas>=1.3.0 in /usr/local/lib/python3.11/dist-packages (from yfinance) (2.2.2)\n", "Requirement already satisfied: numpy>=1.16.5 in /usr/local/lib/python3.11/dist-packages (from yfinance) (2.0.2)\n", "Requirement already satisfied: requests>=2.31 in /usr/local/lib/python3.11/dist-packages (from yfinance) (2.32.3)\n", "Requirement already satisfied: multitasking>=0.0.7 in /usr/local/lib/python3.11/dist-packages (from yfinance) (0.0.11)\n", "Requirement already satisfied: platformdirs>=2.0.0 in /usr/local/lib/python3.11/dist-packages (from yfinance) (4.3.8)\n", "Requirement already satisfied: pytz>=2022.5 in /usr/local/lib/python3.11/dist-packages (from yfinance) (2025.2)\n", "Requirement already satisfied: frozendict>=2.3.4 in /usr/local/lib/python3.11/dist-packages (from yfinance) (2.4.6)\n", "Requirement already satisfied: peewee>=3.16.2 in /usr/local/lib/python3.11/dist-packages (from yfinance) (3.18.1)\n", "Requirement already satisfied: beautifulsoup4>=4.11.1 in /usr/local/lib/python3.11/dist-packages (from yfinance) (4.13.4)\n", "Requirement already satisfied: curl_cffi>=0.7 in /usr/local/lib/python3.11/dist-packages (from yfinance) (0.10.0)\n", "Requirement already satisfied: protobuf>=3.19.0 in /usr/local/lib/python3.11/dist-packages (from yfinance) (5.29.4)\n", "Requirement already satisfied: websockets>=13.0 in /usr/local/lib/python3.11/dist-packages (from yfinance) (15.0.1)\n", "Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.11/dist-packages (from beautifulsoup4>=4.11.1->yfinance) (2.7)\n", "Requirement already satisfied: typing-extensions>=4.0.0 in /usr/local/lib/python3.11/dist-packages (from beautifulsoup4>=4.11.1->yfinance) (4.13.2)\n", "Requirement already satisfied: cffi>=1.12.0 in /usr/local/lib/python3.11/dist-packages (from curl_cffi>=0.7->yfinance) (1.17.1)\n", "Requirement already satisfied: certifi>=2024.2.2 in /usr/local/lib/python3.11/dist-packages (from curl_cffi>=0.7->yfinance) (2025.4.26)\n", "Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.11/dist-packages (from pandas>=1.3.0->yfinance) (2.9.0.post0)\n", "Requirement already satisfied: tzdata>=2022.7 in /usr/local/lib/python3.11/dist-packages (from pandas>=1.3.0->yfinance) (2025.2)\n", "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.11/dist-packages (from requests>=2.31->yfinance) (3.4.2)\n", "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.11/dist-packages (from requests>=2.31->yfinance) (3.10)\n", "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.11/dist-packages (from requests>=2.31->yfinance) (2.4.0)\n", "Requirement already satisfied: pycparser in /usr/local/lib/python3.11/dist-packages (from cffi>=1.12.0->curl_cffi>=0.7->yfinance) (2.22)\n", "Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.11/dist-packages (from python-dateutil>=2.8.2->pandas>=1.3.0->yfinance) (1.17.0)\n" ] } ], "source": [ "# run in first lines for installing\n", "!pip install yfinance\n", "import pandas as pd\n", "import yfinance as yf\n", "import matplotlib.pyplot as plt\n", "import numpy as np" ] }, { "cell_type": "markdown", "metadata": { "id": "z7qT19kqUz0C" }, "source": [ "## Usando o pacote yfinance para capturar dados históricos" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "id": "IlGmzxyZw3px" }, "outputs": [], "source": [ "# Using yfinance to get Petrobras prices\n", "petro = yf.Ticker(\"PETR4.SA\")\n", "\n", "# get historical market data\n", "# hist = petro.history(period = \"5y\")\n", "\n", "# other way is determining a period\n", "hist = petro.history(start=\"2007-01-01\", end=\"2022-11-03\")\n" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "DoJOAM9WRvIy", "outputId": "188d1530-2a36-4c87-d1a0-c79f4a209890" }, "outputs": [ { "data": { "text/plain": [ "{'address1': 'Avenida Henrique Valadares, 28',\n", " 'city': 'Rio de Janeiro',\n", " 'state': 'RJ',\n", " 'zip': '20231-030',\n", " 'country': 'Brazil',\n", " 'phone': '55 21 3224 2401',\n", " 'website': 'https://petrobras.com.br',\n", " 'industry': 'Oil & Gas Integrated',\n", " 'industryKey': 'oil-gas-integrated',\n", " 'industryDisp': 'Oil & Gas Integrated',\n", " 'sector': 'Energy',\n", " 'sectorKey': 'energy',\n", " 'sectorDisp': 'Energy',\n", " 'longBusinessSummary': 'Petróleo Brasileiro S.A. - Petrobras explores, produces, and sells oil and gas in Brazil and internationally. It operates through three segments: Exploration and Production; Refining, Transportation & Marketing; and Gas & Low Carbon Energies. The Exploration and Production segment explores, develops, and produces crude oil, natural gas liquids, and natural gas primarily for supplies to the domestic refineries. The Refining, Transportation and Marketing segment engages in the refining, logistics, transport, acquisition, and export of crude oil; trading of oil products; and production of fertilizers, as well as holding interests in petrochemical companies. The Gas and Low Carbon Energies segment is involved in the logistic and trading of natural gas and electricity; transportation and trading of liquefied natural gas; generation of electricity through thermoelectric power plants; renewable energy business; low carbon business; and natural gas processing business, as well as production of biodiesel and its co-products. The company also engages in prospecting, drilling, refining, processing, trading, and transporting crude oil from producing onshore and offshore oil fields, and shale or other rocks, as well as oil products, natural gas, and other liquid hydrocarbons. In addition, it engages in the research, development, production, transportation, distribution, and trading of energy. The company was incorporated in 1953 and is headquartered in Rio de Janeiro, Brazil.',\n", " 'fullTimeEmployees': 41778,\n", " 'companyOfficers': [{'maxAge': 1,\n", " 'name': 'Ms. Magda Maria de Regina Chambriard',\n", " 'title': 'CEO & Non-Independent Director',\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Ms. Clarice Coppetti',\n", " 'age': 60,\n", " 'title': 'Interim President, Chief Corporate Affairs Officer & Member of Executive Board',\n", " 'yearBorn': 1964,\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Mr. Fernando Sabbi Melgarejo',\n", " 'title': 'Chief Financial & Investor Relations Officer',\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Mr. Claudio Romeo Schlosser',\n", " 'age': 60,\n", " 'title': 'Chief Logistics, Commercialization & Markets Officer and Member of Executive Board',\n", " 'yearBorn': 1964,\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Mr. William Franca da Silva',\n", " 'age': 64,\n", " 'title': 'Chief Industrial Processes & Products Officer and Member of Executive Board',\n", " 'yearBorn': 1960,\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Mr. Mauricio Tiomno Tolmasquim',\n", " 'age': 66,\n", " 'title': 'Chief Energy Transition & Sustainability Officer and Member of Executive Board',\n", " 'yearBorn': 1958,\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Mr. Ricardo Wagner de Araujo',\n", " 'title': 'Chief Governance & Compliance Officer',\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Ms. Renata Baruzzi',\n", " 'title': 'Chief Engineering, Technology, & Innovation Officer',\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Mr. Hélio Siqueira Júnior',\n", " 'title': 'Acting General Counsel',\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0},\n", " {'maxAge': 1,\n", " 'name': 'Mr. Bruno Motta',\n", " 'title': 'Executive Manager of Communication & Brands',\n", " 'exercisedValue': 0,\n", " 'unexercisedValue': 0}],\n", " 'auditRisk': 2,\n", " 'boardRisk': 2,\n", " 'compensationRisk': 1,\n", " 'shareHolderRightsRisk': 7,\n", " 'overallRisk': 1,\n", " 'governanceEpochDate': 1746057600,\n", " 'executiveTeam': [],\n", " 'maxAge': 86400,\n", " 'priceHint': 2,\n", " 'previousClose': 31.4,\n", " 'open': 31.46,\n", " 'dayLow': 31.14,\n", " 'dayHigh': 31.53,\n", " 'regularMarketPreviousClose': 31.4,\n", " 'regularMarketOpen': 31.46,\n", " 'regularMarketDayLow': 31.14,\n", " 'regularMarketDayHigh': 31.53,\n", " 'dividendRate': 5.1,\n", " 'dividendYield': 16.25,\n", " 'exDividendDate': 1748908800,\n", " 'payoutRatio': 1.4075,\n", " 'fiveYearAvgDividendYield': 20.11,\n", " 'beta': 0.331,\n", " 'trailingPE': 8.177546,\n", " 'forwardPE': 3.8955224,\n", " 'volume': 20075100,\n", " 'regularMarketVolume': 20075100,\n", " 'averageVolume': 45034059,\n", " 'averageVolume10days': 37864920,\n", " 'averageDailyVolume10Day': 37864920,\n", " 'bid': 31.3,\n", " 'ask': 31.32,\n", " 'bidSize': 0,\n", " 'askSize': 0,\n", " 'marketCap': 419114811392,\n", " 'fiftyTwoWeekLow': 29.66,\n", " 'fiftyTwoWeekHigh': 40.76,\n", " 'priceToSalesTrailing12Months': 0.84456044,\n", " 'fiftyDayAverage': 32.949,\n", " 'twoHundredDayAverage': 36.1443,\n", " 'trailingAnnualDividendRate': 5.602,\n", " 'trailingAnnualDividendYield': 0.17840765,\n", " 'currency': 'BRL',\n", " 'tradeable': False,\n", " 'enterpriseValue': 732744187904,\n", " 'profitMargins': 0.09696,\n", " 'floatShares': 8112812836,\n", " 'sharesOutstanding': 5446499840,\n", " 'heldPercentInsiders': 0.0,\n", " 'heldPercentInstitutions': 0.56811,\n", " 'impliedSharesOutstanding': 13381699584,\n", " 'bookValue': 30.712,\n", " 'priceToBook': 1.0197968,\n", " 'lastFiscalYearEnd': 1735603200,\n", " 'nextFiscalYearEnd': 1767139200,\n", " 'mostRecentQuarter': 1743379200,\n", " 'earningsQuarterlyGrowth': 0.486,\n", " 'netIncomeToCommon': 48114999296,\n", " 'trailingEps': 3.83,\n", " 'forwardEps': 8.04,\n", " 'lastSplitFactor': '2:1',\n", " 'lastSplitDate': 1209340800,\n", " 'enterpriseToRevenue': 1.477,\n", " 'enterpriseToEbitda': 3.734,\n", " '52WeekChange': -0.15158063,\n", " 'SandP52WeekChange': 0.09362543,\n", " 'lastDividendValue': 0.909166,\n", " 'lastDividendDate': 1748908800,\n", " 'quoteType': 'EQUITY',\n", " 'currentPrice': 31.32,\n", " 'targetHighPrice': 48.5,\n", " 'targetLowPrice': 35.3,\n", " 'targetMeanPrice': 43.02727,\n", " 'targetMedianPrice': 43.0,\n", " 'recommendationMean': 1.58333,\n", " 'recommendationKey': 'buy',\n", " 'numberOfAnalystOpinions': 11,\n", " 'totalCash': 44038000640,\n", " 'totalCashPerShare': 3.417,\n", " 'ebitda': 196239998976,\n", " 'totalDebt': 370313986048,\n", " 'quickRatio': 0.408,\n", " 'currentRatio': 0.718,\n", " 'totalRevenue': 496251994112,\n", " 'debtToEquity': 93.137,\n", " 'revenuePerShare': 38.496,\n", " 'returnOnAssets': 0.08658,\n", " 'returnOnEquity': 0.12019,\n", " 'grossProfits': 246470000640,\n", " 'freeCashflow': 101453996032,\n", " 'operatingCashflow': 206894006272,\n", " 'earningsGrowth': 0.489,\n", " 'revenueGrowth': 0.046,\n", " 'grossMargins': 0.49666,\n", " 'ebitdaMargins': 0.39543998,\n", " 'operatingMargins': 0.35481998,\n", " 'financialCurrency': 'BRL',\n", " 'symbol': 'PETR4.SA',\n", " 'language': 'en-US',\n", " 'region': 'US',\n", " 'typeDisp': 'Equity',\n", " 'quoteSourceName': 'Delayed Quote',\n", " 'triggerable': False,\n", " 'customPriceAlertConfidence': 'LOW',\n", " 'shortName': 'PETROBRAS PN N2',\n", " 'earningsTimestamp': 1754593200,\n", " 'earningsTimestampStart': 1754593200,\n", " 'earningsTimestampEnd': 1754593200,\n", " 'earningsCallTimestampStart': 1754650740,\n", " 'earningsCallTimestampEnd': 1754650740,\n", " 'isEarningsDateEstimate': False,\n", " 'epsTrailingTwelveMonths': 3.83,\n", " 'epsForward': 8.04,\n", " 'epsCurrentYear': 7.42,\n", " 'priceEpsCurrentYear': 4.221024,\n", " 'fiftyDayAverageChange': -1.6290016,\n", " 'fiftyDayAverageChangePercent': -0.04944009,\n", " 'twoHundredDayAverageChange': -4.824299,\n", " 'twoHundredDayAverageChangePercent': -0.1334733,\n", " 'sourceInterval': 15,\n", " 'exchangeDataDelayedBy': 15,\n", " 'averageAnalystRating': '1.6 - Buy',\n", " 'cryptoTradeable': False,\n", " 'longName': 'Petróleo Brasileiro S.A. - Petrobras',\n", " 'corporateActions': [{'header': 'Dividend',\n", " 'message': 'PETR4.SA announced a cash dividend of 0.909 with an ex-date of Jun. 3, 2025',\n", " 'meta': {'eventType': 'DIVIDEND',\n", " 'dateEpochMs': 1748919600000,\n", " 'amount': '0.909'}}],\n", " 'regularMarketTime': 1748289296,\n", " 'exchange': 'SAO',\n", " 'messageBoardId': 'finmb_409268',\n", " 'exchangeTimezoneName': 'America/Sao_Paulo',\n", " 'exchangeTimezoneShortName': 'BRT',\n", " 'gmtOffSetMilliseconds': -10800000,\n", " 'market': 'br_market',\n", " 'esgPopulated': False,\n", " 'regularMarketChangePercent': -0.25477684,\n", " 'regularMarketPrice': 31.32,\n", " 'marketState': 'POST',\n", " 'hasPrePostMarketData': False,\n", " 'firstTradeDateMilliseconds': 946900800000,\n", " 'regularMarketChange': -0.07999992,\n", " 'regularMarketDayRange': '31.14 - 31.53',\n", " 'fullExchangeName': 'São Paulo',\n", " 'averageDailyVolume3Month': 45034059,\n", " 'fiftyTwoWeekLowChange': 1.6599998,\n", " 'fiftyTwoWeekLowChangePercent': 0.05596763,\n", " 'fiftyTwoWeekRange': '29.66 - 40.76',\n", " 'fiftyTwoWeekHighChange': -9.439999,\n", " 'fiftyTwoWeekHighChangePercent': -0.23159958,\n", " 'fiftyTwoWeekChangePercent': -15.158063,\n", " 'trailingPegRatio': 0.2287}" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# get stock info: some of the features of yfinance\n", "petro.info" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 455 }, "id": "T7vluQcSxrVf", "outputId": "6f78fa80-72d1-49ea-e2cf-e6bfbe9c1f30" }, "outputs": [ { "data": { "application/vnd.google.colaboratory.intrinsic+json": { "summary": "{\n \"name\": \"hist\",\n \"rows\": 3927,\n \"fields\": [\n {\n \"column\": \"Date\",\n \"properties\": {\n \"dtype\": \"date\",\n \"min\": \"2007-01-02 00:00:00-02:00\",\n \"max\": \"2022-11-01 00:00:00-03:00\",\n \"num_unique_values\": 3927,\n \"samples\": [\n \"2013-02-22 00:00:00-03:00\",\n \"2018-10-30 00:00:00-03:00\",\n \"2017-10-19 00:00:00-02:00\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Open\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 3.0348858300029,\n \"min\": 1.2631014775019687,\n \"max\": 21.794116472675853,\n \"num_unique_values\": 3882,\n \"samples\": [\n 9.945166348079857,\n 7.680812513125406,\n 2.9923473513513015\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"High\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 3.0793290684071297,\n \"min\": 1.2841532213748683,\n \"max\": 22.922632562888666,\n \"num_unique_values\": 3868,\n \"samples\": [\n 4.595282712303584,\n 6.34858896980602,\n 7.102157846332209\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Low\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 2.9894311384853607,\n \"min\": 1.2390421711232067,\n \"max\": 21.728434442163007,\n \"num_unique_values\": 3877,\n \"samples\": [\n 17.62516975402832,\n 13.010700246528433,\n 2.363803757197514\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Close\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 3.037300327458976,\n \"min\": 1.2631012201309204,\n \"max\": 22.5225772857666,\n \"num_unique_values\": 3129,\n \"samples\": [\n 7.779792308807373,\n 7.403769493103027,\n 8.23857307434082\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Volume\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 34298588,\n \"min\": 0,\n \"max\": 698950612,\n \"num_unique_values\": 3848,\n \"samples\": [\n 16106700,\n 18645600,\n 35977000\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Dividends\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.14563746162865623,\n \"min\": 0.0,\n \"max\": 6.732003,\n \"num_unique_values\": 30,\n \"samples\": [\n 2.970249,\n 0.1773,\n 0.000461\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Stock Splits\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.03191534511615757,\n \"min\": 0.0,\n \"max\": 2.0,\n \"num_unique_values\": 2,\n \"samples\": [\n 2.0,\n 0.0\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}", "type": "dataframe", "variable_name": "hist" }, "text/html": [ "\n", "
| \n", " | Open | \n", "High | \n", "Low | \n", "Close | \n", "Volume | \n", "Dividends | \n", "Stock Splits | \n", "
|---|---|---|---|---|---|---|---|
| Date | \n", "\n", " | \n", " | \n", " | \n", " | \n", " | \n", " | \n", " |
| 2007-01-02 00:00:00-02:00 | \n", "6.481254 | \n", "6.539585 | \n", "6.450143 | \n", "6.522734 | \n", "10244800 | \n", "0.225 | \n", "0.0 | \n", "
| 2007-01-03 00:00:00-02:00 | \n", "6.501992 | \n", "6.533102 | \n", "6.223298 | \n", "6.324406 | \n", "19898600 | \n", "0.000 | \n", "0.0 | \n", "
| 2007-01-04 00:00:00-02:00 | \n", "6.286814 | \n", "6.319221 | \n", "6.144227 | \n", "6.183115 | \n", "21060200 | \n", "0.000 | \n", "0.0 | \n", "
| 2007-01-05 00:00:00-02:00 | \n", "6.118303 | \n", "6.220707 | \n", "5.846090 | \n", "5.995159 | \n", "24864000 | \n", "0.000 | \n", "0.0 | \n", "
| 2007-01-08 00:00:00-02:00 | \n", "6.027566 | \n", "6.110526 | \n", "5.936828 | \n", "6.065157 | \n", "19440200 | \n", "0.000 | \n", "0.0 | \n", "
| ... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
| 2022-10-26 00:00:00-03:00 | \n", "19.465428 | \n", "20.020730 | \n", "19.047459 | \n", "19.531109 | \n", "121334800 | \n", "0.000 | \n", "0.0 | \n", "
| 2022-10-27 00:00:00-03:00 | \n", "19.590822 | \n", "20.026704 | \n", "19.507226 | \n", "19.680386 | \n", "111008800 | \n", "0.000 | \n", "0.0 | \n", "
| 2022-10-28 00:00:00-03:00 | \n", "19.525141 | \n", "19.775921 | \n", "19.023578 | \n", "19.447517 | \n", "129745400 | \n", "0.000 | \n", "0.0 | \n", "
| 2022-10-31 00:00:00-03:00 | \n", "18.277200 | \n", "18.868328 | \n", "17.411406 | \n", "17.799520 | \n", "262409400 | \n", "0.000 | \n", "0.0 | \n", "
| 2022-11-01 00:00:00-03:00 | \n", "18.253316 | \n", "18.313026 | \n", "17.650246 | \n", "17.829376 | \n", "115944200 | \n", "0.000 | \n", "0.0 | \n", "
3927 rows × 7 columns
\n", "| \n", " | Close | \n", "
|---|---|
| Date | \n", "\n", " |
| 2007-01-02 00:00:00-02:00 | \n", "1.875294 | \n", "
| 2007-01-03 00:00:00-02:00 | \n", "1.844416 | \n", "
| 2007-01-04 00:00:00-02:00 | \n", "1.821822 | \n", "
| 2007-01-05 00:00:00-02:00 | \n", "1.790952 | \n", "
| 2007-01-08 00:00:00-02:00 | \n", "1.802560 | \n", "
| ... | \n", "... | \n", "
| 2022-10-26 00:00:00-03:00 | \n", "2.972009 | \n", "
| 2022-10-27 00:00:00-03:00 | \n", "2.979622 | \n", "
| 2022-10-28 00:00:00-03:00 | \n", "2.967719 | \n", "
| 2022-10-31 00:00:00-03:00 | \n", "2.879172 | \n", "
| 2022-11-01 00:00:00-03:00 | \n", "2.880847 | \n", "
3927 rows × 1 columns
\n", "| \n", " | Close | \n", "
|---|---|
| Date | \n", "\n", " |
| 2007-01-03 00:00:00-02:00 | \n", "-0.030878 | \n", "
| 2007-01-04 00:00:00-02:00 | \n", "-0.022594 | \n", "
| 2007-01-05 00:00:00-02:00 | \n", "-0.030870 | \n", "
| 2007-01-08 00:00:00-02:00 | \n", "0.011608 | \n", "
| 2007-01-09 00:00:00-02:00 | \n", "-0.031039 | \n", "
| ... | \n", "... | \n", "
| 2022-10-26 00:00:00-03:00 | \n", "-0.024760 | \n", "
| 2022-10-27 00:00:00-03:00 | \n", "0.007614 | \n", "
| 2022-10-28 00:00:00-03:00 | \n", "-0.011903 | \n", "
| 2022-10-31 00:00:00-03:00 | \n", "-0.088548 | \n", "
| 2022-11-01 00:00:00-03:00 | \n", "0.001676 | \n", "
3926 rows × 1 columns
\n", "| \n", " | Close | \n", "
|---|---|
| Date | \n", "\n", " |
| 2007-01-03 00:00:00-02:00 | \n", "-0.030406 | \n", "
| 2007-01-04 00:00:00-02:00 | \n", "-0.022341 | \n", "
| 2007-01-05 00:00:00-02:00 | \n", "-0.030398 | \n", "
| 2007-01-08 00:00:00-02:00 | \n", "0.011676 | \n", "
| 2007-01-09 00:00:00-02:00 | \n", "-0.030562 | \n", "
| ... | \n", "... | \n", "
| 2022-10-26 00:00:00-03:00 | \n", "-0.024456 | \n", "
| 2022-10-27 00:00:00-03:00 | \n", "0.007643 | \n", "
| 2022-10-28 00:00:00-03:00 | \n", "-0.011833 | \n", "
| 2022-10-31 00:00:00-03:00 | \n", "-0.084741 | \n", "
| 2022-11-01 00:00:00-03:00 | \n", "0.001677 | \n", "
3926 rows × 1 columns
\n", "| \n", " | h.1 | \n", "
|---|---|
| Date | \n", "\n", " |
| 2022-11-01 00:00:00-03:00 | \n", "2.236021e+14 | \n", "