MCPcopy Create free account

hub / github.com/vnpy/vnpy / functions

Functions769 in github.com/vnpy/vnpy

Method__init__
(self, type: str, data: Any = None)
vnpy/event/engine.py:23
Method__init__
Timer event is generated every 1 second by default, if interval not specified.
vnpy/event/engine.py:42
Method__init__
Constructor
examples/simple_rpc/test_client.py:11
Method__init__
Constructor
examples/simple_rpc/test_server.py:11
Method__le__
Less than or equal comparison
vnpy/alpha/dataset/utility.py:178
Method__lt__
Sort by text content.
vnpy/trader/ui/widget.py:91
Method__lt__
Less than comparison
vnpy/alpha/dataset/utility.py:170
Method__mod__
Modulo operation
vnpy/alpha/dataset/utility.py:128
Method__mul__
Multiplication operation
vnpy/alpha/dataset/utility.py:88
Method__ne__
Not equal comparison
vnpy/alpha/dataset/utility.py:194
Method__neg__
Negation operation
vnpy/alpha/dataset/utility.py:149
Method__post_init__
(self)
vnpy/trader/object.py:82
Method__post_init__
(self)
vnpy/trader/object.py:106
Method__post_init__
(self)
vnpy/trader/object.py:132
Method__post_init__
(self)
vnpy/trader/object.py:171
Method__post_init__
(self)
vnpy/trader/object.py:194
Method__post_init__
(self)
vnpy/trader/object.py:212
Method__post_init__
(self)
vnpy/trader/object.py:227
Method__post_init__
(self)
vnpy/trader/object.py:259
Method__post_init__
(self)
vnpy/trader/object.py:285
Method__post_init__
(self)
vnpy/trader/object.py:315
Method__post_init__
(self)
vnpy/trader/object.py:335
Method__post_init__
(self)
vnpy/trader/object.py:368
Method__post_init__
(self)
vnpy/trader/object.py:385
Method__post_init__
(self)
vnpy/trader/object.py:406
Method__pow__
Power operation
vnpy/alpha/dataset/utility.py:136
Method__radd__
Right addition operation
vnpy/alpha/dataset/utility.py:64
Method__rmul__
Right multiplication operation
vnpy/alpha/dataset/utility.py:96
Method__rsub__
Right subtraction operation
vnpy/alpha/dataset/utility.py:80
Method__rtruediv__
Right division operation
vnpy/alpha/dataset/utility.py:112
Method__str__
Output error message
vnpy/rpc/client.py:22
Method__sub__
Subtraction operation
vnpy/alpha/dataset/utility.py:72
Method__truediv__
Division operation
vnpy/alpha/dataset/utility.py:104
Method_check_tensor_nan
Check if tensor contains NaN values Parameters ---------- tensor : torch.Tensor Tensor to check
vnpy/alpha/model/models/mlp_model.py:410
Method_copy_text
(self)
vnpy/trader/ui/qt.py:118
Method_draw_bar_picture
(self, ix: int, bar: BarData)
vnpy/chart/item.py:175
Method_draw_bar_picture
(self, ix: int, bar: BarData)
vnpy/chart/item.py:275
Method_mouse_moved
Callback function when mouse is moved.
vnpy/chart/widget.py:423
Method_open_community
(self)
vnpy/trader/ui/qt.py:123
Method_run
Get event from queue and then process it.
vnpy/event/engine.py:55
Method_run_timer
Sleep by interval second(s) and then generate a timer event.
vnpy/event/engine.py:80
Method_update_y_range
Update the y-axis range of plots.
vnpy/chart/widget.py:206
Methodad
(self, array: Literal[False] = False)
vnpy/trader/utility.py:1179
Methodadd_contract_setting
Add contract information
vnpy/alpha/lab.py:349
Methodadd_parameter
( self, name: str, start: float, end: float | None = None, step: float
vnpy/trader/optimize.py:36
Methodadd_processor
Add a feature preprocessor
vnpy/alpha/dataset/template.py:81
Methodadd_strategy
Add strategy
vnpy/alpha/strategy/backtesting.py:104
Methodadd_trade
Add trade information
vnpy/alpha/strategy/backtesting.py:899
Methodadosc
(self, fast_period: int, slow_period: int, array: Literal[False] = False)
vnpy/trader/utility.py:1194
Methodadx
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:901
Methodadxr
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:916
Methodapo
(self, fast_period: int, slow_period: int, matype: int = 0, array: Literal[False] = False)
vnpy/trader/utility.py:643
Methodaroon
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1098
Methodaroonosc
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1116
Methodatr
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:835
Methodboll
(self, n: int, dev: float, array: Literal[False] = False)
vnpy/trader/utility.py:1027
Methodbop
(self, array: Literal[False] = False)
vnpy/trader/utility.py:1214
MethodboundingRect
Get bounding rectangles for item.
vnpy/chart/item.py:52
MethodboundingRect
(self)
vnpy/chart/item.py:215
MethodboundingRect
(self)
vnpy/chart/item.py:302
Functioncalculate_feature
Calculate feature by expression
vnpy/alpha/dataset/template.py:289
Methodcalculate_pnl
Calculate profit and loss
vnpy/alpha/strategy/backtesting.py:904
Methodcalculate_result
Calculate daily mark-to-market profit and loss
vnpy/alpha/strategy/backtesting.py:170
Methodcalculate_statistics
Calculate strategy statistics
vnpy/alpha/strategy/backtesting.py:228
Methodcallback
Realize callable function
examples/simple_rpc/test_client.py:17
Methodcancel_all
Cancel all active orders.
vnpy/trader/ui/widget.py:1025
Methodcancel_bind
Cancel binding process and return to status page.
vnpy/trader/ui/widget.py:1678
Methodcancel_order
Cancel an existing order. implementation should finish the tasks blow: * send request to server
vnpy/trader/gateway.py:215
Methodcancel_order
Send cancel order request to a specific gateway.
vnpy/trader/engine.py:266
Methodcancel_order
Cancel order
vnpy/alpha/strategy/backtesting.py:756
Methodcancel_quote
Cancel an existing quote. implementation should finish the tasks blow: * send request to server
vnpy/trader/gateway.py:240
Methodcancel_quote
Send cancel quote request to a specific gateway.
vnpy/trader/engine.py:288
Methodcancel_quote
Cancel quote if cell double clicked.
vnpy/trader/ui/widget.py:602
Methodcci
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:820
Functionceil_to
Similar to math.ceil function, but to target float number.
vnpy/trader/utility.py:140
Methodchange_interval
Persist send interval updates from the status page.
vnpy/trader/ui/widget.py:1699
Functioncheck_optimization_setting
( optimization_setting: OptimizationSetting, output: OUTPUT_FUNC = print )
vnpy/trader/optimize.py:83
Methodclear_all
Clear all data.
vnpy/chart/widget.py:143
Methodclear_all
Clear all data.
vnpy/chart/widget.py:544
Methodclear_all
Clear all data in the item.
vnpy/chart/item.py:159
Methodclear_all
Clear all data in manager.
vnpy/chart/manager.py:162
Methodclose
Get close price time series.
vnpy/trader/utility.py:555
Methodclose
Close gateway connection.
vnpy/trader/gateway.py:183
Methodclose
(self)
vnpy/trader/engine.py:648
Methodclose
(self)
vnpy/trader/engine.py:836
MethodcloseEvent
Call main engine close function before exit.
vnpy/trader/ui/mainwindow.py:256
MethodcloseEvent
Stop the binding worker before closing the dialog.
vnpy/trader/ui/widget.py:1704
Methodcmo
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:664
Methodconnect
Start gateway connection. to implement this method, you must: * connect to server if necessary * log connected if al
vnpy/trader/gateway.py:161
Methodconnect_gateway
Open connect dialog for gateway connection.
vnpy/trader/ui/mainwindow.py:249
Methodconnect_gateway
Get setting value from line edits and connect the gateway.
vnpy/trader/ui/widget.py:679
MethodcontextMenuEvent
Show menu with right click.
vnpy/trader/ui/widget.py:398
Methodconvert_order_request
( self, req: OrderRequest, lock: bool, net: bool = False )
vnpy/trader/converter.py:367
Methodconvert_order_request
Convert original order request according to given mode.
vnpy/trader/engine.py:566
Functionconvert_tz
Convert timezone of datetime object to DB_TZ.
vnpy/trader/database.py:17
Methodcreate_cancel_request
Create cancel request object from quote.
vnpy/trader/object.py:296
Methodcreate_quote_data
Create quote data from request.
vnpy/trader/object.py:410
Functioncs_mean
Calculate cross-sectional mean
vnpy/alpha/dataset/cs_function.py:20
Functioncs_rank
Perform cross-sectional ranking
vnpy/alpha/dataset/cs_function.py:10
Functioncs_scale
Scale the feature by the sum of absolute values in the cross section
vnpy/alpha/dataset/cs_function.py:50
← previousnext →301–400 of 769, ranked by callers