Skip to content

Balances Class - UnclearedFunds DataType #13

@timreninger

Description

@timreninger

Thank you for this code! It has made it super easy to throw together quick trading bots.

I'm having an issue when trying to invoke the 'GetBalances' method. It seems that the datatype for 'UnclearedFunds' class item in Models.Account.Balances is expecting an integer returned from Tradier - but I seem to be getting a float.

Newtonsoft.Json.JsonReaderException: 'Input string '25.00000000' is not a valid integer. Path 'balances.uncleared_funds', line 1, position 380.'

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