My dll.addfunction("Command".....) is unchanged from NT downloaded code.
My buy market function is:
function NTBuyMarket(vNinjaAccount, orderId, quantity, NinjaStrategy,vStrategyID)
{ return NTCommand("Place", vNinjaAccount, "Buy", quantity, "Market", 0,0, "GTC", "" orderId, NinjaStrategy, vStrategyID); }
My function call is:
NTBuyMarket(vNinjaAccount, "", vLotsIn, NinjaStrategy, vStrategyID);
This code has worked perfectly on simulator for months as I said. What is different with Patsystems live cash account?
Thanks in advance.
Comment