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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
65 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
149 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
99 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment