BAD_OBJECTIVE

CompileSeen in: The editor

What happened

objective names a way to rank results that Forge does not have, or is custom while the strategy has no score method.

What to do

Use the name of an objective Forge has, such as "sharpe", or None. For custom, add a score method.

Example

text
strategy.py, line 11: objective must be the name of a way to rank results, like "sharpe", or None. [BAD_OBJECTIVE]

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