Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/vnpy/vnpy
/ functions
Functions
769 in github.com/vnpy/vnpy
⨍
Functions
769
◇
Types & classes
105
↓ 2 callers
Method
save_setting
Persist current state back to json file.
vnpy/trader/engine.py:707
↓ 2 callers
Method
save_setting
(self)
vnpy/trader/ui/widget.py:404
↓ 2 callers
Method
save_window_setting
Save current window size and state by trader path and setting name.
vnpy/trader/ui/mainwindow.py:297
↓ 2 callers
Method
send_email
(self, subject: str, content: str, receiver: str | None = None)
vnpy/trader/engine.py:603
↓ 2 callers
Method
send_wechat
Queue a text message for WeChat push.
vnpy/trader/engine.py:776
↓ 2 callers
Method
set_label
Set the label expression
vnpy/alpha/dataset/template.py:75
↓ 2 callers
Method
set_target
Set target position
vnpy/alpha/strategy/template.py:129
↓ 2 callers
Method
stop
Stop WeChat sending worker.
vnpy/trader/engine.py:762
↓ 2 callers
Method
stop
Request the worker loop to terminate at the next checkpoint.
vnpy/trader/ui/widget.py:1324
↓ 2 callers
Method
subscribe
Subscribe tick data update of a specific gateway.
vnpy/trader/engine.py:244
↓ 2 callers
Method
sum_pos_frozen
(self)
vnpy/trader/converter.py:156
↓ 2 callers
Function
to_pl_dataframe
Convert to polars.DataFrame data structure
vnpy/alpha/dataset/ta_function.py:18
↓ 2 callers
Function
ts_std
Calculate the standard deviation over a rolling window
vnpy/alpha/dataset/ts_function.py:92
↓ 2 callers
Method
update_position
(self, position: PositionData)
vnpy/trader/converter.py:43
↓ 2 callers
Method
update_trade
(self, trade: TradeData)
vnpy/trader/converter.py:71
↓ 2 callers
Method
write_log
Output log message
vnpy/alpha/strategy/backtesting.py:765
↓ 1 callers
Method
__init__
(self, parent: QtWidgets.QWidget | None = None)
vnpy/chart/widget.py:24
↓ 1 callers
Method
__init__
Initialize MLP model Parameters ---------- input_size : int, default 360 Input feature dimension
vnpy/alpha/model/models/mlp_model.py:35
↓ 1 callers
Method
_calculate_feature_importance
Calculate feature importance Returns ------- pd.DataFrame Feature importance dataframe
vnpy/alpha/model/models/mlp_model.py:458
↓ 1 callers
Method
_connect_signal
Connect mouse move signal to update function.
vnpy/chart/widget.py:417
↓ 1 callers
Method
_create_loading_page
Create the loading page.
vnpy/trader/ui/widget.py:1494
↓ 1 callers
Method
_create_qr_page
Create the QR page.
vnpy/trader/ui/widget.py:1512
↓ 1 callers
Method
_create_result_page
Create the result page.
vnpy/trader/ui/widget.py:1553
↓ 1 callers
Method
_create_status_page
Create the status page.
vnpy/trader/ui/widget.py:1419
↓ 1 callers
Method
_create_waiting_page
Create the waiting page.
vnpy/trader/ui/widget.py:1535
↓ 1 callers
Method
_draw_bar_picture
Draw picture for specific bar.
vnpy/chart/item.py:45
↓ 1 callers
Method
_draw_item_picture
Draw the picture of item in specific range.
vnpy/chart/item.py:137
↓ 1 callers
Method
_evaluate_step
Evaluate current model performance Parameters ---------- train_valid_data : dict Training and validation
vnpy/alpha/model/models/mlp_model.py:264
↓ 1 callers
Method
_get_activation
Get specified activation function layer Parameters ---------- name : str Activation function name
vnpy/alpha/model/models/mlp_model.py:620
↓ 1 callers
Method
_get_new_x_axis
(self)
vnpy/chart/widget.py:53
↓ 1 callers
Function
_get_trader_dir
Get path where trader is running in.
vnpy/trader/utility.py:38
↓ 1 callers
Function
_headers
Generate standard headers for an iLink POST request.
vnpy/trader/wechat.py:285
↓ 1 callers
Method
_init_info
vnpy/chart/widget.py:400
↓ 1 callers
Method
_init_label
Create label objects on axis.
vnpy/chart/widget.py:379
↓ 1 callers
Method
_init_line
Create line objects.
vnpy/chart/widget.py:355
↓ 1 callers
Method
_init_ui
(self)
vnpy/chart/widget.py:42
↓ 1 callers
Method
_init_ui
(self)
vnpy/chart/widget.py:349
↓ 1 callers
Method
_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 callers
Method
_on_key_left
Move chart to left.
vnpy/chart/widget.py:263
↓ 1 callers
Method
_on_key_right
Move chart to right.
vnpy/chart/widget.py:276
↓ 1 callers
Function
_parse_user_id
Parse sender user ID from an iLink raw message; ignore bot's own messages.
vnpy/trader/wechat.py:301
↓ 1 callers
Method
_prepare_data
Prepare data for training and validation Parameters ---------- dataset : AlphaDataset The dataset contai
vnpy/alpha/model/models/lgb_model.py:53
↓ 1 callers
Method
_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 callers
Method
_train_step
Execute one training step Parameters ---------- train_valid_data : dict Training and validation data
vnpy/alpha/model/models/mlp_model.py:224
↓ 1 callers
Method
add_cursor
(self)
vnpy/chart/widget.py:56
↓ 1 callers
Method
buy
Buy to open position
vnpy/alpha/strategy/template.py:78
↓ 1 callers
Function
calculate_by_polars
Execute calculation based on Polars expression
vnpy/alpha/dataset/utility.py:258
↓ 1 callers
Method
calculate_frozen
(self)
vnpy/trader/converter.py:112
↓ 1 callers
Method
callback
Callable function
vnpy/rpc/client.py:152
↓ 1 callers
Method
cancel_all
Cancel all active orders
vnpy/alpha/strategy/template.py:116
↓ 1 callers
Method
cancel_order
Cancel order if cell double clicked.
vnpy/trader/ui/widget.py:519
↓ 1 callers
Method
cancel_order
Cancel order
vnpy/alpha/strategy/template.py:112
↓ 1 callers
Method
check_heartbeat
Check whether it is required to send heartbeat.
vnpy/rpc/server.py:129
↓ 1 callers
Method
clear_label_text
Clear text on all labels.
vnpy/trader/ui/widget.py:958
↓ 1 callers
Method
convert_order_request_lock
(self, req: OrderRequest)
vnpy/trader/converter.py:202
↓ 1 callers
Method
convert_order_request_net
(self, req: OrderRequest)
vnpy/trader/converter.py:242
↓ 1 callers
Method
convert_order_request_shfe
(self, req: OrderRequest)
vnpy/trader/converter.py:168
↓ 1 callers
Method
cover
Buy to close position
vnpy/alpha/strategy/template.py:90
↓ 1 callers
Method
create_order_data
Create order data from request.
vnpy/trader/object.py:339
↓ 1 callers
Function
create_test_df
Create test DataFrame with extreme values. Columns: datetime, vt_symbol, open, high, low, close, volume, vwap
tests/test_alpha101.py:9
↓ 1 callers
Method
cross_order
Match limit orders
vnpy/alpha/strategy/backtesting.py:619
↓ 1 callers
Function
cs_sum
Calculate cross-sectional sum
vnpy/alpha/dataset/cs_function.py:40
↓ 1 callers
Function
decay_func
Calculate linear decay weighted average for a series
vnpy/alpha/dataset/ts_function.py:308
↓ 1 callers
Method
execute_trading
Execute position adjustment based on targets
vnpy/alpha/strategy/template.py:133
↓ 1 callers
Method
fail_bind
Show the failure reason and reset the UI for retry.
vnpy/trader/ui/widget.py:1670
↓ 1 callers
Function
generate_parameter
()
vnpy/trader/optimize.py:151
↓ 1 callers
Method
get_all_active_orders
Get all active orders.
vnpy/trader/engine.py:546
↓ 1 callers
Method
get_all_apps
Get all app objects.
vnpy/trader/engine.py:222
↓ 1 callers
Method
get_all_bars
Get all bar data.
vnpy/chart/manager.py:87
↓ 1 callers
Method
get_all_contracts
Get all contract data.
vnpy/trader/engine.py:534
↓ 1 callers
Method
get_all_exchanges
Get all exchanges.
vnpy/trader/engine.py:228
↓ 1 callers
Function
get_database
()
vnpy/trader/database.py:139
↓ 1 callers
Method
get_default_setting
Get default setting dict of a specific gateway.
vnpy/trader/engine.py:207
↓ 1 callers
Function
get_digits
Get number of digits after decimal point.
vnpy/trader/utility.py:150
↓ 1 callers
Function
get_folder_path
Get path for temp folder with folder name.
vnpy/trader/utility.py:72
↓ 1 callers
Method
get_holding_value
Get holding market value
vnpy/alpha/strategy/template.py:195
↓ 1 callers
Method
get_index
Get index with datetime.
vnpy/chart/manager.py:63
↓ 1 callers
Method
get_info_text
Get information text to show by cursor.
vnpy/chart/item.py:68
↓ 1 callers
Method
get_signal
Get current signal
vnpy/alpha/strategy/template.py:74
↓ 1 callers
Method
get_target
Query target position
vnpy/alpha/strategy/template.py:125
↓ 1 callers
Method
get_tick
Get latest market tick data by vt_symbol.
vnpy/trader/engine.py:462
↓ 1 callers
Method
init_dock
(self)
vnpy/trader/ui/mainwindow.py:67
↓ 1 callers
Method
init_engines
Init all engines.
vnpy/trader/engine.py:138
↓ 1 callers
Method
init_menu
(self)
vnpy/trader/ui/mainwindow.py:101
↓ 1 callers
Method
init_menu
Create right click menu.
vnpy/trader/ui/widget.py:284
↓ 1 callers
Method
init_table
Initialize table.
vnpy/trader/ui/widget.py:270
↓ 1 callers
Method
init_toolbar
(self)
vnpy/trader/ui/mainwindow.py:190
↓ 1 callers
Method
init_ui
(self)
vnpy/trader/ui/mainwindow.py:59
↓ 1 callers
Method
init_ui
(self)
vnpy/trader/ui/widget.py:628
↓ 1 callers
Method
init_ui
(self)
vnpy/trader/ui/widget.py:724
↓ 1 callers
Method
init_ui
(self)
vnpy/trader/ui/widget.py:1115
↓ 1 callers
Method
init_ui
(self)
vnpy/trader/ui/widget.py:1198
↓ 1 callers
Method
init_ui
(self)
vnpy/trader/ui/widget.py:1244
↓ 1 callers
Method
init_ui
(self)
vnpy/trader/ui/widget.py:1394
↓ 1 callers
Method
init_ui
(self)
vnpy/trader/ui/qt.py:85
↓ 1 callers
Method
is_active
(self)
vnpy/rpc/server.py:38
↓ 1 callers
Method
load_contract_setttings
Load contract settings
vnpy/alpha/lab.py:379
↓ 1 callers
Method
load_setting
Load credentials and user info from json file.
vnpy/trader/engine.py:685
↓ 1 callers
Method
load_setting
(self)
vnpy/trader/ui/widget.py:409
↓ 1 callers
Function
main
()
examples/client_server/run_client.py:9
← previous
next →
101–200 of 769, ranked by callers