-
Notifications
You must be signed in to change notification settings - Fork 181
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
time_in_force Parameter Not Functioning as Expected with Interactive Broker and in Backtesting #576
Comments
Anybody facing the same behaviour or am I missing something ? |
It’s likely a bug. Please feel free so submit a pull request with a fix
Robert Grzesik 347-635-3416
…On Sun, Oct 20, 2024 at 3:51 PM logicwar ***@***.***> wrote:
Anybody facing the same behaviour or am I missing something ?
—
Reply to this email directly, view it on GitHub
<#576 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIYQKZ3L66S7ZWLXEACZZLZ4QCSJAVCNFSM6AAAAABP2WHD6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGE4TGOBTGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Regarding the live trading with Interactive Broker, the issue is only for
However, as I am uncertain about the logic behind the original implementation, I am providing only an explanation of the changes I made to fix for me the issue without submitting an actual code modification. Not yet sure what the issue is when backtesting. |
Backtesting bracket orders with
Additionally, in the
Again, as I am uncertain about the logic behind the original implementation, I am providing only an explanation of the changes I made to fix for me the issue without submitting an actual code modification. |
The time_in_force parameter seems to be disregarded for both backtesting and live trading scenarios (Interactive Broker).
Regardless of the specified value (e.g., "DAY", "GTC"), all orders appear to be executed as GTC in Backtesting and as DAY in live trading (Interactive Broker).
The text was updated successfully, but these errors were encountered: