diff --git a/DOCN-last-90DAYS.json b/DOCN-last-90DAYS.json new file mode 100644 index 0000000..c3fa677 --- /dev/null +++ b/DOCN-last-90DAYS.json @@ -0,0 +1,1272 @@ +{'next_page': None, + 'security': {'code': 'EQS', + 'company_id': 'com_g0NdMz', + 'composite_figi': 'BBG00ZGF6SS3', + 'composite_ticker': 'DOCN:US', + 'currency': 'USD', + 'figi': 'BBG00ZGF6SX7', + 'id': 'sec_zvZoRw', + 'name': 'DigitalOcean Holdings Inc', + 'primary_listing': True, + 'share_class_figi': 'BBG00ZGF6TM7', + 'ticker': 'DOCN'}, + 'stock_prices': [{'adj_close': 28.88, + 'adj_high': 29.39, + 'adj_low': 28.27, + 'adj_open': 28.27, + 'adj_volume': 426472.0, + 'change': -0.01, + 'close': 28.88, + 'date': datetime.date(2023, 11, 24), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 29.39, + 'intraperiod': False, + 'low': 28.27, + 'open': 28.27, + 'percent_change': -0.0003, + 'split_ratio': 1.0, + 'volume': 426493.0}, + {'adj_close': 28.89, + 'adj_high': 29.11, + 'adj_low': 28.34, + 'adj_open': 28.8, + 'adj_volume': 1238542.0, + 'change': 0.48, + 'close': 28.89, + 'date': datetime.date(2023, 11, 22), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 29.11, + 'intraperiod': False, + 'low': 28.34, + 'open': 28.8, + 'percent_change': 0.0169, + 'split_ratio': 1.0, + 'volume': 1238542.0}, + {'adj_close': 28.41, + 'adj_high': 29.85, + 'adj_low': 28.29, + 'adj_open': 29.78, + 'adj_volume': 1166218.0, + 'change': -0.18, + 'close': 28.41, + 'date': datetime.date(2023, 11, 21), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 29.85, + 'intraperiod': False, + 'low': 28.29, + 'open': 29.78, + 'percent_change': -0.0063, + 'split_ratio': 1.0, + 'volume': 1166218.0}, + {'adj_close': 28.59, + 'adj_high': 28.99, + 'adj_low': 28.29, + 'adj_open': 28.7, + 'adj_volume': 1598545.0, + 'change': -0.31, + 'close': 28.59, + 'date': datetime.date(2023, 11, 20), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 28.99, + 'intraperiod': False, + 'low': 28.29, + 'open': 28.7, + 'percent_change': -0.0107, + 'split_ratio': 1.0, + 'volume': 1598545.0}, + {'adj_close': 28.9, + 'adj_high': 28.99, + 'adj_low': 27.28, + 'adj_open': 27.39, + 'adj_volume': 1915693.0, + 'change': 1.6, + 'close': 28.9, + 'date': datetime.date(2023, 11, 17), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 28.99, + 'intraperiod': False, + 'low': 27.28, + 'open': 27.39, + 'percent_change': 0.0586, + 'split_ratio': 1.0, + 'volume': 1915693.0}, + {'adj_close': 27.3, + 'adj_high': 27.4, + 'adj_low': 26.1, + 'adj_open': 26.96, + 'adj_volume': 1176365.0, + 'change': 0.03, + 'close': 27.3, + 'date': datetime.date(2023, 11, 16), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 27.4, + 'intraperiod': False, + 'low': 26.1, + 'open': 26.96, + 'percent_change': 0.0011, + 'split_ratio': 1.0, + 'volume': 1176365.0}, + {'adj_close': 27.27, + 'adj_high': 27.61, + 'adj_low': 26.44, + 'adj_open': 26.96, + 'adj_volume': 1709829.0, + 'change': 0.6, + 'close': 27.27, + 'date': datetime.date(2023, 11, 15), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 27.61, + 'intraperiod': False, + 'low': 26.44, + 'open': 26.96, + 'percent_change': 0.0225, + 'split_ratio': 1.0, + 'volume': 1709829.0}, + {'adj_close': 26.67, + 'adj_high': 27.28, + 'adj_low': 26.23, + 'adj_open': 26.52, + 'adj_volume': 1402650.0, + 'change': 1.09, + 'close': 26.67, + 'date': datetime.date(2023, 11, 14), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 27.28, + 'intraperiod': False, + 'low': 26.23, + 'open': 26.52, + 'percent_change': 0.0426, + 'split_ratio': 1.0, + 'volume': 1402650.0}, + {'adj_close': 25.58, + 'adj_high': 25.77, + 'adj_low': 24.6, + 'adj_open': 25.0, + 'adj_volume': 1141454.0, + 'change': 0.38, + 'close': 25.58, + 'date': datetime.date(2023, 11, 13), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 25.77, + 'intraperiod': False, + 'low': 24.6, + 'open': 25.0, + 'percent_change': 0.0151, + 'split_ratio': 1.0, + 'volume': 1141454.0}, + {'adj_close': 25.2, + 'adj_high': 25.27, + 'adj_low': 24.07, + 'adj_open': 24.33, + 'adj_volume': 2014738.0, + 'change': 0.69, + 'close': 25.2, + 'date': datetime.date(2023, 11, 10), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 25.27, + 'intraperiod': False, + 'low': 24.07, + 'open': 24.33, + 'percent_change': 0.0282, + 'split_ratio': 1.0, + 'volume': 2014738.0}, + {'adj_close': 24.51, + 'adj_high': 25.5, + 'adj_low': 24.21, + 'adj_open': 25.28, + 'adj_volume': 938476.0, + 'change': -0.63, + 'close': 24.51, + 'date': datetime.date(2023, 11, 9), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 25.5, + 'intraperiod': False, + 'low': 24.21, + 'open': 25.28, + 'percent_change': -0.0251, + 'split_ratio': 1.0, + 'volume': 938476.0}, + {'adj_close': 25.14, + 'adj_high': 26.36, + 'adj_low': 24.83, + 'adj_open': 26.35, + 'adj_volume': 2160178.0, + 'change': -1.13, + 'close': 25.14, + 'date': datetime.date(2023, 11, 8), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 26.36, + 'intraperiod': False, + 'low': 24.83, + 'open': 26.35, + 'percent_change': -0.043, + 'split_ratio': 1.0, + 'volume': 2160178.0}, + {'adj_close': 26.27, + 'adj_high': 27.36, + 'adj_low': 25.27, + 'adj_open': 25.84, + 'adj_volume': 3306859.0, + 'change': 2.42, + 'close': 26.27, + 'date': datetime.date(2023, 11, 7), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 27.36, + 'intraperiod': False, + 'low': 25.27, + 'open': 25.84, + 'percent_change': 0.1015, + 'split_ratio': 1.0, + 'volume': 3306859.0}, + {'adj_close': 23.85, + 'adj_high': 25.06, + 'adj_low': 23.65, + 'adj_open': 25.0, + 'adj_volume': 1533921.0, + 'change': -0.91, + 'close': 23.85, + 'date': datetime.date(2023, 11, 6), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 25.06, + 'intraperiod': False, + 'low': 23.65, + 'open': 25.0, + 'percent_change': -0.0368, + 'split_ratio': 1.0, + 'volume': 1533921.0}, + {'adj_close': 24.76, + 'adj_high': 26.85, + 'adj_low': 24.32, + 'adj_open': 26.79, + 'adj_volume': 4068041.0, + 'change': 3.53, + 'close': 24.76, + 'date': datetime.date(2023, 11, 3), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 26.85, + 'intraperiod': False, + 'low': 24.32, + 'open': 26.79, + 'percent_change': 0.1663, + 'split_ratio': 1.0, + 'volume': 4068041.0}, + {'adj_close': 21.23, + 'adj_high': 21.37, + 'adj_low': 20.21, + 'adj_open': 20.21, + 'adj_volume': 2736868.0, + 'change': 1.41, + 'close': 21.23, + 'date': datetime.date(2023, 11, 2), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 21.37, + 'intraperiod': False, + 'low': 20.21, + 'open': 20.21, + 'percent_change': 0.0711, + 'split_ratio': 1.0, + 'volume': 2736868.0}, + {'adj_close': 19.82, + 'adj_high': 20.5, + 'adj_low': 19.39, + 'adj_open': 20.23, + 'adj_volume': 1470220.0, + 'change': -0.64, + 'close': 19.82, + 'date': datetime.date(2023, 11, 1), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 19.39, + 'frequency': 'daily', + 'high': 20.5, + 'intraperiod': False, + 'low': 19.39, + 'open': 20.23, + 'percent_change': -0.0313, + 'split_ratio': 1.0, + 'volume': 1470220.0}, + {'adj_close': 20.46, + 'adj_high': 20.76, + 'adj_low': 20.1, + 'adj_open': 20.42, + 'adj_volume': 1191212.0, + 'change': -0.12, + 'close': 20.46, + 'date': datetime.date(2023, 10, 31), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 20.1, + 'frequency': 'daily', + 'high': 20.76, + 'intraperiod': False, + 'low': 20.1, + 'open': 20.42, + 'percent_change': -0.0058, + 'split_ratio': 1.0, + 'volume': 1191212.0}, + {'adj_close': 20.58, + 'adj_high': 20.88, + 'adj_low': 20.41, + 'adj_open': 20.69, + 'adj_volume': 1028150.0, + 'change': 0.04, + 'close': 20.58, + 'date': datetime.date(2023, 10, 30), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 20.19, + 'frequency': 'daily', + 'high': 20.88, + 'intraperiod': False, + 'low': 20.41, + 'open': 20.69, + 'percent_change': 0.0019, + 'split_ratio': 1.0, + 'volume': 1028150.0}, + {'adj_close': 20.54, + 'adj_high': 21.23, + 'adj_low': 20.19, + 'adj_open': 20.98, + 'adj_volume': 1293575.0, + 'change': -0.14, + 'close': 20.54, + 'date': datetime.date(2023, 10, 27), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 20.19, + 'frequency': 'daily', + 'high': 21.23, + 'intraperiod': False, + 'low': 20.19, + 'open': 20.98, + 'percent_change': -0.0068, + 'split_ratio': 1.0, + 'volume': 1293575.0}, + {'adj_close': 20.68, + 'adj_high': 21.5, + 'adj_low': 20.48, + 'adj_open': 21.18, + 'adj_volume': 901022.0, + 'change': -0.37, + 'close': 20.68, + 'date': datetime.date(2023, 10, 26), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 20.48, + 'frequency': 'daily', + 'high': 21.5, + 'intraperiod': False, + 'low': 20.48, + 'open': 21.18, + 'percent_change': -0.0176, + 'split_ratio': 1.0, + 'volume': 901022.0}, + {'adj_close': 21.05, + 'adj_high': 21.66, + 'adj_low': 20.83, + 'adj_open': 21.66, + 'adj_volume': 1388378.0, + 'change': -1.18, + 'close': 21.05, + 'date': datetime.date(2023, 10, 25), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 20.83, + 'frequency': 'daily', + 'high': 21.66, + 'intraperiod': False, + 'low': 20.83, + 'open': 21.66, + 'percent_change': -0.0531, + 'split_ratio': 1.0, + 'volume': 1388378.0}, + {'adj_close': 22.23, + 'adj_high': 22.34, + 'adj_low': 21.75, + 'adj_open': 21.75, + 'adj_volume': 880853.0, + 'change': 0.75, + 'close': 22.23, + 'date': datetime.date(2023, 10, 24), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.2, + 'frequency': 'daily', + 'high': 22.34, + 'intraperiod': False, + 'low': 21.75, + 'open': 21.75, + 'percent_change': 0.0349, + 'split_ratio': 1.0, + 'volume': 880853.0}, + {'adj_close': 21.48, + 'adj_high': 22.03, + 'adj_low': 21.2, + 'adj_open': 21.63, + 'adj_volume': 881981.0, + 'change': -0.04, + 'close': 21.48, + 'date': datetime.date(2023, 10, 23), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.2, + 'frequency': 'daily', + 'high': 22.03, + 'intraperiod': False, + 'low': 21.2, + 'open': 21.63, + 'percent_change': -0.0019, + 'split_ratio': 1.0, + 'volume': 881981.0}, + {'adj_close': 21.52, + 'adj_high': 22.77, + 'adj_low': 21.42, + 'adj_open': 22.77, + 'adj_volume': 1119314.0, + 'change': -1.47, + 'close': 21.52, + 'date': datetime.date(2023, 10, 20), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.42, + 'frequency': 'daily', + 'high': 22.77, + 'intraperiod': False, + 'low': 21.42, + 'open': 22.77, + 'percent_change': -0.0639, + 'split_ratio': 1.0, + 'volume': 1119314.0}, + {'adj_close': 22.99, + 'adj_high': 23.59, + 'adj_low': 22.93, + 'adj_open': 23.12, + 'adj_volume': 772343.0, + 'change': 0.04, + 'close': 22.99, + 'date': datetime.date(2023, 10, 19), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 23.59, + 'intraperiod': False, + 'low': 22.93, + 'open': 23.12, + 'percent_change': 0.0017, + 'split_ratio': 1.0, + 'volume': 772343.0}, + {'adj_close': 22.95, + 'adj_high': 24.15, + 'adj_low': 22.78, + 'adj_open': 24.0, + 'adj_volume': 1044186.0, + 'change': -1.26, + 'close': 22.95, + 'date': datetime.date(2023, 10, 18), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 24.15, + 'intraperiod': False, + 'low': 22.78, + 'open': 24.0, + 'percent_change': -0.052, + 'split_ratio': 1.0, + 'volume': 1044186.0}, + {'adj_close': 24.21, + 'adj_high': 24.52, + 'adj_low': 23.21, + 'adj_open': 23.35, + 'adj_volume': 1027724.0, + 'change': 0.56, + 'close': 24.21, + 'date': datetime.date(2023, 10, 17), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 24.52, + 'intraperiod': False, + 'low': 23.21, + 'open': 23.35, + 'percent_change': 0.0237, + 'split_ratio': 1.0, + 'volume': 1027724.0}, + {'adj_close': 23.65, + 'adj_high': 23.95, + 'adj_low': 22.88, + 'adj_open': 23.05, + 'adj_volume': 885267.0, + 'change': 0.71, + 'close': 23.65, + 'date': datetime.date(2023, 10, 16), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 23.95, + 'intraperiod': False, + 'low': 22.88, + 'open': 23.05, + 'percent_change': 0.031, + 'split_ratio': 1.0, + 'volume': 885267.0}, + {'adj_close': 22.94, + 'adj_high': 23.48, + 'adj_low': 22.81, + 'adj_open': 23.23, + 'adj_volume': 1040800.0, + 'change': -0.49, + 'close': 22.94, + 'date': datetime.date(2023, 10, 13), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 23.48, + 'intraperiod': False, + 'low': 22.81, + 'open': 23.23, + 'percent_change': -0.0209, + 'split_ratio': 1.0, + 'volume': 1040800.0}, + {'adj_close': 23.43, + 'adj_high': 24.5, + 'adj_low': 23.16, + 'adj_open': 24.5, + 'adj_volume': 1079121.0, + 'change': -1.27, + 'close': 23.43, + 'date': datetime.date(2023, 10, 12), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 24.5, + 'intraperiod': False, + 'low': 23.16, + 'open': 24.5, + 'percent_change': -0.0514, + 'split_ratio': 1.0, + 'volume': 1079121.0}, + {'adj_close': 24.7, + 'adj_high': 25.12, + 'adj_low': 24.43, + 'adj_open': 24.45, + 'adj_volume': 1295344.0, + 'change': 0.35, + 'close': 24.7, + 'date': datetime.date(2023, 10, 11), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 25.12, + 'intraperiod': False, + 'low': 24.43, + 'open': 24.45, + 'percent_change': 0.0144, + 'split_ratio': 1.0, + 'volume': 1295344.0}, + {'adj_close': 24.35, + 'adj_high': 24.69, + 'adj_low': 23.35, + 'adj_open': 23.36, + 'adj_volume': 1051975.0, + 'change': 1.05, + 'close': 24.35, + 'date': datetime.date(2023, 10, 10), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 24.69, + 'intraperiod': False, + 'low': 23.35, + 'open': 23.36, + 'percent_change': 0.0451, + 'split_ratio': 1.0, + 'volume': 1051975.0}, + {'adj_close': 23.3, + 'adj_high': 23.35, + 'adj_low': 22.44, + 'adj_open': 22.48, + 'adj_volume': 1378905.0, + 'change': 0.31, + 'close': 23.3, + 'date': datetime.date(2023, 10, 9), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 23.35, + 'intraperiod': False, + 'low': 22.44, + 'open': 22.48, + 'percent_change': 0.0135, + 'split_ratio': 1.0, + 'volume': 1378905.0}, + {'adj_close': 22.99, + 'adj_high': 23.15, + 'adj_low': 21.85, + 'adj_open': 22.01, + 'adj_volume': 964481.0, + 'change': 0.68, + 'close': 22.99, + 'date': datetime.date(2023, 10, 6), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 23.15, + 'intraperiod': False, + 'low': 21.85, + 'open': 22.01, + 'percent_change': 0.0305, + 'split_ratio': 1.0, + 'volume': 964481.0}, + {'adj_close': 22.31, + 'adj_high': 22.64, + 'adj_low': 21.76, + 'adj_open': 22.35, + 'adj_volume': 977524.0, + 'change': -0.08, + 'close': 22.31, + 'date': datetime.date(2023, 10, 5), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 21.76, + 'frequency': 'daily', + 'high': 22.64, + 'intraperiod': False, + 'low': 21.76, + 'open': 22.35, + 'percent_change': -0.0036, + 'split_ratio': 1.0, + 'volume': 977524.0}, + {'adj_close': 22.39, + 'adj_high': 23.46, + 'adj_low': 22.11, + 'adj_open': 23.27, + 'adj_volume': 1444123.0, + 'change': -0.63, + 'close': 22.39, + 'date': datetime.date(2023, 10, 4), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 22.11, + 'frequency': 'daily', + 'high': 23.46, + 'intraperiod': False, + 'low': 22.11, + 'open': 23.27, + 'percent_change': -0.0274, + 'split_ratio': 1.0, + 'volume': 1444123.0}, + {'adj_close': 23.02, + 'adj_high': 23.96, + 'adj_low': 22.93, + 'adj_open': 23.96, + 'adj_volume': 913970.0, + 'change': -0.9, + 'close': 23.02, + 'date': datetime.date(2023, 10, 3), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 22.81, + 'frequency': 'daily', + 'high': 23.96, + 'intraperiod': False, + 'low': 22.93, + 'open': 23.96, + 'percent_change': -0.0376, + 'split_ratio': 1.0, + 'volume': 913970.0}, + {'adj_close': 23.92, + 'adj_high': 24.35, + 'adj_low': 23.35, + 'adj_open': 23.91, + 'adj_volume': 1089081.0, + 'change': -0.11, + 'close': 23.92, + 'date': datetime.date(2023, 10, 2), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 22.81, + 'frequency': 'daily', + 'high': 24.35, + 'intraperiod': False, + 'low': 23.35, + 'open': 23.91, + 'percent_change': -0.0046, + 'split_ratio': 1.0, + 'volume': 1089081.0}, + {'adj_close': 24.03, + 'adj_high': 24.6, + 'adj_low': 23.83, + 'adj_open': 24.29, + 'adj_volume': 839561.0, + 'change': 0.22, + 'close': 24.03, + 'date': datetime.date(2023, 9, 29), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 22.81, + 'frequency': 'daily', + 'high': 24.6, + 'intraperiod': False, + 'low': 23.83, + 'open': 24.29, + 'percent_change': 0.0092, + 'split_ratio': 1.0, + 'volume': 839561.0}, + {'adj_close': 23.81, + 'adj_high': 24.24, + 'adj_low': 22.96, + 'adj_open': 23.19, + 'adj_volume': 1072241.0, + 'change': 0.47, + 'close': 23.81, + 'date': datetime.date(2023, 9, 28), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 22.81, + 'frequency': 'daily', + 'high': 24.24, + 'intraperiod': False, + 'low': 22.96, + 'open': 23.19, + 'percent_change': 0.0201, + 'split_ratio': 1.0, + 'volume': 1072241.0}, + {'adj_close': 23.34, + 'adj_high': 23.49, + 'adj_low': 22.81, + 'adj_open': 23.18, + 'adj_volume': 1328118.0, + 'change': 0.2, + 'close': 23.34, + 'date': datetime.date(2023, 9, 27), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 22.81, + 'frequency': 'daily', + 'high': 23.49, + 'intraperiod': False, + 'low': 22.81, + 'open': 23.18, + 'percent_change': 0.0086, + 'split_ratio': 1.0, + 'volume': 1328118.0}, + {'adj_close': 23.14, + 'adj_high': 24.28, + 'adj_low': 23.12, + 'adj_open': 23.96, + 'adj_volume': 1254885.0, + 'change': -0.98, + 'close': 23.14, + 'date': datetime.date(2023, 9, 26), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.12, + 'frequency': 'daily', + 'high': 24.28, + 'intraperiod': False, + 'low': 23.12, + 'open': 23.96, + 'percent_change': -0.0406, + 'split_ratio': 1.0, + 'volume': 1254885.0}, + {'adj_close': 24.12, + 'adj_high': 24.43, + 'adj_low': 23.73, + 'adj_open': 23.98, + 'adj_volume': 1068441.0, + 'change': -0.1, + 'close': 24.12, + 'date': datetime.date(2023, 9, 25), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 24.43, + 'intraperiod': False, + 'low': 23.73, + 'open': 23.98, + 'percent_change': -0.0041, + 'split_ratio': 1.0, + 'volume': 1068441.0}, + {'adj_close': 24.22, + 'adj_high': 24.65, + 'adj_low': 23.83, + 'adj_open': 24.43, + 'adj_volume': 1228438.0, + 'change': 0.26, + 'close': 24.22, + 'date': datetime.date(2023, 9, 22), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 24.65, + 'intraperiod': False, + 'low': 23.83, + 'open': 24.43, + 'percent_change': 0.0109, + 'split_ratio': 1.0, + 'volume': 1228438.0}, + {'adj_close': 23.96, + 'adj_high': 24.76, + 'adj_low': 23.62, + 'adj_open': 23.73, + 'adj_volume': 2363657.0, + 'change': -0.13, + 'close': 23.96, + 'date': datetime.date(2023, 9, 21), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 24.76, + 'intraperiod': False, + 'low': 23.62, + 'open': 23.73, + 'percent_change': -0.0054, + 'split_ratio': 1.0, + 'volume': 2363657.0}, + {'adj_close': 24.09, + 'adj_high': 24.27, + 'adj_low': 23.81, + 'adj_open': 24.06, + 'adj_volume': 993622.0, + 'change': 0.2, + 'close': 24.09, + 'date': datetime.date(2023, 9, 20), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 24.27, + 'intraperiod': False, + 'low': 23.81, + 'open': 24.06, + 'percent_change': 0.0084, + 'split_ratio': 1.0, + 'volume': 993622.0}, + {'adj_close': 23.89, + 'adj_high': 24.17, + 'adj_low': 23.61, + 'adj_open': 23.9, + 'adj_volume': 1276863.0, + 'change': -0.16, + 'close': 23.89, + 'date': datetime.date(2023, 9, 19), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 24.17, + 'intraperiod': False, + 'low': 23.61, + 'open': 23.9, + 'percent_change': -0.0067, + 'split_ratio': 1.0, + 'volume': 1276863.0}, + {'adj_close': 24.05, + 'adj_high': 24.3, + 'adj_low': 23.77, + 'adj_open': 24.11, + 'adj_volume': 957004.0, + 'change': -0.27, + 'close': 24.05, + 'date': datetime.date(2023, 9, 18), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 24.3, + 'intraperiod': False, + 'low': 23.77, + 'open': 24.11, + 'percent_change': -0.0111, + 'split_ratio': 1.0, + 'volume': 957004.0}, + {'adj_close': 24.32, + 'adj_high': 25.15, + 'adj_low': 24.24, + 'adj_open': 25.04, + 'adj_volume': 2100578.0, + 'change': -0.87, + 'close': 24.32, + 'date': datetime.date(2023, 9, 15), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 25.15, + 'intraperiod': False, + 'low': 24.24, + 'open': 25.04, + 'percent_change': -0.0345, + 'split_ratio': 1.0, + 'volume': 2100578.0}, + {'adj_close': 25.19, + 'adj_high': 25.51, + 'adj_low': 24.71, + 'adj_open': 25.22, + 'adj_volume': 1090641.0, + 'change': 0.12, + 'close': 25.19, + 'date': datetime.date(2023, 9, 14), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 25.51, + 'intraperiod': False, + 'low': 24.71, + 'open': 25.22, + 'percent_change': 0.0048, + 'split_ratio': 1.0, + 'volume': 1090641.0}, + {'adj_close': 25.07, + 'adj_high': 25.35, + 'adj_low': 24.66, + 'adj_open': 24.9, + 'adj_volume': 1227821.0, + 'change': 0.22, + 'close': 25.07, + 'date': datetime.date(2023, 9, 13), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 25.35, + 'intraperiod': False, + 'low': 24.66, + 'open': 24.9, + 'percent_change': 0.0089, + 'split_ratio': 1.0, + 'volume': 1227821.0}, + {'adj_close': 24.85, + 'adj_high': 25.64, + 'adj_low': 24.62, + 'adj_open': 25.56, + 'adj_volume': 2118734.0, + 'change': -1.2, + 'close': 24.85, + 'date': datetime.date(2023, 9, 12), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 25.64, + 'intraperiod': False, + 'low': 24.62, + 'open': 25.56, + 'percent_change': -0.0461, + 'split_ratio': 1.0, + 'volume': 2118734.0}, + {'adj_close': 26.05, + 'adj_high': 27.27, + 'adj_low': 25.84, + 'adj_open': 27.27, + 'adj_volume': 2549076.0, + 'change': -0.8, + 'close': 26.05, + 'date': datetime.date(2023, 9, 11), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 27.27, + 'intraperiod': False, + 'low': 25.84, + 'open': 27.27, + 'percent_change': -0.0298, + 'split_ratio': 1.0, + 'volume': 2549076.0}, + {'adj_close': 26.85, + 'adj_high': 27.12, + 'adj_low': 24.85, + 'adj_open': 24.94, + 'adj_volume': 3734933.0, + 'change': 0.27, + 'close': 26.85, + 'date': datetime.date(2023, 9, 8), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 27.12, + 'intraperiod': False, + 'low': 24.85, + 'open': 24.94, + 'percent_change': 0.0102, + 'split_ratio': 1.0, + 'volume': 3734933.0}, + {'adj_close': 26.58, + 'adj_high': 26.95, + 'adj_low': 24.94, + 'adj_open': 25.4, + 'adj_volume': 2316249.0, + 'change': 0.74, + 'close': 26.58, + 'date': datetime.date(2023, 9, 7), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 26.95, + 'intraperiod': False, + 'low': 24.94, + 'open': 25.4, + 'percent_change': 0.0286, + 'split_ratio': 1.0, + 'volume': 2316249.0}, + {'adj_close': 25.84, + 'adj_high': 26.64, + 'adj_low': 25.71, + 'adj_open': 26.37, + 'adj_volume': 1849588.0, + 'change': -0.67, + 'close': 25.84, + 'date': datetime.date(2023, 9, 6), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 26.64, + 'intraperiod': False, + 'low': 25.71, + 'open': 26.37, + 'percent_change': -0.0253, + 'split_ratio': 1.0, + 'volume': 1849588.0}, + {'adj_close': 26.51, + 'adj_high': 26.73, + 'adj_low': 25.94, + 'adj_open': 26.48, + 'adj_volume': 2169969.0, + 'change': -0.25, + 'close': 26.51, + 'date': datetime.date(2023, 9, 5), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 26.73, + 'intraperiod': False, + 'low': 25.94, + 'open': 26.48, + 'percent_change': -0.0093, + 'split_ratio': 1.0, + 'volume': 2169969.0}, + {'adj_close': 26.76, + 'adj_high': 27.78, + 'adj_low': 26.73, + 'adj_open': 27.16, + 'adj_volume': 3193450.0, + 'change': -0.29, + 'close': 26.76, + 'date': datetime.date(2023, 9, 1), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 27.78, + 'intraperiod': False, + 'low': 26.73, + 'open': 27.16, + 'percent_change': -0.0107, + 'split_ratio': 1.0, + 'volume': 3193450.0}, + {'adj_close': 27.05, + 'adj_high': 28.34, + 'adj_low': 27.05, + 'adj_open': 27.99, + 'adj_volume': 2063825.0, + 'change': -0.92, + 'close': 27.05, + 'date': datetime.date(2023, 8, 31), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 28.34, + 'intraperiod': False, + 'low': 27.05, + 'open': 27.99, + 'percent_change': -0.0329, + 'split_ratio': 1.0, + 'volume': 2063825.0}, + {'adj_close': 27.97, + 'adj_high': 28.96, + 'adj_low': 27.75, + 'adj_open': 27.88, + 'adj_volume': 1710857.0, + 'change': -0.04, + 'close': 27.97, + 'date': datetime.date(2023, 8, 30), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 28.96, + 'intraperiod': False, + 'low': 27.75, + 'open': 27.88, + 'percent_change': -0.0014, + 'split_ratio': 1.0, + 'volume': 1710857.0}, + {'adj_close': 28.01, + 'adj_high': 28.46, + 'adj_low': 27.77, + 'adj_open': 28.09, + 'adj_volume': 1827577.0, + 'change': -0.29, + 'close': 28.01, + 'date': datetime.date(2023, 8, 29), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 28.46, + 'intraperiod': False, + 'low': 27.77, + 'open': 28.09, + 'percent_change': -0.0102, + 'split_ratio': 1.0, + 'volume': 1827577.0}, + {'adj_close': 28.3, + 'adj_high': 29.27, + 'adj_low': 28.01, + 'adj_open': 29.13, + 'adj_volume': 2651473.0, + 'change': -0.56, + 'close': 28.3, + 'date': datetime.date(2023, 8, 28), + 'dividend': 0.0, + 'factor': 1.0, + 'fifty_two_week_high': 51.69, + 'fifty_two_week_low': 23.38, + 'frequency': 'daily', + 'high': 29.27, + 'intraperiod': False, + 'low': 28.01, + 'open': 29.13, + 'percent_change': -0.0194, + 'split_ratio': 1.0, + 'volume': 2651473.0}]} diff --git a/Makefile b/Makefile index 327ab18..a74ce5e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,10 @@ # check out this: https://github.com/intrinio/python-sdk.git # then run: python setup.py install --user + +docn-stock-price: + ./stock_prices-DOCN.py + # ./stock_prices-DOCN.py > DOCN-last-90DAYS.txt + docn-insiders: ./DOCN-institutional-trans.py diff --git a/stock_prices-AAPL.py b/stock_prices-AAPL.py new file mode 100755 index 0000000..5aef6a9 --- /dev/null +++ b/stock_prices-AAPL.py @@ -0,0 +1,24 @@ +#!/usr/bin/python3 + +from __future__ import print_function +import time +from datetime import datetime, date, timedelta +import intrinio_sdk +from intrinio_sdk.rest import ApiException +from pprint import pprint + +intrinio_sdk.ApiClient().configuration.api_key['api_key'] = 'OjZjZGIzZmYyNDg4NDZjYjQ4NzAzMzAyZjg0OTU5MDcz' + +security_api = intrinio_sdk.SecurityApi() + +identifier = 'AAPL' # str | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) +start_date = str(date.today() - timedelta(days = 90)) # date | Get historical data on or after this date (optional) +end_date = str(date.today()) # date | Get historical date on or before this date (optional) +frequency = 'daily' # str | Sort by date `asc` or `desc` (optional) +next_page = '' # str | Gets the next page of data from a previous API call (optional) + +try: + api_response = security_api.get_security_stock_prices(identifier, start_date=start_date, end_date=end_date, frequency=frequency) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityApi->get_security_historical_data: %s\n" % e) diff --git a/stock_prices-DOCN.py b/stock_prices-DOCN.py new file mode 100755 index 0000000..b4139b1 --- /dev/null +++ b/stock_prices-DOCN.py @@ -0,0 +1,24 @@ +#!/usr/bin/python3 + +from __future__ import print_function +import time +from datetime import datetime, date, timedelta +import intrinio_sdk +from intrinio_sdk.rest import ApiException +from pprint import pprint + +intrinio_sdk.ApiClient().configuration.api_key['api_key'] = 'OjZjZGIzZmYyNDg4NDZjYjQ4NzAzMzAyZjg0OTU5MDcz' + +security_api = intrinio_sdk.SecurityApi() + +identifier = 'DOCN' # str | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) +start_date = str(date.today() - timedelta(days = 90)) # date | Get historical data on or after this date (optional) +end_date = str(date.today()) # date | Get historical date on or before this date (optional) +frequency = 'daily' # str | Sort by date `asc` or `desc` (optional) +next_page = '' # str | Gets the next page of data from a previous API call (optional) + +try: + api_response = security_api.get_security_stock_prices(identifier, start_date=start_date, end_date=end_date, frequency=frequency) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityApi->get_security_historical_data: %s\n" % e)