Skip to content

Instantly share code, notes, and snippets.

{
"stock_price_adjustments": [
{
"date": "2020-05-08",
"factor": 0.997300322644367,
"dividend": 0.82,
"dividend_currency": "USD",
"split_ratio": 1.0
},
{
{
"stock_prices": [
{
"date": "2020-05-21",
"intraperiod": false,
"frequency": "daily",
"open": 318.66,
"high": 320.89,
"low": 315.87,
"close": 316.85,
{
"stock_exchanges": [
{
"id": "sxg_xgxM8X",
"name": "AB NASDAQ VILNIUS",
"mic": "XLIT",
"acronym": "LIT",
"city": "VILNIUS",
"country": "LITHUANIA",
"country_code": "LT",
@alexnsolo
alexnsolo / AAPL-income_statement-2018-Q1.json
Created May 20, 2020 22:20
AAPL-income_statement-2018-Q1
{
"standardized_financials": [
{
"data_tag": {
"id": "tag_NX6GzO",
"name": "Operating Revenue",
"tag": "operatingrevenue",
"parent": "totalrevenue",
"sequence": 1,
"factor": "+",
{
"fundamentals": [
{
"id": "fun_z541aN",
"statement_code": "cash_flow_statement",
"fiscal_year": 2017,
"fiscal_period": "FY",
"type": "restated",
"start_date": "2016-09-25",
"end_date": "2017-09-30",
@alexnsolo
alexnsolo / historical_insider_ownership
Last active May 14, 2020 20:48
Intrinio API Ruby Script for Historical Insider Ownership
###########################################################################
# Get Historical Insider Ownership for a Company on a Given Date
###########################################################################
require 'net/http'
require 'json'
require 'date'
#--------------------------------------------------------------------------
# Variables
@alexnsolo
alexnsolo / insider_transactions_aapl.json
Created May 7, 2020 19:51
Intrinio API Insider Transactions
# https://api.intrinio.com/companies/insider_transactions?identifier=AAPL&api_key={YOUR_API_KEY}
{
"data": [
{
"owner_cik": "0001051401",
"owner_name": "JUNG ANDREA",
"filing_date": "2020-04-30",
"filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019320000054/xslF345X03/wf-form4_158829658358801.xml",
"director": true,
@alexnsolo
alexnsolo / insider_ownership_AAPL.json
Last active May 7, 2020 19:43
Intrinio API for Insider Ownership of AAPL
# https://api.intrinio.com/companies/insider_ownership?identifier=AAPL&api_key={YOUR_API_KEY}
{
"data": [
{
"owner_cik": "0001214128",
"owner_name": "LEVINSON ARTHUR D",
"last_reported_date": "2020-02-04",
"value": 345749000,
"amount": 1150083
### Keybase proof
I hereby claim:
* I am civilframe on github.
* I am alexsolo (https://keybase.io/alexsolo) on keybase.
* I have a public key ASAnUU5xjdh_Hx5hqv5XdqWhF3FlWUfHoO-0V9h7OIQkFAo
To claim this, I am signing this object:
defmodule AcmeUdpLogger do
use Application
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
# We will add our children here later
]