Hello,
I think it must be the broker to provide you with the API for the submission of market orders.
If the broker use Java or .NET API you can look at J/Link or .Net/Link
If instead the broker only provide the DDE / Excel then you can use Excel-Link but be careful because I have not yet figured out if the product is fully compatible with Excel 64bit.