profiled# API documentation for tradeexecutor.utils.profile.profiled Python function. profiled(count=30)[source]# Run a Python snippet and show the spent time. A crude profiling for notebooks / scripts Example: # Usage with profiled(): # Your code section to profile goes here for i in range(1000000): _ = i ** 2