investfly.api.IndicatorApiClient

Client for creating and inspecting custom and standard indicators.

class IndicatorApiClient:

Access the indicator endpoints available to SDK users.

IndicatorApiClient(restApiClient: investfly.api.RestApiClient.RestApiClient)

Create an indicator client backed by an authenticated transport.

def listCustomIndicators(self) -> List[investfly.models.indicator.IndicatorSpec]:

Return the current user's custom indicator definitions.

def listStandardIndicators(self) -> List[investfly.models.indicator.IndicatorSpec]:

Return the built-in indicator definitions supported by Investfly.

def getIndicatorSpec( self, indicatorId: str) -> investfly.models.indicator.IndicatorSpec:

Return the parameter and output definition for an indicator id.

def getIndicatorCode(self, indicatorId: str) -> str:

Return the saved Python source for one of the user's custom indicators.

def createUpdateIndicator( self, code: str) -> investfly.models.indicator.IndicatorSpec:

Validate and save custom indicator source, returning its parsed definition.