This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//+------------------------------------------------------------------+ | |
//| uuid.mqh | | |
//| Universally unique identifier | | |
//| Copyright © 2014, FemtoTrader | | |
//| https://sites.google.com/site/femtotrader/ | | |
//+------------------------------------------------------------------+ | |
#property copyright "Copyright © 2014, FemtoTrader" | |
#property link "https://sites.google.com/site/femtotrader/" | |
#property version "1.00" | |
#property strict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//+------------------------------------------------------------------+ | |
//| string_toolbox.mqh | | |
//| Copyright © 2014, FemtoTrader | | |
//| https://sites.google.com/site/femtotrader/ | | |
//+------------------------------------------------------------------+ | |
#property copyright "Copyright © 2014, FemtoTrader" | |
#property link "https://sites.google.com/site/femtotrader/" | |
#property version "1.00" | |
//+------------------------------------------------------------------+ | |
//| Enclose string with simple quote (') | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//+------------------------------------------------------------------+ | |
//| json_toolbox.mqh | | |
//| Copyright © 2014, FemtoTrader | | |
//| https://sites.google.com/site/femtotrader/ | | |
//+------------------------------------------------------------------+ | |
#property copyright "Copyright © 2014, FemtoTrader" | |
#property link "https://sites.google.com/site/femtotrader/" | |
#property version "1.00" | |
#include <string_toolbox.mqh> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Netfonds import 5 days of intraday data | |
''' | |
import numpy as np | |
import pandas as p | |
from pandas.tseries.offsets import * | |
import datetime as dt | |
import matplotlib.pyplot as plt | |
size = (14,10) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import time | |
t0 = time.clock() | |
import pandas as pd | |
from pandas.tseries.offsets import BDay | |
import numpy as np | |
import datetime as dt | |
from copy import copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################## | |
## ## | |
## VaR and C-VaR computation with ETV on EURUSD ## | |
## ## | |
## by Charles-Abner Dadi ## | |
## ## | |
## <[email protected]> ## | |
## ## | |
############################################################## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://scikit-learn.org/stable/auto_examples/applications/face_recognition.html#example-applications-face-recognition-py | |
from sklearn.ensemble import RandomForestClassifier | |
from numpy import genfromtxt, savetxt | |
from sklearn import neighbors, datasets | |
from sklearn.cross_validation import train_test_split | |
from sklearn.datasets import fetch_lfw_people | |
from sklearn.grid_search import GridSearchCV | |
from sklearn.metrics import classification_report | |
from sklearn.metrics import confusion_matrix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Feb 17 13:56:10 2014 | |
@author: root | |
""" | |
import urllib2 | |
opener = urllib2.build_opener() | |
from bs4 import BeautifulSoup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +femtotrader is my blockchain ID. https://onename.com/femtotrader |
OlderNewer