fix(positions): sync latest scraper fixes from main repository
All checks were successful
Build and Push Docker Image / build (push) Successful in 36s

This commit is contained in:
2026-04-24 21:34:38 +00:00
parent 429a2832fd
commit a05ba3b8a8
4 changed files with 385 additions and 97 deletions

View File

@@ -134,7 +134,8 @@ async def async_main():
return
if args.positions is not None:
account_arg = args.positions or None
# If --positions has a value, use it. Otherwise, fall back to --account.
account_arg = args.positions if args.positions != "" else args.account
envelope = await unified_api.get_positions(
account=account_arg,
include_non_equity=args.include_non_equity,