Skip to content

Commit

Permalink
fix: change get_order_result_history params order
Browse files Browse the repository at this point in the history
  • Loading branch information
zjkung1123 committed May 24, 2024
1 parent 8f79308 commit 83877d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fugle_trade/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def get_order_results(self):

def get_order_results_by_date(self, start, end):
"""get order result data by date 用日期當作篩選條件委託明細"""
order_res_history = self.__core.get_order_result_history("0", start, end)
order_res_history = self.__core.get_order_result_history(start, end, "0")
return loads(order_res_history)["data"]["order_result_history"]

def get_transactions(self, query_range):
Expand Down

0 comments on commit 83877d5

Please sign in to comment.