BAD_ASSET

CompileSeen in: The editor

What happened

A path or a file in assets is refused: the path is not relative to the strategy's folder, is listed twice, points outside the folder, was not found, has a kind of file that is not accepted, or is over the size limits.

What to do

Use a relative path inside the strategy's folder, with / between its parts, list each file once, and keep the files within the limits the message names.

Example

text
strategy.py, line 12: `rates.csv` was not found next to the strategy file [BAD_ASSET]

The wording of the message depends on your file, and the code does not. An error stops the file from loading.

Ask about this in the forum