refactor: migrate TrumpSignal to TypeScript monorepo and Pages Router
This commit is contained in:
@@ -0,0 +1,189 @@
|
||||
{
|
||||
"posts": [
|
||||
"id",
|
||||
"external_id",
|
||||
"text",
|
||||
"source",
|
||||
"published_at",
|
||||
"sentiment",
|
||||
"ai_confidence",
|
||||
"relevant",
|
||||
"price_impact_asset",
|
||||
"price_impact_m5",
|
||||
"price_impact_m15",
|
||||
"price_impact_m1h",
|
||||
"price_at_post",
|
||||
"signal",
|
||||
"ai_reasoning",
|
||||
"prefilter_reason",
|
||||
"analysis_version",
|
||||
"target_asset",
|
||||
"category",
|
||||
"expected_move_pct",
|
||||
"invalidation_price",
|
||||
"created_at"
|
||||
],
|
||||
"candles": ["id", "asset", "timeframe", "time", "open", "high", "low", "close", "volume"],
|
||||
"bot_trades": [
|
||||
"id",
|
||||
"asset",
|
||||
"side",
|
||||
"entry_price",
|
||||
"exit_price",
|
||||
"pnl_usd",
|
||||
"hold_seconds",
|
||||
"trigger_post_id",
|
||||
"wallet_address",
|
||||
"opened_at",
|
||||
"closed_at",
|
||||
"released_at",
|
||||
"hl_order_id",
|
||||
"size_usd",
|
||||
"leverage",
|
||||
"eff_take_profit_pct",
|
||||
"eff_stop_loss_pct",
|
||||
"eff_trailing_stop_pct",
|
||||
"eff_trailing_activate_pct",
|
||||
"eff_max_hold_hours",
|
||||
"eff_invalidation",
|
||||
"eff_invalidation_price",
|
||||
"eff_min_hold_until_ts",
|
||||
"realized_partial_pnl_usd",
|
||||
"remaining_fraction",
|
||||
"derisk_steps_done",
|
||||
"base_size_usd",
|
||||
"addon_steps_done",
|
||||
"sys2_mode",
|
||||
"grow_mode",
|
||||
"peak_gain_pct"
|
||||
],
|
||||
"subscriptions": [
|
||||
"id",
|
||||
"wallet_address",
|
||||
"hl_api_key",
|
||||
"active",
|
||||
"subscribed_at",
|
||||
"created_at",
|
||||
"leverage",
|
||||
"position_size_usd",
|
||||
"take_profit_pct",
|
||||
"stop_loss_pct",
|
||||
"min_confidence",
|
||||
"daily_budget_usd",
|
||||
"active_from",
|
||||
"active_until",
|
||||
"trailing_stop_pct",
|
||||
"trailing_activate_at_pct",
|
||||
"max_hold_hours",
|
||||
"manual_window_until",
|
||||
"paper_mode",
|
||||
"circuit_breaker_tripped_at",
|
||||
"circuit_breaker_reason",
|
||||
"sys2_budget_pct",
|
||||
"sys2_cb_tripped_at",
|
||||
"sys2_cb_reason",
|
||||
"sys2_leverage",
|
||||
"sys2_mode",
|
||||
"auto_trade",
|
||||
"trump_enabled",
|
||||
"macro_enabled"
|
||||
],
|
||||
"kol_posts": [
|
||||
"id",
|
||||
"kol_handle",
|
||||
"source",
|
||||
"external_id",
|
||||
"title",
|
||||
"url",
|
||||
"published_at",
|
||||
"raw_text",
|
||||
"content_hash",
|
||||
"summary",
|
||||
"tickers_json",
|
||||
"analyzed_at",
|
||||
"analysis_model",
|
||||
"analysis_version",
|
||||
"tier",
|
||||
"post_type",
|
||||
"talks_vs_trades_flag",
|
||||
"sentiment",
|
||||
"created_at"
|
||||
],
|
||||
"kol_wallets": ["id", "handle", "chain", "address", "label", "source_url", "active", "added_at"],
|
||||
"kol_holdings_snapshots": [
|
||||
"id",
|
||||
"wallet_id",
|
||||
"snapshot_date",
|
||||
"holdings_json",
|
||||
"total_usd",
|
||||
"source",
|
||||
"created_at"
|
||||
],
|
||||
"kol_holding_changes": [
|
||||
"id",
|
||||
"wallet_id",
|
||||
"detected_at",
|
||||
"ticker",
|
||||
"change_type",
|
||||
"usd_before",
|
||||
"usd_after",
|
||||
"pct_change",
|
||||
"created_at"
|
||||
],
|
||||
"kol_divergence": [
|
||||
"id",
|
||||
"handle",
|
||||
"ticker",
|
||||
"post_id",
|
||||
"post_action",
|
||||
"post_conviction",
|
||||
"post_at",
|
||||
"change_id",
|
||||
"onchain_action",
|
||||
"usd_before",
|
||||
"usd_after",
|
||||
"onchain_at",
|
||||
"signal_type",
|
||||
"direction",
|
||||
"days_apart",
|
||||
"created_at"
|
||||
],
|
||||
"telegram_bindings": [
|
||||
"id",
|
||||
"wallet_address",
|
||||
"chat_id",
|
||||
"tg_username",
|
||||
"bound_at",
|
||||
"alerts_enabled",
|
||||
"alert_trump",
|
||||
"alert_btc_bottom",
|
||||
"alert_funding",
|
||||
"alert_kol_divergence",
|
||||
"min_confidence",
|
||||
"mute_from_hour",
|
||||
"mute_until_hour",
|
||||
"last_alert_at",
|
||||
"total_alerts_sent",
|
||||
"total_alerts_failed",
|
||||
"digest_enabled",
|
||||
"digest_hour_utc",
|
||||
"last_digest_sent_at"
|
||||
],
|
||||
"macro_snapshots": [
|
||||
"id",
|
||||
"snapshot_date",
|
||||
"captured_at",
|
||||
"ahr999",
|
||||
"altcoin_season_index",
|
||||
"fear_greed",
|
||||
"fear_greed_label",
|
||||
"btc_dominance_pct",
|
||||
"eth_btc_ratio",
|
||||
"stablecoin_supply_usd",
|
||||
"etf_flow_net_usd_1d",
|
||||
"btc_open_interest_usd",
|
||||
"composite_score",
|
||||
"regime_label",
|
||||
"raw_json"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user