How do I code this second entry filter on C#

Discussion in 'Automated Trading' started by dennis86, Mar 26, 2019.

  1. What you described in the latter part is called Static Data in financial trading parlance. That includes a symbol database among many others.

    Unless you iterate over tens of millions of data points the overhead of even 20 if conditions is negligible especially if those if conditions are encapsulated by other if conditions (if conditions inside other if conditions)

    In OP's case the setup is very simple: if currentSymbol is cintained is specific symbol collection then
    {
    if a > b then ...
    }

     
    #11     Mar 27, 2019
    userque likes this.