Skip to content

Commit

Permalink
fix lambda fn
Browse files Browse the repository at this point in the history
  • Loading branch information
ericz1803 committed Aug 11, 2023
1 parent 099f07f commit 56a5ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def rebalance(self):
print(f"Attempted to buy ${total_spent} worth of stocks.")

trader = Trader()
def rebalance():
def rebalance(event, context):
trader.rebalance()

if __name__ == '__main__':
rebalance()
rebalance(None, None)

0 comments on commit 56a5ed0

Please sign in to comment.