I have a trading framework that is all console based, written in C++, has no GUI, and is a totally user unfriendly piece of code. It is so unfriendly it gets chosen out of police line-ups even when it didn't commit the crime. Every time I change (add/remove) a trading parameter, I recompile the code and re-run it. If I want to change the value of the parameter, the program just re-reads a file on demand and sets parameters. This was fine for a while, but now this is getting to be a headache.
In C#, they have reflection so trading parameters can be turned into datagrid objects and tweaked so that the user interface doesn't really need to be recompiled. In C++, this is more of a nuisance, as there is no comparable (in terms of features) object reflection.
I am trying to avoid the headache in programming where if I add a trading parameter, I have to go edit the GUI also to show this trading parameter. Since I am using C++, I need some kind of solution that approximates what they have in C#. I could just use C# for the GUI, but I would need some sort of scheme to serialize objects between my C++ code and the C# GUI.
So I am looking for some kind of scheme to generate some kind of GUI based on my trading parameters. The simpler the better, but I have heard of people running a script during compile to generate XML to generate GUIs for wxGlade or something. I just want a lazy-mode solution, as development time is the variable I am trying to optimize here.
I would be interested to hear what people out there are doing to avoid this headache.
In C#, they have reflection so trading parameters can be turned into datagrid objects and tweaked so that the user interface doesn't really need to be recompiled. In C++, this is more of a nuisance, as there is no comparable (in terms of features) object reflection.
I am trying to avoid the headache in programming where if I add a trading parameter, I have to go edit the GUI also to show this trading parameter. Since I am using C++, I need some kind of solution that approximates what they have in C#. I could just use C# for the GUI, but I would need some sort of scheme to serialize objects between my C++ code and the C# GUI.
So I am looking for some kind of scheme to generate some kind of GUI based on my trading parameters. The simpler the better, but I have heard of people running a script during compile to generate XML to generate GUIs for wxGlade or something. I just want a lazy-mode solution, as development time is the variable I am trying to optimize here.
I would be interested to hear what people out there are doing to avoid this headache.
