Skip to content

Commit

Permalink
fix: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
platonfloria committed May 22, 2024
1 parent 25dbbfa commit 3a97507
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fastlane_bot/modes/triangle_multi_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"""
from typing import List, Any, Tuple, Union

from arb_optimizer import CurveContainer, MargPOptimizer

from fastlane_bot.modes.base_triangle import ArbitrageFinderTriangleBase
from fastlane_bot.tools.cpc import CPCContainer
from fastlane_bot.tools.optimizer import MargPOptimizer


class ArbitrageFinderTriangleMultiComplete(ArbitrageFinderTriangleBase):
Expand All @@ -34,7 +34,7 @@ def find_arbitrage(self, candidates: List[Any] = None, ops: Tuple = None, best_p

for src_token, miniverse in combos:
try:
CC_cc = CPCContainer(miniverse)
CC_cc = CurveContainer(miniverse)
O = MargPOptimizer(CC_cc)
pstart = self.build_pstart(CC_cc, CC_cc.tokens(), src_token)
r = O.optimize(src_token, params=dict(pstart=pstart))
Expand Down

0 comments on commit 3a97507

Please sign in to comment.