I have converted pine script code with pynecore using this command line
!pyne compile strategy.pine --api-key and I get the python code script but when I am trying to run it
I get this error
ImportError: cannot import name 'request' from 'pynecore.lib' (/usr/local/lib/python3.12/dist-packages/pynecore/lib/__init__.py)
Snippets of the code
from pynecore.core.pine_cast import cast_int from pynecore.lib import ( barcolor, barmerge, barstate, close, color, fill, high, input, low, math, na, nz, open, plot, plotshape, request, script, strategy, string, syminfo, ta, ticker, time, timeframe, timestamp ) from pynecore.types import Color, Persistent, PersistentSeries, Series
def rp_security(_symbol, _res, _src: Series): return request.security(_symbol, _res, _src[1])
I am using pynesys-pynecore 6.3.4 Version