Skip to content

Instantly share code, notes, and snippets.

@wrighter
wrighter / present_value.ipynb
Last active October 1, 2019 12:55
Present Value
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wrighter
wrighter / iex_cloud.ipynb
Created November 15, 2019 14:31
Demonstrates some ways to use IEX Cloud to fetch financial data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wrighter
wrighter / aapl_zipline.ipynb
Last active December 9, 2019 00:06
Shows a few simple zipline backtests
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wrighter
wrighter / get_ticks.py
Created January 23, 2020 23:45
A basic Interactive Brokers command line Python application to fetch streaming market data.
#!/usr/bin/env python
""" A simple Interactive Brokers application that will fetch
current market data for a contract from the IB TWS/Gateway. """
import argparse
import logging
from typing import List
from ibapi import wrapper
@wrighter
wrighter / download_bars.py
Last active October 4, 2024 21:50
A command line utility to download historical data from Interactive Brokers
#!/usr/bin/env python
import os
import sys
import argparse
import logging
from datetime import datetime, timedelta
from typing import List, Optional
from collections import defaultdict
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.