Algo Size Limit is reducing Order Qty to 1 #1433
-
Hi Community, I ran the following for the first time to set the trade limits:
Note that limits increased from 1 to X for all the instruments. In particular, 1 to 4 for NASDAQ_micro. So, I had an order change, correctly, from 5 to 4 per the new limit of 4 (see stack_handler echo below). In stack_handler echo file: As you can see, the order was then further reduced to 1 because of algo size limit. Why is the order size not staying at 4 as originally determined? Note: I am currently using delayed market data for paper trading account. Thanks Adnan |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The message: "Cut down order to size [4] from [1] because of algo size limit" is a bug, should say "Cut down order to size [1] from [4] because of algo size limit" Both the market and best algos have a size limit of 1 - they only trade one contract at a time. See line 25 of |
Beta Was this translation helpful? Give feedback.
The message: "Cut down order to size [4] from [1] because of algo size limit" is a bug, should say "Cut down order to size [1] from [4] because of algo size limit"
Both the market and best algos have a size limit of 1 - they only trade one contract at a time. See line 25 of
sysexecution/algos/algo_market.py
and line 51 ofsysexecution/algos/algo_original_best.py