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