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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
23k 22 9 14

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea