question

Upvotes
Accepted
1 0 0 1

PriceType switching from Market to Limit - VBA Excel

ActivityLog accurately shows the values I'm passing from VBA is correct i.e.,PrType = Market(string below). However when the order reaches Redi UI, it is submitted as a Limit Order every single time. Any pointers to fix this will be appreciated.


Submitted ( Exch: GSDE ARCA | Side: BUY | Qty: 100 | Sym: ZVZZT | PrType: Market | Px: 9.97 | TIF: Day | Acct:XXXXXXX)

eikon-com-apiredi-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
32.2k 40 11 19

Hello @4strading2020,

This is because there is a certain order of populating fields within order object that is required.

Try emulating Example Order Entry - Singles Batch Load.

Just tried- submitting Limit or Market order.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.