Trading Articles
Article Categories
Article Tools
Strategy does not see manually-entered positions.
Updated December 17, 2022
trending_up
763 views
thumb_up
4 thanks given
group
2 followers
forum
3 posts
attach_file
0 attachments
Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free and simple.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Strategy does not see manually-entered positions.
(login for full post details)
#1 (permalink )
baton rouge, louisiana, united states
Posts: 3 since Nov 2022
Thanks: 2 given,
1
received
I want to enter trades using the quick trade bar, and then have a strategy automate exits. But in simulation, this strategy statement results in all zeroes:
print(currentshares,marketPosition,entryprice);
Is there a way to link the strategy to the simulated position?
Can you help answer these questions from other members on futures io?
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
Highland Park
Experience: Beginner
Platform: TradeStation
Trading: emini es
Posts: 3 since Dec 2015
Thanks: 1 given,
1
received
jetaylor1946
I want to enter trades using the quick trade bar, and then have a strategy automate exits. But in simulation, this strategy statement results in all zeroes:
print(currentshares,marketPosition,entryprice);
Is there a way to link the strategy to the simulated position?
You can find a technique for this in the Tradestation forums. It's called something like "ContinuousAdoptRealWorldPosition".
The following 2 users say Thank You to yochuresfio for this post:
(login for full post details)
#3 (permalink )
baton rouge, louisiana, united states
Posts: 3 since Nov 2022
Thanks: 2 given,
1
received
yochuresfio - Thanks! The search term "ContinuousAdoptRealWorldPosition" resulted in multiple useful discussions on community.tradestation.com.
The following 2 users say Thank You to jetaylor1946 for this post:
(login for full post details)
#4 (permalink )
baton rouge, louisiana, united states
Posts: 3 since Nov 2022
Thanks: 2 given,
1
received
jetaylor1946
I want to enter trades using the quick trade bar, and then have a strategy automate exits. But in simulation, this strategy statement results in all zeroes:
print(currentshares,marketPosition,entryprice);
Is there a way to link the strategy to the simulated position?
This solved my problem:
In the bottom of Customize Studies and Strategies popup, select
[X] Generate strategy orders for display in TradeManager's Strategy Orders tab
[X] Automate execution using {your account number} account with confirmation {on or off as desired}
In Customize Studies and Strategies / Strategy Propeties for All Strategies on this Chart / Automation, select
[X] Strategy will fill non-historical orders .... etc ...
[X] Adopt the real-world position for the current account
Last Updated on December 17, 2022
Ongoing