MCPcopy Create free account

hub / github.com/vnpy/vnpy / functions

Functions769 in github.com/vnpy/vnpy

Methodopen_forum
vnpy/trader/ui/mainwindow.py:331
Methodopen_interest
Get trading volume time series.
vnpy/trader/utility.py:576
Methodopen_wechat_dialog
Open WeChat notification dialog.
vnpy/trader/ui/mainwindow.py:342
Methodopen_widget
Open contract manager.
vnpy/trader/ui/mainwindow.py:283
Methodpaint
Reimplement the paint method of parent class. This function is called by external QGraphicsView.
vnpy/chart/item.py:107
MethodpaintEvent
Reimplement this method of parent to update current max_ix value.
vnpy/chart/widget.py:224
Methodplus_di
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:961
Methodplus_dm
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1148
Functionpow1
Safe power operation for DataProxy (handles negative base values)
vnpy/alpha/dataset/math_function.py:121
Functionpow2
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
Methodppo
(self, fast_period: int, slow_period: int, matype: int = 0, array: Literal[False] = False)
vnpy/trader/utility.py:694
Methodpredict
Make predictions using the model
vnpy/alpha/model/template.py:20
Methodpredict
Model prediction interface Parameters ---------- dataset : AlphaDataset Prediction dataset segme
vnpy/alpha/model/models/mlp_model.py:384
Methodpredict
Make predictions using the trained model Parameters ---------- dataset : AlphaDataset The dataset contai
vnpy/alpha/model/models/lgb_model.py:113
Methodpredict
Make predictions using the model Parameters ---------- dataset : AlphaDataset The dataset used for predi
vnpy/alpha/model/models/lasso_model.py:75
Methodprepare_data
Generate required data
vnpy/alpha/dataset/template.py:90
Functionprint_log
处理数据录制模块的日志事件 将数据录制模块产生的日志信息输出到控制台和日志文件中, 便于监控录制过程和排查问题。 参数: event: 包含日志信息的事件对象
examples/data_recorder/data_recorder.py:116
Methodprocess_account_event
(self, event: Event)
vnpy/trader/engine.py:436
Methodprocess_contract_event
(self, event: Event)
vnpy/trader/engine.py:441
Functionprocess_cs_fill_na
Fill missing values with cross-sectional means
vnpy/alpha/dataset/processor.py:136
Functionprocess_cs_norm
Cross-sectional normalization
vnpy/alpha/dataset/processor.py:34
Functionprocess_cs_rank_norm
Cross-sectional rank normalization
vnpy/alpha/dataset/processor.py:188
Methodprocess_data
Process data
vnpy/alpha/dataset/template.py:159
Functionprocess_drop_feature
Drop feature columns
vnpy/alpha/dataset/processor.py:131
Functionprocess_drop_na
Remove rows with missing values
vnpy/alpha/dataset/processor.py:9
Methodprocess_event
Hides the row if order is not active.
vnpy/trader/ui/widget.py:1070
Functionprocess_fill_na
Fill missing values
vnpy/alpha/dataset/processor.py:22
Functionprocess_log_event
(event: Event)
examples/client_server/run_server.py:30
Methodprocess_log_event
Process log event
vnpy/trader/engine.py:346
Methodprocess_order_event
(self, event: Event)
vnpy/trader/engine.py:399
Methodprocess_position_event
(self, event: Event)
vnpy/trader/engine.py:426
Methodprocess_quote_event
(self, event: Event)
vnpy/trader/engine.py:450
Functionprocess_replace_inf
Replace infinite values with per-symbol means
vnpy/alpha/dataset/processor.py:80
Functionprocess_robust_zscore_norm
Robust Z-Score normalization
vnpy/alpha/dataset/processor.py:153
Methodprocess_tick_event
(self, event: Event)
vnpy/trader/engine.py:394
Methodprocess_tick_event
(self, event: Event)
vnpy/trader/ui/widget.py:873
Methodprocess_trade_event
(self, event: Event)
vnpy/trader/engine.py:416
Functionprocess_ts_norm
Time-series normalization
vnpy/alpha/dataset/processor.py:102
Methodquery_account
Query account balance.
vnpy/trader/gateway.py:249
Methodquery_bar_history
Query history bar data.
vnpy/trader/datafeed.py:21
Methodquery_history
Query bar history data.
vnpy/trader/gateway.py:262
Methodquery_history
Query bar history data from a specific gateway.
vnpy/trader/engine.py:298
Methodquery_position
Query holding positions.
vnpy/trader/gateway.py:256
Methodquery_tick_history
Query history tick data.
vnpy/trader/datafeed.py:28
Functionquesval
Return feature2 if threshold < feature1, otherwise feature3
vnpy/alpha/dataset/math_function.py:73
Functionquesval2
Return feature2 if threshold < feature1, otherwise feature3 (DataProxy threshold version)
vnpy/alpha/dataset/math_function.py:97
Functionregister_functions
Register custom expression functions by function name.
vnpy/alpha/dataset/utility.py:13
Methodregister_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
Methodremove_dataset
Remove dataset
vnpy/alpha/lab.py:407
Methodremove_model
Remove model
vnpy/alpha/lab.py:439
Methodremove_signal
Remove signal
vnpy/alpha/lab.py:468
Methodresize_columns
Resize all columns according to contents.
vnpy/trader/ui/widget.py:363
Methodrestore_window_setting
Restore window to default setting.
vnpy/trader/ui/mainwindow.py:317
Methodroc
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:715
Methodrocp
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:745
Methodrocr
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:730
Methodrocr_100
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:760
Methodrsi
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:865
Functionrun
脚本策略的主函数说明: 1. 唯一入参是脚本引擎ScriptEngine对象,通用它来完成查询和请求操作 2. 该函数会通过一个独立的线程来启动运行,区别于其他策略模块的事件驱动 3. while循环的维护,请通过engine.strategy_active状态来判
examples/veighna_trader/demo_script.py:6
Methodrun
(self)
vnpy/trader/engine.py:621
Methodrun
Send queued WeChat messages in worker thread.
vnpy/trader/engine.py:783
Methodrun
(self)
vnpy/trader/ui/widget.py:1328
Methodrun
Run RpcClient function
vnpy/rpc/client.py:128
Methodrun
Run RpcServer functions
vnpy/rpc/server.py:83
Methodrun_backtesting
Start backtesting
vnpy/alpha/strategy/backtesting.py:150
Functionrun_bf_optimization
Run brutal force optimization
vnpy/trader/optimize.py:99
Functionrun_child
Running in the child process.
examples/no_ui/run.py:56
Functionrun_ga_optimization
Run genetic algorithm optimization
vnpy/trader/optimize.py:132
Methodsar
(self, acceleration: float, maximum: float, array: Literal[False] = False)
vnpy/trader/utility.py:1260
Methodsave_bar_data
Save bar data into database.
vnpy/trader/database.py:58
Methodsave_bar_data
Save bar data
vnpy/alpha/lab.py:51
Methodsave_component_data
Save index component data
vnpy/alpha/lab.py:245
Methodsave_csv
Save table data into a csv file
vnpy/trader/ui/widget.py:369
Methodsave_dataset
Save dataset
vnpy/alpha/lab.py:389
Methodsave_model
Save model
vnpy/alpha/lab.py:421
Methodsave_signal
Save signal
vnpy/alpha/lab.py:453
Methodsave_tick_data
Save tick data into database.
vnpy/trader/database.py:65
Methodsend_notification
Push notification through all configured channels.
vnpy/trader/engine.py:176
Methodsend_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
Methodsend_order
Send new order request to a specific gateway.
vnpy/trader/engine.py:254
Methodsend_order
Send new order manually.
vnpy/trader/ui/widget.py:989
Methodsend_order
Send order
vnpy/alpha/strategy/backtesting.py:723
Methodsend_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
Methodsend_quote
Send new quote request to a specific gateway.
vnpy/trader/engine.py:276
Methodsend_test_email
Sending a test email.
vnpy/trader/ui/mainwindow.py:324
Methodsend_test_message
Send a test message via WeChat engine.
vnpy/trader/ui/widget.py:1607
Methodset_content
Set text using enum.constant.value.
vnpy/trader/ui/widget.py:108
Methodset_content
Cell color is set according to direction.
vnpy/trader/ui/widget.py:125
Methodset_content
(self, content: datetime | None, data: Any)
vnpy/trader/ui/widget.py:194
Methodset_content
(self, content: Any, data: Any)
vnpy/trader/ui/widget.py:221
Methodset_parameters
Set parameters
vnpy/alpha/strategy/backtesting.py:70
Methodset_target
(self, target_name: str)
vnpy/trader/optimize.py:65
Methodshow_chart
Display chart
vnpy/alpha/strategy/backtesting.py:404
Methodshow_contracts
Show contracts by symbol
vnpy/trader/ui/widget.py:1148
Methodshow_exception
(self, msg: str)
vnpy/trader/ui/qt.py:113
Methodshow_feature_performance
Perform performance analysis for a feature
vnpy/alpha/dataset/template.py:195
Methodshow_performance
Display performance metrics
vnpy/alpha/strategy/backtesting.py:440
Methodshow_qrcode
Render the scan URL as a QR-code pixmap in the dialog.
vnpy/trader/ui/widget.py:1631
Methodshow_signal_performance
Perform performance analysis for prediction signals
vnpy/alpha/dataset/template.py:242
Methodshow_waiting_message
Switch UI to the second binding phase.
vnpy/trader/ui/widget.py:1656
← previousnext →501–600 of 769, ranked by callers