To use:
import ScrollView from 'ScrollView.jsx`;
...
render() {
return (
<ScrollView>
{aListThatScrolls}
</ScrollView>
);
Get backtesting data of DMA Strategy | |
/api/dma_backtesting/?code=000001&short=5&long=20&sd=0.05&length=700 | |
Get buy/sell signal of latest trading day for DMA strategy | |
/api/dma_today/?code=000001&short=5&long=20&sd=0.05 | |
Get all stock list | |
/api/stock_list/?category=hs300&keyword=xxx | |
Get single stock's realtime data |
<script src="q.js"></script> | |
<script src="q-data.js"></script> | |
<script src="q-basic.js"></script> | |
<script src="q-simulation.js"></script> | |
<script src="q-use.js"></script> | |
<script src="q-dma.js"></script> | |
<script src="q-realtime.js"></script> |
To use:
import ScrollView from 'ScrollView.jsx`;
...
render() {
return (
<ScrollView>
{aListThatScrolls}
</ScrollView>
);
... | |
render() { | |
return ( | |
<View> | |
// two components | |
<ListView/> | |
<MapView/> | |
</View> | |
) | |
} |
{ | |
"presets": ["es2015", "react", "stage-0"], | |
"plugins": ["react-hot-loader/babel"] | |
} |
Linux - create "Default (Linux).sublime-mousemap" in ~/.config/sublime-text-3/Packages/User | |
Mac - create "Default (OSX).sublime-mousemap" in ~/Library/Application Support/Sublime Text 3/Packages/User | |
Win - create "Default (Windows).sublime-mousemap" in %appdata%\Sublime Text 3\Packages\User | |
[ | |
{ | |
"button": "button1", | |
"count": 1, | |
"modifiers": ["ctrl"], | |
"press_command": "drag_select", |
var rules = [ | |
"*.163.com/*", | |
"*.126.net/*", | |
"*.126.com/*", | |
"*.netease.com/*", | |
"*.163music.com/*", | |
"*.126.net/*", | |
"*.163yun.com/*", | |
"*.127.net/*", | |
"*.miaozhen.com/*", |
# put in bashrc or zshrc | |
function code { | |
if [[ $# = 0 ]] | |
then | |
open -a "Visual Studio Code" | |
else | |
local argPath="$1" | |
[[ $1 = /* ]] && argPath="$1" || argPath="$PWD/${1#./}" | |
open -a "Visual Studio Code" "$argPath" | |
fi |
{ | |
"Scrollback With Status Bar" : true, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Blue Component" : 1, | |
"Green Component" : 0.3333333432674408, | |
"Red Component" : 0.3333333432674408 | |
}, |
TZ=America/Los_Angeles date +'%H:%M:%S YT' |