MCPcopy Create free account

hub / github.com/TheFourGreatErrors/alpha-rptr / functions

Functions922 in github.com/TheFourGreatErrors/alpha-rptr

↓ 7 callersFunctionzt
(e,t)
html/js/moment.min.js:1
↓ 6 callersFunctionSt
(e,t,n)
html/js/moment.min.js:1
↓ 6 callersFunctionXn
(e)
html/js/moment.min.js:1
↓ 6 callersFunctionan
(e,t)
html/js/moment.min.js:1
↓ 6 callersMethodclose
close websocket
src/exchange/ftx/ftx_websocket.py:311
↓ 6 callersMethodget_commission
get commission :return:
src/exchange/ftx/ftx.py:267
↓ 6 callersMethodget_lot
Calculate the position size (lot) based on the current balance and leverage. This function calculates the position size (lot) based
src/exchange/stub.py:53
↓ 6 callersMethodget_position
Get the current position information for the instance's trading pair. Returns: dict: Current position information as a di
src/exchange/binance_futures/binance_futures.py:374
↓ 6 callersFunctioni
()
html/js/jquery.csv.min.js:1
↓ 6 callersFunctionlt
(e,t)
html/js/moment.min.js:1
↓ 6 callersMethodprice
(self)
src/exchange/bybit/bybit.py:1451
↓ 6 callersMethodstrategy
(self, action, open, close, high, low, volume)
src/strategies/OCC.py:46
↓ 6 callersFunctionverify_series
Validates whether the data is continuous based on the bin size. Args: data (pandas.DataFrame): The data to be validated. bin
src/__init__.py:351
↓ 6 callersFunctionz
(t,n)
html/js/moment.min.js:1
↓ 5 callersFunctionAe
(e,t,n)
html/js/moment.min.js:1
↓ 5 callersFunctionFe
(e)
html/js/moment.min.js:1
↓ 5 callersMethod__emit
send data
src/exchange/ftx/ftx_websocket.py:240
↓ 5 callersMethod__init__
(self, response)
src/exchange/binance_futures/exceptions.py:28
↓ 5 callersMethod_request
(self, method, uri, signed, force_params=False, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:195
↓ 5 callersMethodcancel
Cancel a specific order by ID. Args: id (int): The ID of the order to be canceled. Returns: bool: Tru
src/exchange/binance_futures/binance_futures.py:541
↓ 5 callersMethodcancel
Cancel a specific order by id. Args: id (str): ID of the order to cancel. Returns: bool: True if the
src/exchange/bitmex/bitmex.py:380
↓ 5 callersMethodcancel
Cancel a specific active order by its order ID. This function searches for active orders associated with the provided order ID (user
src/exchange/bybit/bybit.py:717
↓ 5 callersMethodclose_all
Close all positions for this trading pair. Args: callback (callable or None): Optional callback function to be called aft
src/exchange/bitmex/bitmex.py:364
↓ 5 callersFunctionf
()
html/js/moment.min.js:1
↓ 5 callersMethodfetch_ohlcv
Fetch OHLCV data within the specified time range. Args: bin_size (str): Time frame to fetch (e.g., "1m", "1h", "1d").
src/exchange/bitmex/bitmex.py:1032
↓ 5 callersFunctionge
(e,i)
html/js/moment.min.js:1
↓ 5 callersMethodget_balance
Get the balance for the specified asset. Args: asset (str, optional): The asset for which to get the balance.
src/exchange/binance_futures/binance_futures.py:277
↓ 5 callersMethodget_balance
get balance :return:
src/exchange/ftx/ftx.py:173
↓ 5 callersMethodget_margin
get margin :return:
src/exchange/bitmex/bitmex.py:218
↓ 5 callersMethodget_market_price
Get the current market price of the trading pair. Returns: float: The current market price.
src/exchange/bitmex/bitmex.py:293
↓ 5 callersMethodget_market_price
Get the current market price. Returns: float: The current market price.
src/exchange/bybit/bybit.py:517
↓ 5 callersMethodget_open_order
Get an open order by its ID. Args: id (str): Order ID for this pair. Returns: dict or None: If multip
src/exchange/binance_futures/binance_futures.py:1255
↓ 5 callersMethodget_trail_price
Get the current trail price. Returns: float: The current trail price.
src/exchange/binance_futures/binance_futures.py:483
↓ 5 callersMethodget_trail_price
Get Trail Price. Returns: float: Current trail price value.
src/exchange/bitmex/bitmex.py:325
↓ 5 callersMethodget_trail_price
Get the trail price. Returns: float: The trail price.
src/exchange/bybit/bybit.py:619
↓ 5 callersMethodlog
(self, message)
src/exchange/bybit/bybit_websocket.py:93
↓ 5 callersMethodon_update
Register the strategy function bind functions with webosocket data streams :param strategy: strategy
src/exchange/ftx/ftx.py:1088
↓ 5 callersMethodplot
Draw the graph
src/exchange/ftx/ftx_backtest.py:491
↓ 5 callersMethodprice
(self)
src/exchange/binance_futures/binance_futures.py:1024
↓ 4 callersFunctionGe
(e,t,n)
html/js/moment.min.js:1
↓ 4 callersFunctionMn
(e,t,n,s)
html/js/moment.min.js:1
↓ 4 callersFunctionU
(e,t)
html/js/moment.min.js:1
↓ 4 callersMethod__amend_order
Amend an existing order. Args: ord_id (str): Order ID to amend. side (str): Order side (Buy or Sell).
src/exchange/bitmex/bitmex.py:526
↓ 4 callersMethod_delete
(self, path: str, params: Optional[Dict[str, Any]] = None)
src/exchange/ftx/ftx_api.py:26
↓ 4 callersMethod_post
(self, path: str, params: Optional[Dict[str, Any]] = None)
src/exchange/ftx/ftx_api.py:23
↓ 4 callersFunctiona
(e)
html/js/moment.min.js:1
↓ 4 callersMethodclose_all
Close the open position for this trading pair using a market order. Args: callback (function, optional): A function to ca
src/exchange/binance_futures/binance_futures.py:519
↓ 4 callersMethodclose_all
Close open positions for this pair. Args: spot_safety_catch (bool): This is here to prevent you from accidentally dumping
src/exchange/bybit/bybit.py:676
↓ 4 callersMethodclose_all
close all current orders
src/exchange/ftx/ftx_stub.py:119
↓ 4 callersMethodclose_all
market close opened position for this pair
src/exchange/ftx/ftx.py:292
↓ 4 callersMethodclose_all_at_price
Close the current position at the specified price. This function submits a closing order to close the current position at the specif
src/exchange/stub.py:171
↓ 4 callersMethodclose_all_at_price
close the current position at price, for backtesting purposes its important to have a function that closes at given price :param pric
src/exchange/ftx/ftx_stub.py:130
↓ 4 callersFunctiond
()
html/js/jquery.csv.min.js:1
↓ 4 callersFunctiondn
(e,t)
html/js/moment.min.js:1
↓ 4 callersMethoddownload_data
download or get the data and set variables related to ohlcv data
src/exchange/ftx/ftx_backtest.py:300
↓ 4 callersFunctionescape_attr
(value)
html/js/main.js:376
↓ 4 callersFunctionformat_metric_number
(value, digits)
html/js/main.js:645
↓ 4 callersFunctionformat_number
(price, sig_digits)
html/js/main.js:543
↓ 4 callersMethodget_balance
Get the Current Balance :return:
src/exchange/ftx/ftx_stub.py:75
↓ 4 callersMethodget_leverage
Get the leverage used for the trading account. This function retrieves the leverage value currently set in the stub trading account.
src/exchange/stub.py:90
↓ 4 callersMethodget_margin
Get the margin information. Returns: list: A list of dictionaries containing margin information for various assets.
src/exchange/binance_futures/binance_futures.py:322
↓ 4 callersMethodget_market_price
Get the current market price of the trading pair. Returns: float: The current market price.
src/exchange/binance_futures/binance_futures.py:423
↓ 4 callersMethodget_position
Get the leverage for the specified symbol. Args: symbol (str): The symbol for which leverage should be retrieved. If not
src/exchange/bybit/bybit.py:441
↓ 4 callersMethodget_position
get the current position :param force_api_call: force api call :return:
src/exchange/ftx/ftx.py:183
↓ 4 callersFunctionj
(e)
html/js/moment.min.js:1
↓ 4 callersMethodplace_conditional_order
To send a Stop Market order, set type='stop' and supply a trigger_price To send a Stop Limit order, also supply a limit_price
src/exchange/ftx/ftx_api.py:143
↓ 4 callersMethodstart
(self)
src/__init__.py:153
↓ 4 callersMethodsymlink
Create a symbolic link named link_name pointing to target. If link_name exists then FileExistsError is raised, unless overwrite=True.
src/exchange/ftx/ftx_backtest.py:390
↓ 4 callersFunctionu
()
html/js/jquery.csv.min.js:1
↓ 4 callersFunctionut
(t)
html/js/moment.min.js:1
↓ 4 callersFunctionxe
(e,t)
html/js/moment.min.js:1
↓ 3 callersFunctionEt
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionG
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionGt
(e,t)
html/js/moment.min.js:1
↓ 3 callersFunctionHt
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionIe
(e,t)
html/js/moment.min.js:1
↓ 3 callersFunctionOt
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionSn
(e,t,n,s)
html/js/moment.min.js:1
↓ 3 callersFunctionTn
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionUt
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionVe
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionVt
(e,t)
html/js/moment.min.js:1
↓ 3 callersFunctionYt
(e)
html/js/moment.min.js:1
↓ 3 callersMethod__auth
authenticate
src/exchange/ftx/ftx_websocket.py:58
↓ 3 callersMethod__get_auth_user_data_streams
authenticate user data streams
src/exchange/binance_futures/binance_futures_websocket.py:120
↓ 3 callersMethod_normalize_algo_order
Normalize algo order fields to match regular order field names. This ensures compatibility with existing code that expects regular or
src/exchange/binance_futures/binance_futures_api.py:275
↓ 3 callersMethod_request
(self, method: str, path: str, **kwargs)
src/exchange/ftx/ftx_api.py:29
↓ 3 callersMethodadd_ob_callback
Add a callback for order book changes. This function allows adding a callback function to be triggered when there are changes to the
src/exchange/binance_futures/binance_futures.py:2074
↓ 3 callersMethodadd_ob_callback
Add a callback for order book changes. This function allows adding a callback function to be triggered when there are changes to the
src/exchange/bybit/bybit.py:2506
↓ 3 callersMethodavg_price
(self, print_suborders=False)
src/exchange/binance_futures/binance_futures.py:1054
↓ 3 callersMethodavg_price
(self, print_suborders=False)
src/exchange/bybit/bybit.py:1483
↓ 3 callersFunctionb
(e,t)
html/js/moment.min.js:1
↓ 3 callersMethodbind
bind fn :param key: :param func:
src/exchange/ftx/ftx_websocket.py:275
↓ 3 callersMethodcancel
Cancel a specific order by ID(starts with) from the stub trading account. Args: id (str): The ID of the order to be canc
src/exchange/stub.py:193
↓ 3 callersMethodcancel
Cancel a specific active order by id :param id: id of the order :return: result
src/exchange/ftx/ftx.py:310
↓ 3 callersMethodcancel_all
close opened orders for this pair
src/exchange/ftx/ftx.py:274
↓ 3 callersFunctioncheck_binance_error
(code)
src/__init__.py:447
↓ 3 callersMethodclose
close websocket
src/exchange/bybit/bybit_websocket.py:379
↓ 3 callersMethodcrawler_run
Run the crawler to get data and execute the strategy. This function iterates through the historical OHLC data and executes the tradi
src/exchange/backtest.py:182
↓ 3 callersFunctioncrossover
(a, b)
src/indicators.py:995
← previousnext →101–200 of 922, ranked by callers