Skip to content

Instantly share code, notes, and snippets.

View poulter7's full-sized avatar

Jonathan Poulter poulter7

View GitHub Profile
@poulter7
poulter7 / timepoint
Created April 7, 2013 00:33
Unix converters
datetimes = [datetime.datetime.fromtimestamp(timestamp) for timestamp in timestamps]
dates = matplotlib.dates.date2num(datetimes)

For Python Quants Bootcamp

This is the Gist the For Python Quants Bootcamp in London 23. November 2017 (http://fpq.io)

This third boocamp day is about Python for Algorithmic Trading (I).

Topics

For Python Quants Bootcamp

This is the Gist the For Python Quants Bootcamp in London, 21.-24. November 2017 (http://fpq.io)

Notebooks & Code Files

For Python Quants Bootcamp

This is the Gist the For Python Quants Bootcamp in London 24. November 2017 (http://fpq.io)

This fourth boocamp day is about Python for Algorithmic Trading (II).

Topics

@poulter7
poulter7 / ContentView.swift
Created April 21, 2020 03:03
An example of using UserDefaults
import SwiftUI
struct ContentView: View {
// stores the input from the text field
@State private var message = ""
// stores the saved input
// note the this variable is initialized from the UserDefaults
@State private var pesistedMessage = UserDefaults.standard.string(forKey: "UserMessage")
var body: some View {