stefan8893 / simple-trading

MIT License
1 stars 0 forks source link

Add null literal to dynamic filter #51

Closed stefan8893 closed 2 months ago

stefan8893 commented 2 months ago

There is no way to use null as a comparison value. But in some cases it might be useful. For instance, when searching for trades that don't have a result. Right now, it can be done by setting multiple filters, like this Result -ne [Win], Result -ne [BreakEven], Result -ne [Mediocre] and Result -ne [Loss]

By adding a null literal, you can just use Result -eq null

The missing angle brackets for the null literal indicates that this is no value. Null within angle brackets should be treated as a value.