C++ State Machine for position manager?

(Last Updated On: January 17, 2017)

C++ State Machine for position manager?

I wonder if my needs can be applied in this software design pattern and application


The state machine implementation now has a build option that removes the requirement to create external event data on the heap. See the External event no heap data section for details.

Hiding and eliminating heap usage

Locking is optional

To prevent preemption by another thread when the state machine is in the process of execution, the StateMachine class can use locks within the ExternalEvent() function.


Specifics for threading


Caveat article



Join my FREE newsletter to learn more about state machines for automated trading

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Subscribe For Latest Updates

Sign up to best of business news, informed analysis and opinions on what matters to you.
Invalid email address
We promise not to spam you. You can unsubscribe at any time.
Scroll to Top