51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#Back
vector push_back数量大的时候变慢
才用15000个数据 push_back耗时就好几秒,解决方法是先resize15000,然后再for(inti=0;i<15000;i++){ Datadata; m_dataVect[i]=data;}没详细用时间戳试过减少多少时间...
代码星球
·
2021-02-14
vector
push
back
数量
大的
量化回测:backtrader回测封装代码
main#-*-coding:utf-8-*-#正常显示画图时出现的中文和负号frompylabimportmplmpl.rcParams['font.sans-serif']=['SimHei']importbacktraderasbtimportnumpyasnpfromtestpkgimportbac...
代码星球
·
2021-02-14
回测
量化
backtrader
封装
代码
量化回测:backtrader
backtrader是基于Python的量化回测框架,优点是运行速度快,支持pandas的矢量运算;支持参数自动寻优运算,内置了talib股票分析技术指标库;支持多品种、多策略、多周期的回测和交易;支持pyflio、empyrica分析模块库、alphalens多因子分析模块库等;扩展灵活,可以集成Tens...
代码星球
·
2021-02-14
量化
回测
backtrader
SQL事务用法begin tran,commit tran和rollback tran的用法
SqlServer2005/2008中提供了begintran,committran和rollbacktran来使用事务。begintran表示开始事务,committran表示提交事务,rollbacktran表示回滚事物--=============================================-...
代码星球
·
2021-02-13
tran
用法
SQL
事务
begin
css background之设置图片为背景技巧
原文 Background是什么意思,翻译过来有背景意思。同样在css里面作为css属性一成员同样是有背景意思,并且是设置背景图片、背景颜色、背景图片截取等样式。首先先来看看background有那些值(可进入CSS手册的background详细了解)可以按顺序设置如下属性(可点击进入相应的css手册查看使用...
代码星球
·
2021-02-12
css
background
设置
图片
背景
Logback动态修改日志级别
https://blog.csdn.net/totally123/article/details/78931287...
代码星球
·
2021-02-11
Logback
动态
修改
日志
级别
securityCRT mongoDB 命令行删除(backspace/delete)无效问题
1、MongoDBShell中退格键使用的问题。利用SecureCRT工具访问linux的时候,在使用MongoDB的交互式shell的时候,退格键(Backspace)无法使用,导致无法修改输入的字符。为这个错误,废了好长时间的力气,终于找到了错误的原因。其实,主要是SecureCRT工具默认的字符输入模式的问题,可...
代码星球
·
2021-02-11
securityCRT
mongoDB
命令行
删除
backspace
springboot里面logback使用
依赖的注入:<dependency><groupId>ch.qos.logback</groupId><artifactId>logback-core</artifactId><version>1.1.6</version></d...
代码星球
·
2021-02-09
springboot
里面
logback
使用
springboot配置logback的使用
logback.xml<?xmlversion="1.0"encoding="UTF-8"?><configuration><propertyname="LOG_HOME"value="/logs/mama-bike"/> <appendername="Console"cla...
代码星球
·
2021-02-09
springboot
配置
logback
使用
How to create and manage configuration backups in Internet Information Services 7.0
https://support.microsoft.com/en-us/help/954872/how-to-create-and-manage-configuration-backups-in-internet-informationThisarticledescribeshowtocreate,list,resto...
代码星球
·
2021-02-08
How
to
create
and
manage
User control's property loses value after a postback
Allvariables(andcontrols)aredisposedattheendofthepage'slifecycle.Soyouneedawaytopersistyourvariable,e.g.intheViewState.publicintDepartmentID{get{if(ViewState["d...
代码星球
·
2021-02-08
User
control
#39s
property
loses
jQuery file upload callback options
autoUploadBydefault,filesaddedtothewidgetareuploadedassoonastheuserclicksonthestartbuttons.Toenableautomaticuploads,setthisoptiontotrue.Type:booleanDefault:true...
代码星球
·
2021-02-08
jQuery
file
upload
callback
options
ASP.NET postback with JavaScript (UseSubmitBehavior)
ASP.NETpostbackwithJavaScriptHereisacompletesolution<formid="form1"runat="server"><asp:LinkButtonID="LinkButton1"runat="server"/><%--includedtofo...
代码星球
·
2021-02-08
ASP.NET
postback
with
Javascript
UseSubmitBehavior
__doPostBack function
Hieveryone.TodayIamgoingtotalkaboutthe__doPostBackfunction,becausethereissomeconfusionwithusingthisfunction.Youcanseethis__doPostBackfunctioninyourASP.NETgenera...
代码星球
·
2021-02-08
doPostBack
function
How to intercept any postback in a page?
There'sacoupleofthingsyoucandotointerceptapostbackontheclient.The__doPostBackfunctionlookslikethis:function__doPostBack(eventTarget,eventArgument){if(!theForm.o...
代码星球
·
2021-02-08
How
to
intercept
any
postback
首页
上一页
...
25
26
27
28
29
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他