Skip to content

Instantly share code, notes, and snippets.

View dirkolbrich's full-sized avatar
😎

Dirk Olbrich dirkolbrich

😎
View GitHub Profile
// A SceneKit based Playground to test camera position and movement
// using a camera orbit
import SceneKit
import PlaygroundSupport
// setup view
var sceneView = SCNView(frame: CGRect(x:0 , y:0, width: 480, height: 640))
var scene = SCNScene()
sceneView.scene = scene
// A SceneKit based Playground to test camera movement and direction
// using the built in CameraControls
import SceneKit
import PlaygroundSupport
// setup view
var sceneView = SCNView(frame: CGRect(x:0 , y:0, width: 480, height: 640))
var scene = SCNScene()
sceneView.scene = scene
import matplotlib.pyplot as plt
import numpy as np
def geometric_brownian(years, drift, sigma, startPrice):
T=years
mu = drift
simga = sigma
S0 = startPrice
dt = 0.01
@dirkolbrich
dirkolbrich / main.go
Created June 20, 2018 13:40
concept of an algorithm tree - test in the playground https://play.golang.org/p/1fV78iCy_71
// This package demonstrates a concept of a strategy/asset tree, where each
// strategy has an algorythm stack. Each strategy can have different child strategies or assets.
package main
import (
"fmt"
)
// NodeHandler defines the basic node functionality.
type NodeHandler interface {

Keybase proof

I hereby claim:

  • I am dirkolbrich on github.
  • I am dirkolbrich (https://keybase.io/dirkolbrich) on keybase.
  • I have a public key ASDtG5c-XbecP5B6uYqnTkb60fov3NncqyCtBKanFFyFjwo

To claim this, I am signing this object: