瀏覽代碼

docs: add timeframe to entity lookup examples

Lukas Goldschmidt 1 月之前
父節點
當前提交
db1c8dea62
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -113,9 +113,9 @@ mcporter --config "$CONFIG" call news.get_latest_events topic=macro limit=5
 ### 2) Events for an entity
 
 ```bash
-mcporter --config "$CONFIG" call news.get_events_for_entity entity=Bitcoin limit=10
-mcporter --config "$CONFIG" call news.get_events_for_entity entity=ETH limit=10
-mcporter --config "$CONFIG" call news.get_events_for_entity entity=ETF limit=10
+mcporter --config "$CONFIG" call news.get_events_for_entity entity=Bitcoin timeframe=24h limit=10
+mcporter --config "$CONFIG" call news.get_events_for_entity entity=ETH timeframe=3d limit=10
+mcporter --config "$CONFIG" call news.get_events_for_entity entity=ETF timeframe=7d limit=10
 ```
 
 ### 3) Event summary (by cluster_id)