Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Order Rejected
Collapse
X
-
It's like the difference between imperative and functional programming. You can't dictate positions to your strategy, you have to instead give it parameters that allows it to *come* to that position.Originally posted by Phyre View PostForget about my real account or my real position. What I hear you telling me is that I don't have control over my strategy. I can't start flat. It's always going to start somewhere based on history. Strategies aren't flexible enough to start where I tell them to.
You can only tell your strategy at what point to start running on... your strategy ALWAYS starts with a 'flat' view of positions. If you need your strategy to see a long "virtual" position, you have to setup in such a way that a new execution of the strategy does an EnterLong() during a historical bar.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
68 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
37 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
62 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment