Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
import React, { Component } from 'react'; | |
import firebase from '@firebase/app'; | |
import firestore from './firestore'; // Code: https://gist.github.com/sconstantinides/546a48ba183b1234f750ca6261440199 | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
userId: localStorage.getItem('userId') || '', |
Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
{ | |
"2008/01/31":[ | |
"GHC", | |
"MDP", | |
"GAS", | |
"AZO", | |
"MIL", | |
"MXA", | |
"ASH", | |
"SNA", |
#!/usr/bin/env python3 | |
'''2021-03-26: Reverse-engineer by searching for the following terms in features*.js: | |
- bracketMaintenanceMarginRate | |
- cumFastMaintenanceAmount | |
- bracketNotionalFloor | |
- bracketNotionalCap''' | |
# (max) position, maintenance margin, maintenance amount | |
maint_lookup_table = [ |