This commit is contained in:
ghubstan 2022-06-23 15:38:45 -03:00
parent e890e0384d
commit e7b33e9e71
No known key found for this signature in database
GPG Key ID: E35592D6800A861E

View File

@ -15,7 +15,7 @@ def main():
bisq_messages.GetAverageBsqTradePriceRequest(days=30),
metadata=[('password', api_password)])
price = response[0].price
print('Response: ' + '30-day BTC price: ' + price.btc_price + ' 30-day USD price: ' + price.usd_pricez)
print('Response: ' + '30-day BTC price: ' + price.btc_price + ' 30-day USD price: ' + price.usd_price)
except grpc.RpcError as rpc_error:
print('gRPC API Exception: %s', rpc_error)