Skip to content

Instantly share code, notes, and snippets.

View arthurpham's full-sized avatar

Arthur Pham arthurpham

View GitHub Profile
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 2 13:23:34 2016
@author: Brian Christopher, CFA [Blackarbs LLC]
"""
import pandas as pd
from more_itertools import unique_everseen
import requests
@arthurpham
arthurpham / ib-tos-convert.py
Created August 29, 2017 16:21 — forked from stevegee58/ib-tos-convert.py
Interactive Brokers to Thinkorswim Trade Log Converter
import sys
import operator
if (len(sys.argv) == 3):
inputFileName = sys.argv[1]
outputFolder = sys.argv[2]
# open symbols file
tradelogFile = open(inputFileName,"rU")
@arthurpham
arthurpham / ap_europeanoptions_gpu.ipynb
Last active January 14, 2022 13:47
AP_EuropeanOptions_GPU.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.