otp.Source.show_symbol_errors#
- Source.show_symbol_errors(inplace=False)#
This method propagates a tick representing per-symbol error.
- Parameters
- Return type
Source
orNone
Examples
By default symbol errors are not showed, use this method to see them:
>>> data = otp.Ticks({'A': [1, 2, 3]}) >>> data = data.throw('WRONG', scope='symbol') >>> data = data.show_symbol_errors() >>> otp.run(data) Time ERROR_CODE ERROR_MESSAGE 0 2003-12-01 1 WRONG 1 2003-12-01 1 WRONG 2 2003-12-01 1 WRONG
See also