investfly.api.StrategyApiClient

class StrategyApiClient:

Class used to make calls to /strategy endpoint to operate on trading strategies.

StrategyApiClient(restApiClient: investfly.api.RestApiClient.RestApiClient)
restApiClient
def listStrategies(self) -> List[investfly.models.StrategyModels.TradingStrategyModel]:
def getStrategy( self, strategyId: int) -> investfly.models.StrategyModels.TradingStrategyModel:
def updateStrategyCode(self, strategyId: int, code: str) -> str:
def startBacktest(self, strategyId: int) -> investfly.models.CommonModels.Message:
def stopBacktest(self, strategyId: int) -> investfly.models.CommonModels.Message:
def getBacktestResult(self, strategyId: int) -> investfly.models.StrategyModels.BacktestResult: