Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Apr 5, 2024
1 parent 939af17 commit f00595d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ paths:
config = Config.from_env()
ctx = TradeContext(config)
resp = ctx.estimate_available_buy_limit(
resp = ctx.estimate_max_purchase_quantity(
symbol = "700.HK",
order_type = OrderType.LO,
side = OrderSide.Buy,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ paths:
config = Config.from_env()
ctx = TradeContext(config)
resp = ctx.estimate_available_buy_limit(
resp = ctx.estimate_max_purchase_quantity(
symbol = "700.HK",
order_type = OrderType.LO,
side = OrderSide.Buy,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ paths:
config = Config.from_env()
ctx = TradeContext(config)
resp = ctx.estimate_available_buy_limit(
resp = ctx.estimate_max_purchase_quantity(
symbol = "700.HK",
order_type = OrderType.LO,
side = OrderSide.Buy,
Expand Down

0 comments on commit f00595d

Please sign in to comment.