fbpx

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

NICE!

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.

https://www.codeproject.com/Articles/1087619/State-Machine-Design-in-Cplusplus

Specifics for threading

https://www.codeproject.com/articles/1156423/cplusplus-state-machine-with-threads

Caveat article

http://www.skorks.com/2011/09/why-developers-never-use-state-machines/

 

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