Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vnpy/vnpy
/ functions
Functions
769 in github.com/vnpy/vnpy
⨍
Functions
769
◇
Types & classes
105
Method
open_forum
vnpy/trader/ui/mainwindow.py:331
Method
open_interest
Get trading volume time series.
vnpy/trader/utility.py:576
Method
open_wechat_dialog
Open WeChat notification dialog.
vnpy/trader/ui/mainwindow.py:342
Method
open_widget
Open contract manager.
vnpy/trader/ui/mainwindow.py:283
Method
paint
Reimplement the paint method of parent class. This function is called by external QGraphicsView.
vnpy/chart/item.py:107
Method
paintEvent
Reimplement this method of parent to update current max_ix value.
vnpy/chart/widget.py:224
Method
plus_di
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:961
Method
plus_dm
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1148
Function
pow1
Safe power operation for DataProxy (handles negative base values)
vnpy/alpha/dataset/math_function.py:121
Function
pow2
Power operation between two DataProxy objects (base^exponent) handle logic: - base > 0: calculate base^exponent - base < 0 and exponent i
vnpy/alpha/dataset/math_function.py:135
Method
ppo
(self, fast_period: int, slow_period: int, matype: int = 0, array: Literal[False] = False)
vnpy/trader/utility.py:694
Method
predict
Make predictions using the model
vnpy/alpha/model/template.py:20
Method
predict
Model prediction interface Parameters ---------- dataset : AlphaDataset Prediction dataset segme
vnpy/alpha/model/models/mlp_model.py:384
Method
predict
Make predictions using the trained model Parameters ---------- dataset : AlphaDataset The dataset contai
vnpy/alpha/model/models/lgb_model.py:113
Method
predict
Make predictions using the model Parameters ---------- dataset : AlphaDataset The dataset used for predi
vnpy/alpha/model/models/lasso_model.py:75
Method
prepare_data
Generate required data
vnpy/alpha/dataset/template.py:90
Function
print_log
处理数据录制模块的日志事件 将数据录制模块产生的日志信息输出到控制台和日志文件中, 便于监控录制过程和排查问题。 参数: event: 包含日志信息的事件对象
examples/data_recorder/data_recorder.py:116
Method
process_account_event
(self, event: Event)
vnpy/trader/engine.py:436
Method
process_contract_event
(self, event: Event)
vnpy/trader/engine.py:441
Function
process_cs_fill_na
Fill missing values with cross-sectional means
vnpy/alpha/dataset/processor.py:136
Function
process_cs_norm
Cross-sectional normalization
vnpy/alpha/dataset/processor.py:34
Function
process_cs_rank_norm
Cross-sectional rank normalization
vnpy/alpha/dataset/processor.py:188
Method
process_data
Process data
vnpy/alpha/dataset/template.py:159
Function
process_drop_feature
Drop feature columns
vnpy/alpha/dataset/processor.py:131
Function
process_drop_na
Remove rows with missing values
vnpy/alpha/dataset/processor.py:9
Method
process_event
Hides the row if order is not active.
vnpy/trader/ui/widget.py:1070
Function
process_fill_na
Fill missing values
vnpy/alpha/dataset/processor.py:22
Function
process_log_event
(event: Event)
examples/client_server/run_server.py:30
Method
process_log_event
Process log event
vnpy/trader/engine.py:346
Method
process_order_event
(self, event: Event)
vnpy/trader/engine.py:399
Method
process_position_event
(self, event: Event)
vnpy/trader/engine.py:426
Method
process_quote_event
(self, event: Event)
vnpy/trader/engine.py:450
Function
process_replace_inf
Replace infinite values with per-symbol means
vnpy/alpha/dataset/processor.py:80
Function
process_robust_zscore_norm
Robust Z-Score normalization
vnpy/alpha/dataset/processor.py:153
Method
process_tick_event
(self, event: Event)
vnpy/trader/engine.py:394
Method
process_tick_event
(self, event: Event)
vnpy/trader/ui/widget.py:873
Method
process_trade_event
(self, event: Event)
vnpy/trader/engine.py:416
Function
process_ts_norm
Time-series normalization
vnpy/alpha/dataset/processor.py:102
Method
query_account
Query account balance.
vnpy/trader/gateway.py:249
Method
query_bar_history
Query history bar data.
vnpy/trader/datafeed.py:21
Method
query_history
Query bar history data.
vnpy/trader/gateway.py:262
Method
query_history
Query bar history data from a specific gateway.
vnpy/trader/engine.py:298
Method
query_position
Query holding positions.
vnpy/trader/gateway.py:256
Method
query_tick_history
Query history tick data.
vnpy/trader/datafeed.py:28
Function
quesval
Return feature2 if threshold < feature1, otherwise feature3
vnpy/alpha/dataset/math_function.py:73
Function
quesval2
Return feature2 if threshold < feature1, otherwise feature3 (DataProxy threshold version)
vnpy/alpha/dataset/math_function.py:97
Function
register_functions
Register custom expression functions by function name.
vnpy/alpha/dataset/utility.py:13
Method
register_general
Register a new handler function for all event types. Every function can only be registered once for each event type.
vnpy/event/engine.py:132
Method
remove_dataset
Remove dataset
vnpy/alpha/lab.py:407
Method
remove_model
Remove model
vnpy/alpha/lab.py:439
Method
remove_signal
Remove signal
vnpy/alpha/lab.py:468
Method
resize_columns
Resize all columns according to contents.
vnpy/trader/ui/widget.py:363
Method
restore_window_setting
Restore window to default setting.
vnpy/trader/ui/mainwindow.py:317
Method
roc
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:715
Method
rocp
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:745
Method
rocr
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:730
Method
rocr_100
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:760
Method
rsi
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:865
Function
run
脚本策略的主函数说明: 1. 唯一入参是脚本引擎ScriptEngine对象,通用它来完成查询和请求操作 2. 该函数会通过一个独立的线程来启动运行,区别于其他策略模块的事件驱动 3. while循环的维护,请通过engine.strategy_active状态来判
examples/veighna_trader/demo_script.py:6
Method
run
(self)
vnpy/trader/engine.py:621
Method
run
Send queued WeChat messages in worker thread.
vnpy/trader/engine.py:783
Method
run
(self)
vnpy/trader/ui/widget.py:1328
Method
run
Run RpcClient function
vnpy/rpc/client.py:128
Method
run
Run RpcServer functions
vnpy/rpc/server.py:83
Method
run_backtesting
Start backtesting
vnpy/alpha/strategy/backtesting.py:150
Function
run_bf_optimization
Run brutal force optimization
vnpy/trader/optimize.py:99
Function
run_child
Running in the child process.
examples/no_ui/run.py:56
Function
run_ga_optimization
Run genetic algorithm optimization
vnpy/trader/optimize.py:132
Method
sar
(self, acceleration: float, maximum: float, array: Literal[False] = False)
vnpy/trader/utility.py:1260
Method
save_bar_data
Save bar data into database.
vnpy/trader/database.py:58
Method
save_bar_data
Save bar data
vnpy/alpha/lab.py:51
Method
save_component_data
Save index component data
vnpy/alpha/lab.py:245
Method
save_csv
Save table data into a csv file
vnpy/trader/ui/widget.py:369
Method
save_dataset
Save dataset
vnpy/alpha/lab.py:389
Method
save_model
Save model
vnpy/alpha/lab.py:421
Method
save_signal
Save signal
vnpy/alpha/lab.py:453
Method
save_tick_data
Save tick data into database.
vnpy/trader/database.py:65
Method
send_notification
Push notification through all configured channels.
vnpy/trader/engine.py:176
Method
send_order
Send a new order to server. implementation should finish the tasks blow: * create an OrderData from req using OrderRequest.c
vnpy/trader/gateway.py:197
Method
send_order
Send new order request to a specific gateway.
vnpy/trader/engine.py:254
Method
send_order
Send new order manually.
vnpy/trader/ui/widget.py:989
Method
send_order
Send order
vnpy/alpha/strategy/backtesting.py:723
Method
send_quote
Send a new two-sided quote to server. implementation should finish the tasks blow: * create an QuoteData from req using Quot
vnpy/trader/gateway.py:223
Method
send_quote
Send new quote request to a specific gateway.
vnpy/trader/engine.py:276
Method
send_test_email
Sending a test email.
vnpy/trader/ui/mainwindow.py:324
Method
send_test_message
Send a test message via WeChat engine.
vnpy/trader/ui/widget.py:1607
Method
set_content
Set text using enum.constant.value.
vnpy/trader/ui/widget.py:108
Method
set_content
Cell color is set according to direction.
vnpy/trader/ui/widget.py:125
Method
set_content
(self, content: datetime | None, data: Any)
vnpy/trader/ui/widget.py:194
Method
set_content
(self, content: Any, data: Any)
vnpy/trader/ui/widget.py:221
Method
set_parameters
Set parameters
vnpy/alpha/strategy/backtesting.py:70
Method
set_target
(self, target_name: str)
vnpy/trader/optimize.py:65
Method
show_chart
Display chart
vnpy/alpha/strategy/backtesting.py:404
Method
show_contracts
Show contracts by symbol
vnpy/trader/ui/widget.py:1148
Method
show_exception
(self, msg: str)
vnpy/trader/ui/qt.py:113
Method
show_feature_performance
Perform performance analysis for a feature
vnpy/alpha/dataset/template.py:195
Method
show_performance
Display performance metrics
vnpy/alpha/strategy/backtesting.py:440
Method
show_qrcode
Render the scan URL as a QR-code pixmap in the dialog.
vnpy/trader/ui/widget.py:1631
Method
show_signal_performance
Perform performance analysis for prediction signals
vnpy/alpha/dataset/template.py:242
Method
show_waiting_message
Switch UI to the second binding phase.
vnpy/trader/ui/widget.py:1656
← previous
next →
501–600 of 769, ranked by callers