Algorithmic Trading
With Machine & Deep Learning
Workshop by Dr. Yves J. Hilpisch | The Python Quants GmbH
London, 12. October 2017
library(tidyverse) | |
library(kerasformula) | |
library(textfeatures) | |
tweets <- read_csv("https://raw.githubusercontent.com/fivethirtyeight/russian-troll-tweets/master/IRAhandle_tweets_1.csv", | |
n_max = 25000) %>% | |
mutate(text = content) | |
features <- textfeatures(tweets, threads = 2) |
### JHW 2018 | |
import numpy as np | |
import umap | |
# This code from the excellent module at: | |
# https://stackoverflow.com/questions/4643647/fast-prime-factorization-module | |
import random |
var fs = require('fs'); | |
var request = require('request-promise'); | |
var moment = require('moment') | |
// Globals | |
global.timestamp = moment().unix() | |
global.allPlaybacks = []; | |
global.geojson = {}; | |
global.geojson['type'] = 'FeatureCollection'; | |
global.geojson['features'] = []; |