上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页
摘要: Python和Pandas 时间处理 python标准库包含于日期(date)和时间(time)数据的数据类型,datetime、time以及calendar模块会被经常用到。 datetime以毫秒形式存储日期和时间,datetime.timedelta表示两个datetime对象之间的时间差。给 阅读全文
posted @ 2022-08-10 16:12 FrostyForest 阅读(3495) 评论(0) 推荐(0) 编辑
摘要: selenium模拟浏览器后出现这个bug。 解决方法: 在C:\Users\林海\AppData\Local\Google\Chrome\Application\104.0.5112.81下新建一个104.0.5112.81.manifest文件 内容为: <assembly xmlns='urn 阅读全文
posted @ 2022-08-10 13:00 FrostyForest 阅读(742) 评论(0) 推荐(0) 编辑
摘要: 计算公式 ( 年化收益率 - 无风险收益) / 年化收益波动率, 其中 年化收益率 = (总收益 + 1)^(365.25 / 天数) - 1, 无风险收益 =4%, 年化收益波动率 =stdev(日收益) *sqrt(250) 。 阅读全文
posted @ 2022-08-10 12:04 FrostyForest 阅读(1470) 评论(0) 推荐(0) 编辑
摘要: 思路: 获取相应组合的调仓数据 转化为自己组合的调仓数据 获得的是一行字符串 将字符串转为对应数据结构 点开调仓页面 通过股票名称定位输入框,再输入对应调仓数据 完成调仓 阅读全文
posted @ 2022-08-09 20:54 FrostyForest 阅读(25) 评论(0) 推荐(0) 编辑
摘要: git bash中输入 git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy https://127.0.0.1:1080 git config --global --unset ht 阅读全文
posted @ 2022-08-09 01:35 FrostyForest 阅读(37) 评论(0) 推荐(0) 编辑
摘要: git删除远程分支 git push origin --delete [branch_name] 删除本地分支区别 git branch -d 会在删除前检查merge状态(其与上游分支或者与head)。 git branch -D 是git branch --delete --force的简写,它 阅读全文
posted @ 2022-08-09 00:12 FrostyForest 阅读(305) 评论(0) 推荐(0) 编辑
摘要: https://www.seedblog.cn/article_details/533 阅读全文
posted @ 2022-08-09 00:05 FrostyForest 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 用git bash执行 git config --global http.sslVerify "false" 阅读全文
posted @ 2022-08-08 23:47 FrostyForest 阅读(381) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq724737991/article/details/123009472 阅读全文
posted @ 2022-08-08 13:05 FrostyForest 阅读(98) 评论(0) 推荐(0) 编辑
摘要: import csv a = [] f = open('follow_name_1.txt','r',encoding='utf-8') line = f.readline() while line: a.append(line.split())#保存文件是以空格分离的 line = f.readl 阅读全文
posted @ 2022-08-07 12:04 FrostyForest 阅读(1343) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页