Using the bridge with share / lot with the value of -1 I found a big problem.
the sell orders received by mt4 are executed as buy instead of sell on IB.
example happened this morning on real account.
mt4 sells 48 contracts on IB is bought a contract instead of being sold.
I did some tests in demo the problem only happens on sell orders coming from mt4.
the problem appear only using "position sync" work properly on "copy order"
Danilocapp
SHARE /LOT PROBLEM with -1 value
-
- Site Admin
- Posts: 244
- Joined: Mon Apr 24, 2017 3:24 pm
Re: SHARE /LOT PROBLEM with -1 value
Hello,
negative shares per lot factor to get fixed ordersize makes no sense in conjunction with ib_position_sync.
Because ib_position_sync itself calculates what size required in order to sync IB positions with MT positions.
negative shares per lot factor to get fixed ordersize makes no sense in conjunction with ib_position_sync.
Because ib_position_sync itself calculates what size required in order to sync IB positions with MT positions.