摘要:1. 幸存者理论只选择幸存者百倍股(腾讯,平果),却忽略了无数已衰落的企业(阿里)。 2. 后视镜理论错误使用了未来的数据,如a. 当天的收盘价。b. 技术指标含有未来的数据。 3. 单一市场适用策略只适用於A50,却不适用於恒指。如果增加市场,策略就不适用,即该策略是无效。 4. 过度调优叁数过度
阅读全文
|
06 2022 档案
摘要:1. 幸存者理论只选择幸存者百倍股(腾讯,平果),却忽略了无数已衰落的企业(阿里)。 2. 后视镜理论错误使用了未来的数据,如a. 当天的收盘价。b. 技术指标含有未来的数据。 3. 单一市场适用策略只适用於A50,却不适用於恒指。如果增加市场,策略就不适用,即该策略是无效。 4. 过度调优叁数过度
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:1.0 database connection define( 'DB_NAME', 'db_table' ); define( 'DB_USER', 'db_name' ); define( 'DB_PASSWORD', 'db_password' ); define( 'DB_HOST', 'd
阅读全文
摘要:官方文檔: https://docs.infura.io/infura/tutorials/ethereum/call-a-contract 由於開發時,官方文檔未更新,所以用另外的方法來實現。 1.0 install @ethereumjs/tx npm install @ethereumjs/t
阅读全文
摘要:wordpress meta_query處理小數位時,會出現問題。官方提出的解決方法,是使用DECIMAL(10,3)來做值類型。 array('key' => 'wpsc_price_sell', 'value' => array((float)priceT
阅读全文
摘要:1. wordpress hook in construct() function __construct() { add_filter('post_type_link', [$this, 'custom_nft_permalink'], 1, 3); } 2. rewrite post link
阅读全文
摘要:1. IIS web.config <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php"
阅读全文
|