Traceback (most recent call last):
File "/home/runner/poe-code-execution/venv/lib/python3.10/site-packages/wasm_exec/__init__.py", line 106, in exec
start(store)
File "/home/runner/poe-code-execution/venv/lib/python3.10/site-packages/wasmtime/_func.py", line 101, in __call__
raise WasmtimeError._from_ptr(error)
wasmtime._error.ExitTrap: <unprintable ExitTrap object>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/runner/poe-code-execution/venv/lib/python3.10/site-packages/fastapi_poe/samples/echo.py", line 29, in execute_code
result = await loop.run_in_executor(None, wasm.exec, code)
File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/runner/poe-code-execution/venv/lib/python3.10/site-packages/wasm_exec/__init__.py", line 109, in exec
raise WasmExecError(f.read())
wasm_exec.exceptions.WasmExecError: File "<string>", line 1
code 3 RSI sma 6 and 12 and 20
^
SyntaxError: invalid syntax
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.