Fix typo on example for order information (#50)

This commit is contained in:
Lowell Tarek Abbott Vidal 2020-10-14 14:24:50 -04:00 committed by GitHub
parent 4f693e8ed4
commit 42b2f03332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ asks = market.load_asks()
print("Ask Orders:")
for ask in asks:
print("Order id: %d, price: %f, size: %f." % (
ask.order_id, ask.order_info.price, ask.order_info.size))
ask.order_id, ask.info.price, ask.info.size))
print("\n")
# Show all current bid order
@ -35,7 +35,7 @@ print("Bid Orders:")
bids = market.load_bids()
for bid in bids:
print("Order id: %d, price: %f, size: %f." % (
bid.order_id, bid.order_info.price, bid.order_info.size))
bid.order_id, bid.info.price, bid.info.size))
```
### Market Addresses in Main Net