MCPcopy Index your code

hub / github.com/vnpy/vnpy / functions

Functions769 in github.com/vnpy/vnpy

↓ 2 callersMethodsave_setting
Persist current state back to json file.
vnpy/trader/engine.py:707
↓ 2 callersMethodsave_setting
(self)
vnpy/trader/ui/widget.py:404
↓ 2 callersMethodsave_window_setting
Save current window size and state by trader path and setting name.
vnpy/trader/ui/mainwindow.py:297
↓ 2 callersMethodsend_email
(self, subject: str, content: str, receiver: str | None = None)
vnpy/trader/engine.py:603
↓ 2 callersMethodsend_wechat
Queue a text message for WeChat push.
vnpy/trader/engine.py:776
↓ 2 callersMethodset_label
Set the label expression
vnpy/alpha/dataset/template.py:75
↓ 2 callersMethodset_target
Set target position
vnpy/alpha/strategy/template.py:129
↓ 2 callersMethodstop
Stop WeChat sending worker.
vnpy/trader/engine.py:762
↓ 2 callersMethodstop
Request the worker loop to terminate at the next checkpoint.
vnpy/trader/ui/widget.py:1324
↓ 2 callersMethodsubscribe
Subscribe tick data update of a specific gateway.
vnpy/trader/engine.py:244
↓ 2 callersMethodsum_pos_frozen
(self)
vnpy/trader/converter.py:156
↓ 2 callersFunctionto_pl_dataframe
Convert to polars.DataFrame data structure
vnpy/alpha/dataset/ta_function.py:18
↓ 2 callersFunctionts_std
Calculate the standard deviation over a rolling window
vnpy/alpha/dataset/ts_function.py:92
↓ 2 callersMethodupdate_position
(self, position: PositionData)
vnpy/trader/converter.py:43
↓ 2 callersMethodupdate_trade
(self, trade: TradeData)
vnpy/trader/converter.py:71
↓ 2 callersMethodwrite_log
Output log message
vnpy/alpha/strategy/backtesting.py:765
↓ 1 callersMethod__init__
(self, parent: QtWidgets.QWidget | None = None)
vnpy/chart/widget.py:24
↓ 1 callersMethod__init__
Initialize MLP model Parameters ---------- input_size : int, default 360 Input feature dimension
vnpy/alpha/model/models/mlp_model.py:35
↓ 1 callersMethod_calculate_feature_importance
Calculate feature importance Returns ------- pd.DataFrame Feature importance dataframe
vnpy/alpha/model/models/mlp_model.py:458
↓ 1 callersMethod_connect_signal
Connect mouse move signal to update function.
vnpy/chart/widget.py:417
↓ 1 callersMethod_create_loading_page
Create the loading page.
vnpy/trader/ui/widget.py:1494
↓ 1 callersMethod_create_qr_page
Create the QR page.
vnpy/trader/ui/widget.py:1512
↓ 1 callersMethod_create_result_page
Create the result page.
vnpy/trader/ui/widget.py:1553
↓ 1 callersMethod_create_status_page
Create the status page.
vnpy/trader/ui/widget.py:1419
↓ 1 callersMethod_create_waiting_page
Create the waiting page.
vnpy/trader/ui/widget.py:1535
↓ 1 callersMethod_draw_bar_picture
Draw picture for specific bar.
vnpy/chart/item.py:45
↓ 1 callersMethod_draw_item_picture
Draw the picture of item in specific range.
vnpy/chart/item.py:137
↓ 1 callersMethod_evaluate_step
Evaluate current model performance Parameters ---------- train_valid_data : dict Training and validation
vnpy/alpha/model/models/mlp_model.py:264
↓ 1 callersMethod_get_activation
Get specified activation function layer Parameters ---------- name : str Activation function name
vnpy/alpha/model/models/mlp_model.py:620
↓ 1 callersMethod_get_new_x_axis
(self)
vnpy/chart/widget.py:53
↓ 1 callersFunction_get_trader_dir
Get path where trader is running in.
vnpy/trader/utility.py:38
↓ 1 callersFunction_headers
Generate standard headers for an iLink POST request.
vnpy/trader/wechat.py:285
↓ 1 callersMethod_init_info
vnpy/chart/widget.py:400
↓ 1 callersMethod_init_label
Create label objects on axis.
vnpy/chart/widget.py:379
↓ 1 callersMethod_init_line
Create line objects.
vnpy/chart/widget.py:355
↓ 1 callersMethod_init_ui
(self)
vnpy/chart/widget.py:42
↓ 1 callersMethod_init_ui
(self)
vnpy/chart/widget.py:349
↓ 1 callersMethod_initialize_weights
Initialize network weight parameters Uses Kaiming initialization method for all linear layers, which is particularly suitabl
vnpy/alpha/model/models/mlp_model.py:646
↓ 1 callersMethod_on_key_left
Move chart to left.
vnpy/chart/widget.py:263
↓ 1 callersMethod_on_key_right
Move chart to right.
vnpy/chart/widget.py:276
↓ 1 callersFunction_parse_user_id
Parse sender user ID from an iLink raw message; ignore bot's own messages.
vnpy/trader/wechat.py:301
↓ 1 callersMethod_prepare_data
Prepare data for training and validation Parameters ---------- dataset : AlphaDataset The dataset contai
vnpy/alpha/model/models/lgb_model.py:53
↓ 1 callersMethod_process
First distribute event to those handlers registered listening to this type. Then distribute event to those general handlers
vnpy/event/engine.py:66
↓ 1 callersMethod_train_step
Execute one training step Parameters ---------- train_valid_data : dict Training and validation data
vnpy/alpha/model/models/mlp_model.py:224
↓ 1 callersMethodadd_cursor
(self)
vnpy/chart/widget.py:56
↓ 1 callersMethodbuy
Buy to open position
vnpy/alpha/strategy/template.py:78
↓ 1 callersFunctioncalculate_by_polars
Execute calculation based on Polars expression
vnpy/alpha/dataset/utility.py:258
↓ 1 callersMethodcalculate_frozen
(self)
vnpy/trader/converter.py:112
↓ 1 callersMethodcallback
Callable function
vnpy/rpc/client.py:152
↓ 1 callersMethodcancel_all
Cancel all active orders
vnpy/alpha/strategy/template.py:116
↓ 1 callersMethodcancel_order
Cancel order if cell double clicked.
vnpy/trader/ui/widget.py:519
↓ 1 callersMethodcancel_order
Cancel order
vnpy/alpha/strategy/template.py:112
↓ 1 callersMethodcheck_heartbeat
Check whether it is required to send heartbeat.
vnpy/rpc/server.py:129
↓ 1 callersMethodclear_label_text
Clear text on all labels.
vnpy/trader/ui/widget.py:958
↓ 1 callersMethodconvert_order_request_lock
(self, req: OrderRequest)
vnpy/trader/converter.py:202
↓ 1 callersMethodconvert_order_request_net
(self, req: OrderRequest)
vnpy/trader/converter.py:242
↓ 1 callersMethodconvert_order_request_shfe
(self, req: OrderRequest)
vnpy/trader/converter.py:168
↓ 1 callersMethodcover
Buy to close position
vnpy/alpha/strategy/template.py:90
↓ 1 callersMethodcreate_order_data
Create order data from request.
vnpy/trader/object.py:339
↓ 1 callersFunctioncreate_test_df
Create test DataFrame with extreme values. Columns: datetime, vt_symbol, open, high, low, close, volume, vwap
tests/test_alpha101.py:9
↓ 1 callersMethodcross_order
Match limit orders
vnpy/alpha/strategy/backtesting.py:619
↓ 1 callersFunctioncs_sum
Calculate cross-sectional sum
vnpy/alpha/dataset/cs_function.py:40
↓ 1 callersFunctiondecay_func
Calculate linear decay weighted average for a series
vnpy/alpha/dataset/ts_function.py:308
↓ 1 callersMethodexecute_trading
Execute position adjustment based on targets
vnpy/alpha/strategy/template.py:133
↓ 1 callersMethodfail_bind
Show the failure reason and reset the UI for retry.
vnpy/trader/ui/widget.py:1670
↓ 1 callersFunctiongenerate_parameter
()
vnpy/trader/optimize.py:151
↓ 1 callersMethodget_all_active_orders
Get all active orders.
vnpy/trader/engine.py:546
↓ 1 callersMethodget_all_apps
Get all app objects.
vnpy/trader/engine.py:222
↓ 1 callersMethodget_all_bars
Get all bar data.
vnpy/chart/manager.py:87
↓ 1 callersMethodget_all_contracts
Get all contract data.
vnpy/trader/engine.py:534
↓ 1 callersMethodget_all_exchanges
Get all exchanges.
vnpy/trader/engine.py:228
↓ 1 callersFunctionget_database
()
vnpy/trader/database.py:139
↓ 1 callersMethodget_default_setting
Get default setting dict of a specific gateway.
vnpy/trader/engine.py:207
↓ 1 callersFunctionget_digits
Get number of digits after decimal point.
vnpy/trader/utility.py:150
↓ 1 callersFunctionget_folder_path
Get path for temp folder with folder name.
vnpy/trader/utility.py:72
↓ 1 callersMethodget_holding_value
Get holding market value
vnpy/alpha/strategy/template.py:195
↓ 1 callersMethodget_index
Get index with datetime.
vnpy/chart/manager.py:63
↓ 1 callersMethodget_info_text
Get information text to show by cursor.
vnpy/chart/item.py:68
↓ 1 callersMethodget_signal
Get current signal
vnpy/alpha/strategy/template.py:74
↓ 1 callersMethodget_target
Query target position
vnpy/alpha/strategy/template.py:125
↓ 1 callersMethodget_tick
Get latest market tick data by vt_symbol.
vnpy/trader/engine.py:462
↓ 1 callersMethodinit_dock
(self)
vnpy/trader/ui/mainwindow.py:67
↓ 1 callersMethodinit_engines
Init all engines.
vnpy/trader/engine.py:138
↓ 1 callersMethodinit_menu
(self)
vnpy/trader/ui/mainwindow.py:101
↓ 1 callersMethodinit_menu
Create right click menu.
vnpy/trader/ui/widget.py:284
↓ 1 callersMethodinit_table
Initialize table.
vnpy/trader/ui/widget.py:270
↓ 1 callersMethodinit_toolbar
(self)
vnpy/trader/ui/mainwindow.py:190
↓ 1 callersMethodinit_ui
(self)
vnpy/trader/ui/mainwindow.py:59
↓ 1 callersMethodinit_ui
(self)
vnpy/trader/ui/widget.py:628
↓ 1 callersMethodinit_ui
(self)
vnpy/trader/ui/widget.py:724
↓ 1 callersMethodinit_ui
(self)
vnpy/trader/ui/widget.py:1115
↓ 1 callersMethodinit_ui
(self)
vnpy/trader/ui/widget.py:1198
↓ 1 callersMethodinit_ui
(self)
vnpy/trader/ui/widget.py:1244
↓ 1 callersMethodinit_ui
(self)
vnpy/trader/ui/widget.py:1394
↓ 1 callersMethodinit_ui
(self)
vnpy/trader/ui/qt.py:85
↓ 1 callersMethodis_active
(self)
vnpy/rpc/server.py:38
↓ 1 callersMethodload_contract_setttings
Load contract settings
vnpy/alpha/lab.py:379
↓ 1 callersMethodload_setting
Load credentials and user info from json file.
vnpy/trader/engine.py:685
↓ 1 callersMethodload_setting
(self)
vnpy/trader/ui/widget.py:409
↓ 1 callersFunctionmain
()
examples/client_server/run_client.py:9
← previousnext →101–200 of 769, ranked by callers