Edit demos in examples/ folder to use lowercase property identifiers.

This commit is contained in:
Davide Casale
2023-01-27 15:57:36 +01:00
parent d767e5dcfe
commit 6e96cda584
10 changed files with 20 additions and 21 deletions

View File

@@ -12,7 +12,7 @@ t_symbol_response = bfx.rest.public.get_trading_market_average_price(
price_limit="20000.5"
)
print(t_symbol_response.PRICE_AVG)
print(t_symbol_response.price_avg)
f_symbol_response = bfx.rest.public.get_funding_market_average_price(
symbol="fUSD",
@@ -21,8 +21,8 @@ f_symbol_response = bfx.rest.public.get_funding_market_average_price(
rate_limit="0.00015"
)
print(f_symbol_response.RATE_AVG)
print(f_symbol_response.rate_avg)
fx_rate = bfx.rest.public.get_fx_rate(ccy1="USD", ccy2="EUR")
print(fx_rate.CURRENT_RATE)
print(fx_rate.current_rate)