diff --git a/swagger-docs/en/trade/order/estimate_available_buy_limit.yml b/swagger-docs/en/trade/order/estimate_available_buy_limit.yml index eefba59a..07fe5bd6 100644 --- a/swagger-docs/en/trade/order/estimate_available_buy_limit.yml +++ b/swagger-docs/en/trade/order/estimate_available_buy_limit.yml @@ -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, diff --git a/swagger-docs/zh-CN/trade/order/estimate_available_buy_limit.yml b/swagger-docs/zh-CN/trade/order/estimate_available_buy_limit.yml index fdbcc331..00dd5b22 100644 --- a/swagger-docs/zh-CN/trade/order/estimate_available_buy_limit.yml +++ b/swagger-docs/zh-CN/trade/order/estimate_available_buy_limit.yml @@ -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, diff --git a/swagger-docs/zh-HK/trade/order/estimate_available_buy_limit.yml b/swagger-docs/zh-HK/trade/order/estimate_available_buy_limit.yml index 465020be..6ef74bb7 100644 --- a/swagger-docs/zh-HK/trade/order/estimate_available_buy_limit.yml +++ b/swagger-docs/zh-HK/trade/order/estimate_available_buy_limit.yml @@ -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,