GeminiAgentsToolkit / investor-agent

1 stars 1 forks source link

Need improve `get_closed_orders` #16

Closed seralekseenko closed 3 months ago

seralekseenko commented 3 months ago

I think: the limit in arguments would be a solution.

Something like this:

def get_closed_orders(orders_limit):
    """
         Returns a string with the closed orders for the account.
         Use the orders_limit for getting lightweight results.
    """
    # solution below
b0noI commented 3 months ago

done, limit now is argument, I suggest not to ask for more than 10 :D