Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible Issue Acknowledging Filled Market Order #25

Open
4 tasks done
AlexCatarino opened this issue Jan 5, 2024 · 0 comments
Open
4 tasks done

Possible Issue Acknowledging Filled Market Order #25

AlexCatarino opened this issue Jan 5, 2024 · 0 comments

Comments

@AlexCatarino
Copy link
Member

Expected Behavior

Market orders are filled within 1 second.

Actual Behavior

30-seconds is a lot for an ETF like QID trading over 10 million per day:

2023-11-30T19:44:01.2932044Z TRACE:: LiveTradingResultHandler.OrderEvent(): Time: 11/30/2023 19:44:01 OrderID: 4 EventID: 1 Symbol: QID Status: Submitted Quantity: -380 BrokerId:
2023-11-30T19:44:01.8079320Z TRACE:: LiveTradingResultHandler.ProcessSynchronousEvents(): Processing Notification...
2023-11-30T19:44:27.1844812Z TRACE:: Isolator.ExecuteWithTimeLimit(): Used: 408, Sample: 426, App: 2919, CurrentTimeStepElapsed: 00:00.000. CPU: 10%
2023-11-30T19:44:30.7092220Z ERROR:: SecurityTransactionManager.WaitForOrder(): Order did not fill within 30 seconds.

We asked the member to place async orders:

self.MarketOrder(symbol, qty,True)

and orders have been filled within 1-second so far.

Potential Solution

N/A

Reproducing the Problem

Trade QID. Buy orders are Ok, but sell orders time out.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant