Saved Balance
Learn how to use the Saved Balance function in Origami Tech to reference previously stored account balances in automated trading strateg
saved_balance(coin: str, account_id: Optional[int]) -> [Balance]
saved_balance(coin: str, account_id: Optional[int]) -> [Balance]Returns structure that can be used to obtain balance of tokens saved at the moment when update_balance_formula returns True or any other non-zero value
If account_id is empty - uses current exchange for bot’s account id
coin check [balance] specification
Important: can’t be used in update_balance_formula inside group
Last updated