Discussion of article "Calculating mathematical expressions (Part 2). Pratt and shunting yard parsers" - page 2 12 New comment fxsaber 2020.09.03 12:56 #11 Stanislav Korotky: From the parser's point of view, a variable cannot have 2 values: bid and ask. This problem has been solved. I need a list of variables from the expression. Forum on trading, automated trading systems and testing trading strategies. Discussion of the article "Calculating mathematical expressions (Part 2). Pratt and sorting station parsers" fxsaber, 2020.09.03 09:11 The main difficulty, is to determine the names of all the variables in the expression. So that you can then write something similar. TestSuiteEvaluator evaluator("EURUSD=1.5;GBPUSD=2.5;AUDUSD=5"); Difficulties of translation :) Discussion of article "The Errors, bugs, questions 12 New comment
From the parser's point of view, a variable cannot have 2 values: bid and ask.
This problem has been solved. I need a list of variables from the expression.
Forum on trading, automated trading systems and testing trading strategies.
Discussion of the article "Calculating mathematical expressions (Part 2). Pratt and sorting station parsers"
fxsaber, 2020.09.03 09:11
The main difficulty, is to determine the names of all the variables in the expression. So that you can then write something similar.
TestSuiteEvaluator evaluator("EURUSD=1.5;GBPUSD=2.5;AUDUSD=5");