Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trading API: Positions #47

Closed
haxdds opened this issue May 11, 2022 · 0 comments · Fixed by #81
Closed

Trading API: Positions #47

haxdds opened this issue May 11, 2022 · 0 comments · Fixed by #81
Labels
enhancement New feature or request Trading API Relates to the Trading API

Comments

@haxdds
Copy link
Contributor

haxdds commented May 11, 2022

Implement routes found in the Trading API positions docs.

def get_positions(self) -> List[Position]:
   pass

def get_position_by_symbol(self, symbol: str) -> Position:
   pass

def close_all_positions(self, request: CloseAllPositionsRequest) -> None:
   pass

def close_position_by_symbol(self, symbol: str, request: ClosePositionRequest) -> None:
   pass


@haxdds haxdds created this issue from a note in General Development (To do) May 11, 2022
@haxdds haxdds added enhancement New feature or request Trading API Relates to the Trading API labels May 11, 2022
@haxdds haxdds moved this from To do to In progress in General Development May 28, 2022
@haxdds haxdds moved this from In progress to To do in General Development May 28, 2022
@haxdds haxdds moved this from To do to In progress in General Development May 30, 2022
General Development automation moved this from In progress to Done May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Trading API Relates to the Trading API
Projects
Development

Successfully merging a pull request may close this issue.

1 participant