Changing lot size on multiple pending orders at once

Created at 03 Oct 2023, 17:30
VF

vfb95

Joined 03.10.2023

Changing lot size on multiple pending orders at once
03 Oct 2023, 17:30


Hi guys, is there a way to change the lot size of multiple pending orders at once?

For example, I have 50 orders on multiple pairs each at 0.01 lots, I want to be able to change all those pending orders to 0.02 lots

I would appreciate any help on this

Thanks 


@vfb95
Replies

PanagiotisChar
04 Oct 2023, 06:05 ( Updated at: 04 Oct 2023, 06:09 )

Here is an example

            foreach (var order in PendingOrders)
            {
                order.ModifyVolume(2000);
            }


@PanagiotisChar