Skip to content

traderzero python api error : "login not match identity service" #12

@MedAly666

Description

@MedAly666

im trying to login using the api but i got this problem :

Image

this is the login code :

# Initialize TradeZero
    tz = TradeZero(user_name=os.getenv("TZ_USER"), password=os.getenv("TZ_PASS"))

i already have checked my env vars

based on chatgpt answer i need a non us base url to login because i did not opened an us account

btw im trying to log in to paper account

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions