股票自动买卖脚本(脚本股票)
我今天想要网上修改股票交易密码,可是电脑老提示是脚本错误,是怎么回事?
网页的脚本语言出错,你有没有改动过浏览器的设置?或者是你的新密码包含不能使用的字符?再有就是技术人员更新的时候网页本身有错误了,等过1、2天再试试
怎样用 Python 写一个股票自动交易的程序
股票自动交易助手提供了一个 Python 自动下单接口,参考代码
#股票自动交易助手 Python 自动下单使用 例子
#把此脚本和 StockOrderApi.py Order.dll 放到你自己编写的脚本同一目录
from StockOrderApi import *
#买入测试
#Buy(u600000 , 100, 0, 1, 0)
#卖出测试,是持仓股才会有动作
#Sell(u000100 , 100, 0, 1, 0)
#账户信息
print(股票自动交易接口测试)
print(账户信息)
print(--------------------------------)
arrAccountInfo = [总资产, 可用资金, 持仓总市值, 总盈利金额, 持仓数量];
for i in range(0, len(arrAccountInfo)):
value = GetAccountInfo( u , i, 0)
print (%s %f %(arrAccountInfo[i], value))
print(--------------------------------)
print( )
print(股票持仓)
print(--------------------------------)
#取出所有的持仓股票代码,结果以 ,隔开的
allStockCode = GetAllPositionCode(0)
allStockCodeArray = allStockCode.split(,)
for i in range(0, len(allStockCodeArray)):
vol = GetPosInfo( allStockCodeArray[i] , 0 , 0)
changeP = GetPosInfo( allStockCodeArray[i] , 4 , 0)
print (%s %d %.2f%%%(allStockCodeArray[i], vol, changeP))
print(--------------------------------)
VB 修改一个股票行情监测脚本 到了预定的股价就启动程序a.exe
Dim file1, file2 As String
Private Sub Command1_Click()
If Val(Text1.Text) Val(Text2.Text) Then Shell (file1)
text2.text为大于这个值时 执行
If Val(Text1.Text) Val(Text3.Text) Then Shell (file2)
text3.text为小于这个值时 执行
End Sub
Private Sub Command2_Click()
WebBrowser1.Navigate Text4.Text
End Sub
Private Sub Command3_Click()
CommonDialog1.DialogTitle = 选择路径
CommonDialog1.ShowOpen
file1 = CommonDialog1.FileName
End Sub
Private Sub Command4_Click()
CommonDialog1.DialogTitle = 选择路径
CommonDialog1.ShowOpen
file2 = CommonDialog1.FileName
End Sub
Private Sub Form_Load()
End Sub
Private Sub Timer1_Timer()
WebBrowser1.Refresh
End Sub
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
If Not (pDisp Is WebBrowser1.object) Then Exit Sub
Dim wenben As String
Dim a() As String
wenben = Me.WebBrowser1.Document.Body.innerText
a = Split(wenben, vbCrLf)
Text1.Text = wenben
For i = 0 To UBound(a)
If InStr(a(i), 代码:) 0 And InStr(a(i), .s) 0 Then
Text1.Text = Right(a(i), (Len(a(i)) - InStr(a(i), .s)) - 2)
Text5.Text = Mid(a(i), InStr(a(i), .s) + 1, 2)
Exit For
End If
Next i
End Sub
据说脚本能根据用户的意思独立操作,能运用到股票软件上吗?
比亚迪确实涨了不少,但要说涨过头还不确定。新高的股票不建议追涨,想要操作可以等调整遇到支撑之后短线操作,注意控制仓位。不过下周开两会,会议期间注意风险。
股市登入显示脚本执行错误什么意思?
IE提示脚本错误解决方法:
1、点击“开始”菜单,打开“运行”。
第二、输入regsvr32 jscript.dll后选择“确定”。
出现提示后,点击确定。
第三、再次输入regsvr32 vbscript.dll选择“确定”。
再一次出现提示后,确定。
4、经过以上两次成功提示,说明已成功修复IE组件,将浏览器的过滤等功能关闭后,清除一下浏览器的缓存(工具-Internet选项-删除Cookies),点浏览器上的工具——然后再选择最下面的Internet选项,再点Internet删除文件(记得勾上删除所有脱机内容),确定后,然后再重新打开浏览器尝试!
