hi,anyone know sterling API? I have a question that when exit open position,such as "SMCR 100",when I enter hotkey "F7:SSHRT 1000 ",sterling will execute as "SELL 100 ","SSHRT 900".Well,so,I simulate it,see My c++ code: void Sti_SendOrder(_bstr_t StiSide,_bstr_t StiStock,long StiShares,_bstr_t StiAccount,_bstr_t StiChannel,_bstr_t StiTif,DOUBLE StiPrice,long count,BOOL bdisplay) { //Sti var if(strcmp(StiSide,"")==0) return; //CComPtr<ISTIOrder> pISTIOrder; //pISTIOrder.CoCreateInstance(CLSID_STIOrder); ISTIOrderPtr pISTIOrder(__uuidof(STIOrder)); pISTIOrder->Side = StiSide; pISTIOrder->Symbol = StiStock; pISTIOrder->Quantity = StiShares; pISTIOrder->Account = StiAccount; pISTIOrder->Destination = StiChannel; pISTIOrder->Tif = StiTif; pISTIOrder->PriceType = ptSTILmt; pISTIOrder->LmtPrice=StiPrice; if(bdisplay) pISTIOrder->Display=100; long Is=0; for(int i=0;i<count;i++) Is=pISTIOrder->SubmitOrder(); } "SELL 100" can send to market,Then order "SSHRT 900" don't send to market, any one no about this? Why I send order "Sell 100" "SSHRT 900" not equals Hotkey F7 "SSHRT 1000 shares"?????????????