科技美学

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  90 随笔 :: 0 文章 :: 1 评论 :: 69469 阅读

06 2022 档案

摘要:1. 幸存者理论只选择幸存者百倍股(腾讯,平果),却忽略了无数已衰落的企业(阿里)。 2. 后视镜理论错误使用了未来的数据,如a. 当天的收盘价。b. 技术指标含有未来的数据。 3. 单一市场适用策略只适用於A50,却不适用於恒指。如果增加市场,策略就不适用,即该策略是无效。 4. 过度调优叁数过度 阅读全文
posted @ 2022-06-26 11:21 chankuang 阅读(167) 评论(0) 推荐(0) 编辑

摘要:1. git global url config error npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git It is a wrong gi 阅读全文
posted @ 2022-06-17 14:09 chankuang 阅读(62) 评论(0) 推荐(0) 编辑

摘要:1.0 edit fontsize {root}\venv\Lib\site-packages\pyfolio\plotting.py def plotting_context(context='notebook', font_scale=1.0, rc=None): line 58, scale 阅读全文
posted @ 2022-06-16 11:10 chankuang 阅读(50) 评论(0) 推荐(0) 编辑

摘要:1.0 Python Python 3.6.8 (must use this python version) 2.0 requirements.txt backtrader==1.9.76.123 pyfolio==0.9.2 zipline==1.3.0 pandas==0.22.0 yfinan 阅读全文
posted @ 2022-06-16 10:44 chankuang 阅读(370) 评论(0) 推荐(0) 编辑

摘要:1.0 database connection define( 'DB_NAME', 'db_table' ); define( 'DB_USER', 'db_name' ); define( 'DB_PASSWORD', 'db_password' ); define( 'DB_HOST', 'd 阅读全文
posted @ 2022-06-10 16:35 chankuang 阅读(64) 评论(0) 推荐(0) 编辑

摘要:官方文檔: https://docs.infura.io/infura/tutorials/ethereum/call-a-contract 由於開發時,官方文檔未更新,所以用另外的方法來實現。 1.0 install @ethereumjs/tx npm install @ethereumjs/t 阅读全文
posted @ 2022-06-10 16:23 chankuang 阅读(41) 评论(0) 推荐(0) 编辑

摘要:wordpress meta_query處理小數位時,會出現問題。官方提出的解決方法,是使用DECIMAL(10,3)來做值類型。 array('key' => 'wpsc_price_sell', 'value' => array((float)priceFrom,(float)priceT 阅读全文
posted @ 2022-06-10 10:39 chankuang 阅读(17) 评论(0) 推荐(0) 编辑

摘要:1. wordpress hook in construct() function __construct() { add_filter('post_type_link', [$this, 'custom_nft_permalink'], 1, 3); } 2. rewrite post link 阅读全文
posted @ 2022-06-10 10:23 chankuang 阅读(94) 评论(0) 推荐(0) 编辑

摘要:1. IIS web.config <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" 阅读全文
posted @ 2022-06-08 16:57 chankuang 阅读(99) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示