Crypto backtesting
Loading...
Searching...
No Matches
cb Namespace Reference

Variables

 api_key = os.getenv('COINBASE_API_KEY')
 api_secret = os.getenv('COINBASE_API_SECRET')
 client = Client(api_key, api_secret)
 accounts = client.get_accounts()
 transactions = client.get_transactions(account['id'])

Variable Documentation

◆ accounts

cb.accounts = client.get_accounts()

Definition at line 11 of file cb.py.

◆ api_key

cb.api_key = os.getenv('COINBASE_API_KEY')

Definition at line 5 of file cb.py.

◆ api_secret

cb.api_secret = os.getenv('COINBASE_API_SECRET')

Definition at line 6 of file cb.py.

◆ client

cb.client = Client(api_key, api_secret)

Definition at line 10 of file cb.py.

◆ transactions

cb.transactions = client.get_transactions(account['id'])

Definition at line 15 of file cb.py.