2024年5月10日

摘要: Ray core https://mp.weixin.qq.com/s/8yJ9CO61ZraAvfw8X0Rz-g 阅读全文
posted @ 2024-05-10 10:05 ac23 阅读(1) 评论(0) 推荐(0) 编辑

2024年5月8日

摘要: 直接使用以下脚本: import psycopg2 import duckdb import pandas as pd # Connect to PostgreSQL conn_postgres = psycopg2.connect( dbname="pg_test_db", user="your_ 阅读全文
posted @ 2024-05-08 15:22 ac23 阅读(1) 评论(0) 推荐(0) 编辑

2024年5月7日

摘要: zipline https://zipline.ml4trading.io/install.html TA-lib 如这篇文章所言 https://stackoverflow.com/a/75311818/16205177 阅读全文
posted @ 2024-05-07 14:01 ac23 阅读(2) 评论(0) 推荐(0) 编辑

2024年4月22日

摘要: 背景 阅读全文
posted @ 2024-04-22 10:42 ac23 阅读(3) 评论(0) 推荐(0) 编辑

2024年4月18日

摘要: for code in codes: # Get the data of the stock that corresponds to the current ticker symbol. current_stock = origin_data[code] mask = (current_stock[ 阅读全文
posted @ 2024-04-18 11:02 ac23 阅读(2) 评论(0) 推荐(0) 编辑

2024年3月27日

摘要: 原始报错 ERROR: database "research db" is being accessed by other usersDetail: There are 20 other sessions using the database. 解决办法 第一步 https://stackoverf 阅读全文
posted @ 2024-03-27 10:20 ac23 阅读(3) 评论(0) 推荐(0) 编辑

2024年3月12日

摘要: 背景 只在CFLAGS和CXXFLAGS加-fsanitize=address是不够的,会编译失败,报出一堆undefined reference to __asan_report_XXX这样的报错,例如 undefined reference to __asan_report_load1 各种各种 阅读全文
posted @ 2024-03-12 15:51 ac23 阅读(69) 评论(0) 推荐(0) 编辑

2024年3月11日

摘要: 1.开启了x11功能的mobaxterm(mobaXterm默认开启了,其他的终端可能还要设置开启)上安装一些必要依赖 sudo apt install libxext6 libxrender1 libxtst6 libxi6 libfreetype6 -y sudo apt-get install 阅读全文
posted @ 2024-03-11 10:15 ac23 阅读(34) 评论(0) 推荐(0) 编辑

2024年3月6日

摘要: 解决办法 要定时执行的shell脚本开头引入你自己有访问权限的环境变量文件: #!/bin/sh . /home/hsy/.profile(这是Ubuntu的,如果是CentOS就改成bash_profile) . /home/hsy/.bashrc # 以下写你脚本的内容 crontab -e要这 阅读全文
posted @ 2024-03-06 14:30 ac23 阅读(3) 评论(0) 推荐(0) 编辑

2024年2月29日

摘要: 原文: http://anders.wang/pandaszhong-set_index-he-reset_index-yi-ji-reindex-qu-bie/ 写得比较好,感谢作者 阅读全文
posted @ 2024-02-29 15:31 ac23 阅读(1) 评论(0) 推荐(0) 编辑