A. 求高手編寫期貨程序化交易代碼。
嗯,這里不可能有人給你義務寫的,那工作量很大
去淘寶或是找期貨公司的技術人員,出點錢也是應該的,畢竟是人家的勞動成果
B. 求期貨交易軟體-金字塔全平倉代碼
function GetHoldStr(sAccount)
dim i
dim BuyHold
dim BuyCost
dim SellHold
dim SellCost
dim CurCode
dim CurMarket
On Error resume Next
HoldingCount=Order.Holding2(sAccount)
If HoldingCount>0 then
For i=0 to HoldingCount-1
Call Order.HoldingInfo2(i,BuyHolding,BuyCost,BuyTodayHolding,SellHolding,SellCost,SellTodayHolding,PNL,UseMargin,Code,Market,sAccount)
CurCode=Code
CurMarket=Market
BuyHold=BuyHolding
SellHold=SellHolding
HoldStr=HoldStr & CurCode
if BuyHold>0 then
call order.sell(1,BuyHold,0,0,CurCode,CurMarket,sAccount,0)
end if
if SellHold>0 then
call order.sellshort(1,SellHold,0,0,CurCode,CurMarket,sAccount,0)
end if
Next
End If
End function