Skip to content

Commit 204b562

Browse files
committed
[Imports] fix import issue
1 parent 8052870 commit 204b562

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

octobot_script/internal/backtester_trading_mode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# You should have received a copy of the GNU General Public
1515
# License along with OctoBot-Script. If not, see <https://www.gnu.org/licenses/>.
1616

17+
# import API first to avoid import issues
18+
import octobot_trading.api # pylint: disable=unused-import
1719
import octobot_trading.modes as modes
1820
import octobot_trading.enums as trading_enums
1921

0 commit comments

Comments
 (0)