Skip to content

Instantly share code, notes, and snippets.

View QuantTraderEd's full-sized avatar
🤔
Let me think..

QuantTraderEd

🤔
Let me think..
View GitHub Profile
# -*- coding: utf-8 -*-
"""
Created on Wed Nov 26 13:35:55 2014
@author: assa
"""
import time
import numpy as np
import pandas as pd
@QuantTraderEd
QuantTraderEd / IBPy_Test1
Created September 28, 2014 10:47
IBPy_Test1
# -*- coding: utf-8 -*-
"""
Created on Sun Sep 28 18:48:04 2014
@author: assa
"""
from ib.opt import Connection, message
from ib.ext.Contract import Contract
from ib.ext.Order import Order
@QuantTraderEd
QuantTraderEd / optionview_getATM.py
Last active August 29, 2015 14:10
xing_test2.py
# -*- coding: utf-8 -*-
"""
Created on Thu Jan 22 09:01:06 2015
@author: assa
"""
import os
import sqlite3 as lite
import pandas as pd
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 05 10:02:17 2015
@author: assa
"""
import pdb
import pandas as pd
import cx_Oracle as odb
@QuantTraderEd
QuantTraderEd / outlook.py
Last active August 29, 2015 14:12
outlook
# -*- coding: utf-8 -*-
"""
Created on Fri Dec 19 18:22:02 2014
@author: assa
"""
import win32com.client
olMailItem = 0x0
obj = win32com.client.Dispatch("Outlook.Application")
@QuantTraderEd
QuantTraderEd / logger_ex4.py
Last active August 29, 2015 14:14
thread logging test
# -*- coding: utf-8 -*-
"""
Created on Thu Feb 1 21:28:22 2015
@author: assa
"""
import sys
import logging
from PyQt4 import QtCore, QtGui
@QuantTraderEd
QuantTraderEd / burger_index.py
Last active December 10, 2017 11:12
Burger Index (py2.7)
# -*- coding: utf-8 -*-
"""
Created on Mon Jan 26 11:10:09 2015
@author: ASSA
"""
import urllib
import urllib2
import json
@QuantTraderEd
QuantTraderEd / TotalRun.py
Last active August 29, 2015 14:15
TotalRun
# -*- coding: utf-8 -*-
"""
Created on Tue Nov 05 10:43:47 2013
@author: Administrator
"""
import os
import time
import psutil
@QuantTraderEd
QuantTraderEd / BlackSholesPricer.py
Last active August 29, 2015 14:16
BlackSholesPricer
# -*- coding: utf-8 -*-
"""
Created on Thu Feb 26 15:00:36 2015
@author: assa
"""
import numpy as np
import scipy.stats as ss
import time
@QuantTraderEd
QuantTraderEd / OptionViewer_ImpliedVolatility.py
Last active August 29, 2015 14:16
OptionViewer_InpliedVolatility.py
# -*- coding: utf-8 -*-
"""
Created on Fri Feb 27 14:51:01 2015
@author: assa
"""
import pdb
import time
import os
import sqlite3 as lite