Write a function in strategy-service.ts module to decide based on the candles of different pairs, if it's a long opportunity, short opportunity, or no opportunity for that specific pair. The function should accept a record of pairs mapped to their candles, exactly the same as return type of the exported function from https://github.com/ConnecMent/dydx-bot/issues/1, and return a mapping from the pair to the strategy (long, short, and null, indicating no trade).
For now, leave the function body empty and Just annotate the function parameters and return type.
Prerequisites
Description
Write a function in
strategy-service.ts
module to decide based on the candles of different pairs, if it's a long opportunity, short opportunity, or no opportunity for that specific pair. The function should accept a record of pairs mapped to their candles, exactly the same as return type of the exported function from https://github.com/ConnecMent/dydx-bot/issues/1, and return a mapping from the pair to the strategy (long, short, and null, indicating no trade). For now, leave the function body empty and Just annotate the function parameters and return type.