Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/HKUDS/AI-Trader
/ close
Method
close
service/server/database.py:283–284 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
281
self._connection.rollback()
282
283
def
close(self):
284
self._connection.close()
285
286
def
__enter__(self):
287
return
self
Callers
15
__exit__
Method · 0.95
App
Function · 0.80
get_database_status
Function · 0.80
init_database
Function · 0.80
_get_hot_us_stock_symbols
Function · 0.80
refresh_market_news_snapshots
Function · 0.80
_load_latest_news_snapshot
Function · 0.80
refresh_macro_signal_snapshot
Function · 0.80
get_macro_signals_payload
Function · 0.80
refresh_etf_flow_snapshot
Function · 0.80
get_etf_flows_payload
Function · 0.80
refresh_stock_analysis_snapshots
Function · 0.80
Calls
no outgoing calls
Tested by
15
_create_agent
Method · 0.64
_insert_message
Method · 0.64
test_attach_experiment_unread_notice_is_non_destructive
Method · 0.64
test_attach_experiment_unread_notice_records_exposure
Method · 0.64
_create_agent
Method · 0.64
test_thirty_agent_mission_forms_ten_teams_settles_rewards_and_exports
Method · 0.64
_create_agent
Method · 0.64
_counts_and_cash
Method · 0.64
test_us_stock_trade_uses_server_quote_instead_of_client_price
Method · 0.64
_create_agent
Method · 0.64
test_create_and_join_challenge_is_idempotent
Method · 0.64
test_team_challenge_creates_team_portfolio_and_leaderboard
Method · 0.64