Skip to content

Instantly share code, notes, and snippets.

Avatar

Toumatsu Mimi thunderrun

View GitHub Profile
View my-portfolio-2021-1-14.csv
证券代码 证券名称 指数权重(HSI) 持仓占比
02318.HK 中国平安 5.29 16.36%
03968.HK 招商银行 0.00 12.40%
01299.HK 友邦保险 10.82 8.51%
00700.HK 腾讯控股 9.71 7.63%
00005.HK 汇丰控股 7.78 6.12%
00939.HK 建设银行 5.82 4.58%
03690.HK 美团-W 4.82 3.79%
00388.HK 香港交易所 4.80 3.77%
01810.HK 小米集团-W 4.55 3.58%
@thunderrun
thunderrun / etf-cost-comparison.csv
Last active Jan 14, 2021
低费率和港股ETF持有成本对比
View etf-cost-comparison.csv
实际费用(2020上半年报)
易方达恒生国企ETF 1.13%
南方恒指ETF 1.16%
易方达中证红利ETF 0.40%
沪深300ETF易方达 0.33%
华夏沪港通恒生ETF 0.80%
华夏恒生ETF 1.15%
@thunderrun
thunderrun / hscei-etf-deviation.csv
Created Dec 31, 2020
恒生中国企业指数ETF跟踪误差比较
View hscei-etf-deviation.csv
过去一年 2019 2018 2017
恒生中國企業 -0.67% -0.84% -0.64% -1.16%
易方达恒生国企 -2.04% -1.46% -2.16% -1.26%
@thunderrun
thunderrun / vuex-general-purpose-mutations.js
Last active Dec 22, 2020
Vuex General Purpose Mutations
View vuex-general-purpose-mutations.js
const store = new Vuex.Store({
state: {
count: 0
},
mutations: {
set(state, payload) {
state[payload.key] = payload.value;
},
setVer2(state, payload) {
for (const [key, value] of Object.entries(payload)) {
@thunderrun
thunderrun / hsi-hscei-eft-cost.csv
Created Dec 18, 2020
恒生国企指数/恒生指数ETF持有成本对比
View hsi-hscei-eft-cost.csv
证券代码 证券名称 标的指数 股息率 基金全称 基金规模(亿) 托管费率 管理费率 全年經常性開支 标的ETF费率 证券组合费 H 股红利税 港股通占比(2020中报7.1章节) 总持有成本 估算港股通红利税成本 估算非港股通红利税成本 估算总红利税成本 理论跟踪偏离度
510900.SH H股ETF 恒生国企指数 3.37% 易方达恒生中国企业交易型开放式指数证券投资基金 CNY 98.42 0.20% 0.60% 0.008% 20% 75.08% 0.80800% 0.5060% 0.0420% 0.5480% -1.3560%
159920.SZ 恒生ETF 恒生指数 3.29% 恒生交易型开放式指数证券投资基金 CNY 87.35 0.15% 0.60% 0.008% 20% 93.73% 0.75800% 0.6167% 0.0052% 0.6219% -1.3799%
513660.SH 恒生ETF 恒生指数 3.29% 华夏沪港通恒生交易型开放式指数证券投资基金 CNY 8.77 0.10% 0.50% 0.008% 20% 0.60800% 0.6580% 0.6580% -1.2660%
159960.SZ 恒生国企 恒生国企指数 3.37% 平安港股通恒生中国企业交易型开放式指数证券投资基金 CNY 4.96 0.10% 0.50% 0.008% 20% 0.60800% 0.6740% 0.6740% -1.2820%
159823.SZ H股50ETF 恒生国企指数 3.37% 嘉实恒生中国企业交易型开放式指数证券投资基金(QDII) CNY 2.97 0.05% 0.15% 0.597500% 10% 0.79750% 0.1685% 0.1685% -0.9660%
513600.SH 恒生指数ETF 恒生指数 3.29% 南方恒生交易型开放式指数证券投资基金 CNY 2.60 0.10% 0.50% 0.008% 20% 0.60800% 0.6580% 0.6580% -1.2660%
159954.SZ H股ETF 恒生国企指数 3.37% 南方恒生中国企业交易型开放式指数证券投资基金 CNY 2.42 0.10% 0.50% 0.008% 20% 0.60800% 0.6740% 0.6740% -1
@thunderrun
thunderrun / element-ui-radio-buttons.html
Last active Dec 22, 2020
Seperate Element UI Radio Buttons
View element-ui-radio-buttons.html
<template>
<el-radio-group class="radio-buttons">
<el-radio-button label="New York"></el-radio-button>
<el-radio-button label="Washington"></el-radio-button>
<el-radio-button label="Los Angeles"></el-radio-button>
<el-radio-button label="Chicago"></el-radio-button>
</el-radio-group>
</template>
<style scoped>
@thunderrun
thunderrun / merge.bat
Created Dec 5, 2020
Merge current branch into master
View merge.bat
git push
FOR /F "tokens=*" %%g IN ('git branch --show-current') do (
SET CurrentBranch=%%g
)
git checkout master
git pull
git merge %CurrentBranch%
git push
git checkout %CurrentBranch%
View qzone-album-batch-delete.js
const iframe = document.querySelector('iframe[id="tphoto"]').contentWindow;
const expands = iframe.document.querySelectorAll('.js-album-op-tip');
expands.forEach((node) => {
node.click();
});
const elements = iframe.document.querySelectorAll('.js-album-delete');
let index = 0;
const total = elements.length;
@thunderrun
thunderrun / antd-vue-radio-buttons.html
Last active Dec 4, 2020
Seperate Ant Design Radio Buttons
View antd-vue-radio-buttons.html
<template>
<a-radio-group
class="radio-buttons"
button-style="outline"
>
<a-radio-button value="a">
Hangzhou
</a-radio-button>
<a-radio-button value="b">
Shanghai