Skip to content

Python ATR/APS/BB/... indicator selector support #8704

Description

@Martin-Molinero

Expected Behavior

  • Can use indicator helper methods selector functions in python

Actual Behavior

Trying to dynamically access a method that does not exist throws a TypeError exception. self.atr(self._symbol, 14, MovingAverageType.SIMPLE, Resolution.DAILY, self.selector_double__trade_bar),

Potential Solution

  • Ideally this would be handled by pythonnet the current approach seems to be adding a pyobject overload but it doesn't scale nicely with hundreds on indicators

Reproducing the Problem

See IndicatorSuiteAlgorithm.py

System Information

N/A

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions