tensortrade.wallets.wallet module

class tensortrade.wallets.wallet.Wallet(exchange, quantity)[source]

Bases: tensortrade.base.core.Identifiable

A wallet stores the balance of a specific instrument on a specific exchange.

balance

The total balance of the wallet available for use.

Return type:Quantity
deallocate(path_id)[source]
exchange
Return type:Exchange
classmethod from_tuple(wallet_tuple)[source]
instrument
Return type:Instrument
locked
Return type:Dict[str, Quantity]
locked_balance

The total balance of the wallet locked in orders.

Return type:Quantity
total_balance

The total balance of the wallet, both available for use and locked in orders.

Return type:Quantity