From 77815e75c8fcf42caffefb95bda1f2e736e6c623 Mon Sep 17 00:00:00 2001 From: gabrielfior Date: Thu, 14 Nov 2024 10:45:55 -0300 Subject: [PATCH] Small refactoring to address PR comments --- ape-config.yaml | 2 +- examples/monitor/match_bets_with_langfuse_traces.py | 2 +- .../monitor/financial_metrics}/financial_metrics.py | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {examples/monitor => prediction_market_agent_tooling/monitor/financial_metrics}/financial_metrics.py (100%) diff --git a/ape-config.yaml b/ape-config.yaml index 71f4898e..bc11a968 100644 --- a/ape-config.yaml +++ b/ape-config.yaml @@ -8,7 +8,7 @@ default_ecosystem: gnosis node: gnosis: mainnet: - uri: https://rpc.gnosis.gateway.fm #https://rpc.gnosischain.com + uri: https://rpc.gnosischain.com networks: diff --git a/examples/monitor/match_bets_with_langfuse_traces.py b/examples/monitor/match_bets_with_langfuse_traces.py index 725860c6..fd6b925b 100644 --- a/examples/monitor/match_bets_with_langfuse_traces.py +++ b/examples/monitor/match_bets_with_langfuse_traces.py @@ -4,7 +4,6 @@ import dotenv from eth_typing import HexAddress, HexStr -from examples.monitor.financial_metrics import SharpeRatioCalculator from examples.monitor.transaction_cache import TransactionBlockCache from prediction_market_agent_tooling.markets.omen.omen_contracts import ( OmenConditionalTokenContract, @@ -12,6 +11,7 @@ from prediction_market_agent_tooling.markets.omen.omen_subgraph_handler import ( OmenSubgraphHandler, ) +from prediction_market_agent_tooling.monitor.financial_metrics.financial_metrics import SharpeRatioCalculator dotenv.load_dotenv() import pandas as pd diff --git a/examples/monitor/financial_metrics.py b/prediction_market_agent_tooling/monitor/financial_metrics/financial_metrics.py similarity index 100% rename from examples/monitor/financial_metrics.py rename to prediction_market_agent_tooling/monitor/financial_metrics/financial_metrics.py