|
@@ -136,7 +136,12 @@ def depot():
|
|
|
response = client_request('depot', {"session_id": connection.session_id})
|
|
|
success = 'data' in response and 'own_wealth' in response
|
|
|
if success:
|
|
|
- print(_my_tabulate(response['data'], headers=['Object', 'Amount', 'Est. Value'], tablefmt="pipe"))
|
|
|
+ data = response['data']
|
|
|
+ for row in data:
|
|
|
+ row.append(row[1] * row[2])
|
|
|
+ print(_my_tabulate(data,
|
|
|
+ headers=['Object', 'Amount', 'Course', 'Bid', 'Ask', 'Est. Value'],
|
|
|
+ tablefmt="pipe"))
|
|
|
print('This corresponds to a wealth of roughly', response['own_wealth'])
|
|
|
else:
|
|
|
if 'error_message' in response:
|