Trouble creating stop -loss order

Hello,
I am trying to create a stop loss order using limit orders protocol utils library for nodejs. I found that you can use the LimitOrderPredicateBuilder class from here to compare a value to the result of a smarts contract’s method call. But 1inch’s oracle that provides the exchange pair’s price stated that it should not be used on-chain. Am I missing something? Thank you.