Skip to content

Instantly share code, notes, and snippets.

View bblurock's full-sized avatar
🚀
OWNRIDES Thailand officially launched!

bblurock

🚀
OWNRIDES Thailand officially launched!
View GitHub Profile
What Is Derivatives Library (DLIB)?
DLIB <GO> allows you to structure a wide variety of derivative contracts across multiple asset classes, using pre-built deal templates for interest rate, FX, and equity securities, so you can work up pricing and analyze the risk of deals with exotic payoffs. You can also price hybrid securities that combine equity, FX, and interest rate features.
Although DLIB supports the vast majority of payoffs in the market, there are many variations of structured notes that cannot be priced using DLIB's native (pre-built) templates. To provide complete coverage, DLIB provides a scripting language (BLAN), a modeling tool you can use to create any payoff structure available in the market.
BLAN Templates: For information on customizing and pricing deals using BLAN templates, see BLAN Templates.
Native Templates: For information on pricing deals using native (pre-built) deal templates, see Native Templates. For descriptions of the deal templates available in DLIB, see Product Catalog.
B
@bblurock
bblurock / list.md
Created November 16, 2020 15:33 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@bblurock
bblurock / fontgen.py
Created February 6, 2016 03:28 — forked from medicalwei/fontgen.py
fontgen.py with faux bold and height adjustment code
#!/usr/bin/env python
import argparse
import freetype
import os
import re
import struct
import sys
import itertools
import json

Event Format

['EVENT_NAME', props]

Page View Event

ex:

['PAGE_VIEW', {
  uri: "/foo",
  isLogin: true|false,
let React = require('react');
let ReactDOM = require('react-dom');
let Parse = require('parse').Parse;
// Child Component
class CustomLogin extends React.Component {
constructor(props) {
super(props);
let React = require('react');
let ReactDOM = require('react-dom');
let Parse = require('parse').Parse;
// Child Component
class CustomLogin extends React.Component {
constructor(props) {
super(props);
@bblurock
bblurock / sms_css_font_setting.css
Created July 30, 2015 03:58
SMSTW Websites Default CSS Font Setting
body {
font-family : /* Mac's en-gb */
"Lucida Grande",
/* Windows's en-gb */
"Lucida Sans Unicode",
/* 黑體-繁細體 */
"STHeitiTC-Light",