Skip to content

Instantly share code, notes, and snippets.

View austinlouden's full-sized avatar
🏃‍♂️

Austin Louden austinlouden

🏃‍♂️
View GitHub Profile
A financial analysis tool which reads data from SEC filings and other sources to help analysts build models, make predictions and recommendations.
#!/bin/sh
# This script installs the Nix package manager on your system by
# downloading a binary distribution and running its installer script
# (which in turn creates and populates /nix).
{ # Prevent execution if this script was only partially downloaded
oops() {
echo "$0:" "$@" >&2
exit 1
# Install the Buildkite Agent
TOKEN="{YOUR_BUILDKITE_TOKEN}" bash -c "`curl -sL https://raw.githubusercontent.com/buildkite/agent/master/install.sh`"
# Start the agent with the following
~/.buildkite-agent/bin/buildkite-agent start --meta-data “queue=ios”
steps:
- label: ':female-scientist:'
command: 'nix-shell . --run "make pincore_test"'
agents:
- "queue=ios-test"
- label: ':hammer_and_wrench:'
command: 'nix-shell . --run "make debug"'
artifact_paths: 'bazel-bin/Pinterest/iOS/App/PinterestEnterprise.ipa'
agents:
with import <nixpkgs>{};
let
gems = bundlerEnv {
name = "pinterest";
inherit ruby_2_3;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};

What I know

The SEC allows people to access data without an API, but it's through the raw text or XBRL. XBRL has XML syntax, but it's not standardized. This means it's only marginally more useful than raw text. For a while, companies may have been reporting things incorrectly in XBRL (https://en.wikipedia.org/wiki/XBRL#Lack_of_accuracy).

Because of this terrible dataset, a few companies have emerged to either provide a better SEC API, or to help with the analysis as well, like

0,2
1,2
2,2
3,2
4,2
5,2
6,2
7,2
8,2
9,2
@austinlouden
austinlouden / keybase.md
Last active May 24, 2017 07:54
keybase.md

Keybase proof

I hereby claim:

  • I am austinlouden on github.
  • I am austinlouden (https://keybase.io/austinlouden) on keybase.
  • I have a public key ASBd-vjRN3VWPKMoU0WSmFV3OO23wLLuIJknqtZAZeB9zAo

To claim this, I am signing this object:

#import "AppDelegate.h"
#import "MainViewController.h"
...
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
@austinlouden
austinlouden / gist:5827557
Created June 20, 2013 23:04
Make Objects Perform Selector
[[someUIView subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];