Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 14:44:59 +0000



Post From: problems working w/ AMP trading server (real money activity)

[2017-06-14 19:39:12]
jizzary - Posts: 177
Hi

while started working directly w/ broker's real server my software was rejected few times
SellEntry signal is ignored because working orders exist. and BuyEntry signal is ignored because working orders exist.
the feeling is that my robot and teh brokers server are not in sync
sometimes only one oof the issues.

after searching the support Q/A and saw an answer you gave on same question i have set
sc.AllowEntryWithWorkingOrders = true;
but issue has not gone ... as you indicate - it may not solve all cases

at the very moment my robot quits a position it evaluates moving into a new position (opposite direction)
and it is done very verey very short after quiting the prev. position

what is causing this issue ? should there be entered a delay beyteen quitting and entering a new position

robot's trading configurauion is as follows (may be i'mmissing something ... causing this issue):

    // init trading system to allow manual trading
    sc.SendOrdersToTradeService = true;
    sc.AllowMultipleEntriesInSameDirection = true;
    sc.AllowOppositeEntryWithOpposingPositionOrOrders = true;
    sc.CancelAllOrdersOnEntriesAndReversals = false;
    sc.AllowOnlyOneTradePerBar = false;
    sc.AllowEntryWithWorkingOrders = true;
    sc.MaximumPositionAllowed = 2;

all my trades are based on a single contract - so i thought sc.MaximumPositionAllowed = 2;
may avoid what looks like a conflict

this is a real issue ... is there anything i can do here ?
should i develop my own logic to test failures and try enter again when failure takes place ?

tnx
Date Time Of Last Edit: 2017-06-14 19:42:10