2022年3月18日
摘要: using namespace std; #include <string.h> #include <iostream> #include <cstring> #include <windows.h> #include <string> #include <vector> using namespa 阅读全文
posted @ 2022-03-18 11:46 alantop 阅读(126) 评论(3) 推荐(0) 编辑
  2021年11月20日
摘要: https://www.qt.io/offline-installers 阅读全文
posted @ 2021-11-20 17:15 alantop 阅读(88) 评论(0) 推荐(0) 编辑
  2021年11月14日
摘要: 如果有一个字段为null,拼接结果就为null SELECT CONCAT("name=",NAME,url,username,password) FROM user_password 如果字段里面含有null使用下面的 SELECT id,name,CONCAT_WS("| ",NAME,url, 阅读全文
posted @ 2021-11-14 11:48 alantop 阅读(2019) 评论(0) 推荐(0) 编辑
  2021年10月27日
摘要: 阅读全文
posted @ 2021-10-27 16:00 alantop 阅读(117) 评论(0) 推荐(0) 编辑
  2021年10月15日
摘要: 查询应用程序在使用那张表 show OPEN TABLES where In_use > 0; 某列数据有重复的值,查询该重复的值 select cardno from csv group by cardno having count(*) >= 2 一张表放id和姓名 一张表放id和卡号 通过内连 阅读全文
posted @ 2021-10-15 12:13 alantop 阅读(64) 评论(0) 推荐(0) 编辑
  2021年10月2日
摘要: 用python3下载最新的ssr服务器地址: 2.py import urllib.request import sys import time timetag = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) print (timetag 阅读全文
posted @ 2021-10-02 22:20 alantop 阅读(495) 评论(0) 推荐(0) 编辑
摘要: // 除权换月相关设置 AddDataFlag(Enum_Data_RolloverBackWard()); //设置后复权 //复权有前复权和后复权两种方式。前复权会导致历史价格不断地变化,所以会引起交易信号的前后不一致。所以我们采用后复权的方式。 AddDataFlag(Enum_Data_Ro 阅读全文
posted @ 2021-10-02 22:09 alantop 阅读(498) 评论(0) 推荐(0) 编辑
  2021年9月24日
摘要: 买入:昨日收盘价 大于 均线 + 3 *ATR 卖出:昨日收盘价 小于 均线 - 3 *ATR 始终有持仓 ATR通道趋势跟踪策略tbquant源码 // // 简称: alantop_ATR_tunnel // 名称: 均线为中轨的ATR通道 // 类别: 公式应用 // 类型: 用户应用 // 阅读全文
posted @ 2021-09-24 14:25 alantop 阅读(3966) 评论(0) 推荐(0) 编辑
  2021年9月23日
摘要: ATR吊灯止损策略定义: 做多,止损放在最高价之下N个ATR。 做空,止损放在最低价之上N个ATR。 该策略生成的止损点就像是从市场最高价的“天花板”上悬挂下来的吊灯。所以命名为ATR吊灯止损策略。 有效性 Van K.Tharp在《通向金融王国的自由之路》一书中对其有效性做了研究:该研究表明即使用 阅读全文
posted @ 2021-09-23 22:07 alantop 阅读(2916) 评论(0) 推荐(0) 编辑
  2021年9月17日
摘要: ui->tableWidget->setColumnCount(5); ui->tableWidget->setHorizontalHeaderLabels(QStringList() << "name" << "url" << "password" ); ui->tableWidget->setR 阅读全文
posted @ 2021-09-17 13:03 alantop 阅读(302) 评论(0) 推荐(0) 编辑