NexusFi: Find Your Edge


Home Menu

 





Prevent doubly sending buy orders


Discussion in EasyLanguage Programming

Updated
    1. trending_up 4,761 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
aspiringmiliner
Swattle, WA
 
Posts: 6 since Dec 2021
Thanks Given: 0
Thanks Received: 1

Hi,

I do a buy order limit in EasyLanguage when a condition is met and I check marketposition. There are times when I end up with double buys. How do i check open orders so that i can add another condition, such that if marketposition is equal to zero and that (there is no unfilled buy order)?

Thanks.

Sent using the NexusFi mobile app


Reply With Quote

 
  #2 (permalink)
 EduardoG 
Garza Garcia+NL/Mexico
 
Experience: Beginner
Platform: TradeStation
Trading: ES
Posts: 1 since Oct 2017
Thanks Given: 9
Thanks Received: 0

Hi I am having the same trouble. Have not been able to solve it yet. It happens apparently randomly and if I reload the strategies the doubles and even tripled orders will disappear.
If you search for

> Getting duplicate fills in automated strategy

here in NexusFi, will take you to a previous thread on this topic that I hope is helpful


Reply With Quote
  #3 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,745 since Jul 2012
Thanks Given: 1,920
Thanks Received: 7,497



aspiringmiliner View Post
Hi,

I do a buy order limit in EasyLanguage when a condition is met and I check marketposition. There are times when I end up with double buys. How do i check open orders so that i can add another condition, such that if marketposition is equal to zero and that (there is no unfilled buy order)?

Thanks.

Sent using the nexusfi.com mobile app

I would play around with this:


Follow me on X Reply With Quote




Last Updated on December 27, 2021


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts