摘要: 参考: https://blog.csdn.net/sqy941013/article/details/80536181 阅读全文
posted @ 2020-04-22 10:29 程式交易 阅读(910) 评论(0) 推荐(0) 编辑
摘要: .vscode 2019-09-05 8 months ago 0001.两数之和 2020-01-25 3 months ago 0002.两数相加 2019-09-08 8 months ago 0003.无重复字符的最长子串 2019-09-08 8 months ago 0004.寻找两个有 阅读全文
posted @ 2020-04-22 10:27 程式交易 阅读(772) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import requests import traceback import re import os from bs4 import BeautifulSoup # 獲取網頁內容 def get_html_text(url): try: r = r 阅读全文
posted @ 2020-04-22 10:09 程式交易 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 1.准备工作 服务器一,操作系统Debian 8,IP地址192.168.15.10,主机名master,mysql版本5.5。 服务器二,操作系统Debian 8,IP地址192.168.15.11,主机名slave,mysql版本5.5。 2.配置 a)配置Master root@master: 阅读全文
posted @ 2020-04-22 10:01 程式交易 阅读(140) 评论(0) 推荐(0) 编辑
摘要: shell命令 root@debian:~# mysqlimport -uroot -p123456 --fields-terminated-by=',' --fields-enclosed-by='"' --fields-escaped-by='"' database_name /var/lib/ 阅读全文
posted @ 2020-04-22 09:57 程式交易 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 1.能够获得股票部分金融数据 2.能够获得日线,周线,60分钟数据线,月线,30分钟数据。### 3.能够获得历史数据,但是部分各大网站的股票的历史数据有很大的误差,情谨慎鉴别 源码地址:https://github.com/nooperpudd/chinastock/blob/master/sto 阅读全文
posted @ 2020-04-22 09:47 程式交易 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 1.接口 http://qt.gtimg.cn/q=sz000001 v_sz000001="51~平安银行~000001~9.52~9.48~9.50~671452~320552~350900~9.51~2107~9.50~4457~9.49~2416~9.48~1292~9.47~864~9.5 阅读全文
posted @ 2020-04-22 09:41 程式交易 阅读(4572) 评论(0) 推荐(0) 编辑
摘要: import requests # txt文件,存储股票代码,一行一个代码,小写字母 f = open(r"G:\pycharm_code\stock.txt") symbols = [line.strip() for line in f.readlines()] f.close() def get 阅读全文
posted @ 2020-04-21 21:30 程式交易 阅读(253) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/yunerlalala/p/6341050.html 阅读全文
posted @ 2020-04-19 00:31 程式交易 阅读(284) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/txw1958/archive/2012/07/28/python3-stock.html 阅读全文
posted @ 2020-04-19 00:30 程式交易 阅读(1057) 评论(0) 推荐(0) 编辑