Skip to content

Commit

Permalink
Rename orders to result in example code to match wiki example
Browse files Browse the repository at this point in the history
  • Loading branch information
jmerle committed Apr 8, 2024
1 parent 480377c commit 9dfb91d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/home/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ logger = Logger()
class Trader:
def run(self, state: TradingState) -> tuple[dict[Symbol, list[Order]], int, str]:
orders = {}
result = {}
conversions = 0
trader_data = ""
# TODO: Add logic
logger.flush(state, orders, conversions, trader_data)
return orders, conversions, trader_data
logger.flush(state, result, conversions, trader_data)
return result, conversions, trader_data
`.trim();

return (
Expand Down

0 comments on commit 9dfb91d

Please sign in to comment.