I was trying to filter the top_roe stocks in the commented part of the attached backtest.

ROE
MultiPeriodField
Net Income / Average Total Common Equity
fine.OperationRatios.ROE.OneMonth

but got

Error Message:

Runtime Error: AttributeError : 'ROE' object has no attribute 'OneMonth'
  at FineSelection in main.py:line 77
  at  in main.py:line 77
 AttributeError : 'ROE' object has no attribute 'OneMonth'

when I removed 'OneMonth'

I got

Error Message:

Runtime Error: TypeError : Cannot convert object of type Python.Runtime.CLRObject to IComparable
  at FineSelection in main.py:line 77
 TypeError : Cannot convert object of type Python.Runtime.CLRObject to IComparable

Any help is greatly appreciated.

Author