investfly.api
REST API clients for the public Investfly server endpoints.
The entry point is investfly.api.InvestflyApiClient.InvestflyApiClient.
InvestflyApiClient has members to access specific endpoints such as strategyApi, portfolioApi etc
Only endpoints intended for SDK users are exposed here. Execution-runtime coordination endpoints remain in the runtime.
from investfly.api.InvestflyApiClient import InvestflyApiClient
api = InvestflyApiClient()
api.login("<YOUR USERNAME>", "<YOUR PASSWORD>")
pythonStrategies = api.strategyApi.listStrategies()
print(pythonStrategies)
api.logout()