Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheFourGreatErrors/alpha-rptr
/ functions
Functions
922 in github.com/TheFourGreatErrors/alpha-rptr
⨍
Functions
922
◇
Types & classes
61
↓ 7 callers
Function
zt
(e,t)
html/js/moment.min.js:1
↓ 6 callers
Function
St
(e,t,n)
html/js/moment.min.js:1
↓ 6 callers
Function
Xn
(e)
html/js/moment.min.js:1
↓ 6 callers
Function
an
(e,t)
html/js/moment.min.js:1
↓ 6 callers
Method
close
close websocket
src/exchange/ftx/ftx_websocket.py:311
↓ 6 callers
Method
get_commission
get commission :return:
src/exchange/ftx/ftx.py:267
↓ 6 callers
Method
get_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 callers
Method
get_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 callers
Function
i
()
html/js/jquery.csv.min.js:1
↓ 6 callers
Function
lt
(e,t)
html/js/moment.min.js:1
↓ 6 callers
Method
price
(self)
src/exchange/bybit/bybit.py:1451
↓ 6 callers
Method
strategy
(self, action, open, close, high, low, volume)
src/strategies/OCC.py:46
↓ 6 callers
Function
verify_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 callers
Function
z
(t,n)
html/js/moment.min.js:1
↓ 5 callers
Function
Ae
(e,t,n)
html/js/moment.min.js:1
↓ 5 callers
Function
Fe
(e)
html/js/moment.min.js:1
↓ 5 callers
Method
__emit
send data
src/exchange/ftx/ftx_websocket.py:240
↓ 5 callers
Method
__init__
(self, response)
src/exchange/binance_futures/exceptions.py:28
↓ 5 callers
Method
_request
(self, method, uri, signed, force_params=False, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:195
↓ 5 callers
Method
cancel
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 callers
Method
cancel
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 callers
Method
cancel
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 callers
Method
close_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 callers
Function
f
()
html/js/moment.min.js:1
↓ 5 callers
Method
fetch_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 callers
Function
ge
(e,i)
html/js/moment.min.js:1
↓ 5 callers
Method
get_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 callers
Method
get_balance
get balance :return:
src/exchange/ftx/ftx.py:173
↓ 5 callers
Method
get_margin
get margin :return:
src/exchange/bitmex/bitmex.py:218
↓ 5 callers
Method
get_market_price
Get the current market price of the trading pair. Returns: float: The current market price.
src/exchange/bitmex/bitmex.py:293
↓ 5 callers
Method
get_market_price
Get the current market price. Returns: float: The current market price.
src/exchange/bybit/bybit.py:517
↓ 5 callers
Method
get_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 callers
Method
get_trail_price
Get the current trail price. Returns: float: The current trail price.
src/exchange/binance_futures/binance_futures.py:483
↓ 5 callers
Method
get_trail_price
Get Trail Price. Returns: float: Current trail price value.
src/exchange/bitmex/bitmex.py:325
↓ 5 callers
Method
get_trail_price
Get the trail price. Returns: float: The trail price.
src/exchange/bybit/bybit.py:619
↓ 5 callers
Method
log
(self, message)
src/exchange/bybit/bybit_websocket.py:93
↓ 5 callers
Method
on_update
Register the strategy function bind functions with webosocket data streams :param strategy: strategy
src/exchange/ftx/ftx.py:1088
↓ 5 callers
Method
plot
Draw the graph
src/exchange/ftx/ftx_backtest.py:491
↓ 5 callers
Method
price
(self)
src/exchange/binance_futures/binance_futures.py:1024
↓ 4 callers
Function
Ge
(e,t,n)
html/js/moment.min.js:1
↓ 4 callers
Function
Mn
(e,t,n,s)
html/js/moment.min.js:1
↓ 4 callers
Function
U
(e,t)
html/js/moment.min.js:1
↓ 4 callers
Method
__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 callers
Method
_delete
(self, path: str, params: Optional[Dict[str, Any]] = None)
src/exchange/ftx/ftx_api.py:26
↓ 4 callers
Method
_post
(self, path: str, params: Optional[Dict[str, Any]] = None)
src/exchange/ftx/ftx_api.py:23
↓ 4 callers
Function
a
(e)
html/js/moment.min.js:1
↓ 4 callers
Method
close_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 callers
Method
close_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 callers
Method
close_all
close all current orders
src/exchange/ftx/ftx_stub.py:119
↓ 4 callers
Method
close_all
market close opened position for this pair
src/exchange/ftx/ftx.py:292
↓ 4 callers
Method
close_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 callers
Method
close_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 callers
Function
d
()
html/js/jquery.csv.min.js:1
↓ 4 callers
Function
dn
(e,t)
html/js/moment.min.js:1
↓ 4 callers
Method
download_data
download or get the data and set variables related to ohlcv data
src/exchange/ftx/ftx_backtest.py:300
↓ 4 callers
Function
escape_attr
(value)
html/js/main.js:376
↓ 4 callers
Function
format_metric_number
(value, digits)
html/js/main.js:645
↓ 4 callers
Function
format_number
(price, sig_digits)
html/js/main.js:543
↓ 4 callers
Method
get_balance
Get the Current Balance :return:
src/exchange/ftx/ftx_stub.py:75
↓ 4 callers
Method
get_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 callers
Method
get_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 callers
Method
get_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 callers
Method
get_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 callers
Method
get_position
get the current position :param force_api_call: force api call :return:
src/exchange/ftx/ftx.py:183
↓ 4 callers
Function
j
(e)
html/js/moment.min.js:1
↓ 4 callers
Method
place_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 callers
Method
start
(self)
src/__init__.py:153
↓ 4 callers
Method
symlink
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 callers
Function
u
()
html/js/jquery.csv.min.js:1
↓ 4 callers
Function
ut
(t)
html/js/moment.min.js:1
↓ 4 callers
Function
xe
(e,t)
html/js/moment.min.js:1
↓ 3 callers
Function
Et
(e)
html/js/moment.min.js:1
↓ 3 callers
Function
G
(e)
html/js/moment.min.js:1
↓ 3 callers
Function
Gt
(e,t)
html/js/moment.min.js:1
↓ 3 callers
Function
Ht
(e)
html/js/moment.min.js:1
↓ 3 callers
Function
Ie
(e,t)
html/js/moment.min.js:1
↓ 3 callers
Function
Ot
(e)
html/js/moment.min.js:1
↓ 3 callers
Function
Sn
(e,t,n,s)
html/js/moment.min.js:1
↓ 3 callers
Function
Tn
(e)
html/js/moment.min.js:1
↓ 3 callers
Function
Ut
(e)
html/js/moment.min.js:1
↓ 3 callers
Function
Ve
(e)
html/js/moment.min.js:1
↓ 3 callers
Function
Vt
(e,t)
html/js/moment.min.js:1
↓ 3 callers
Function
Yt
(e)
html/js/moment.min.js:1
↓ 3 callers
Method
__auth
authenticate
src/exchange/ftx/ftx_websocket.py:58
↓ 3 callers
Method
__get_auth_user_data_streams
authenticate user data streams
src/exchange/binance_futures/binance_futures_websocket.py:120
↓ 3 callers
Method
_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 callers
Method
_request
(self, method: str, path: str, **kwargs)
src/exchange/ftx/ftx_api.py:29
↓ 3 callers
Method
add_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 callers
Method
add_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 callers
Method
avg_price
(self, print_suborders=False)
src/exchange/binance_futures/binance_futures.py:1054
↓ 3 callers
Method
avg_price
(self, print_suborders=False)
src/exchange/bybit/bybit.py:1483
↓ 3 callers
Function
b
(e,t)
html/js/moment.min.js:1
↓ 3 callers
Method
bind
bind fn :param key: :param func:
src/exchange/ftx/ftx_websocket.py:275
↓ 3 callers
Method
cancel
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 callers
Method
cancel
Cancel a specific active order by id :param id: id of the order :return: result
src/exchange/ftx/ftx.py:310
↓ 3 callers
Method
cancel_all
close opened orders for this pair
src/exchange/ftx/ftx.py:274
↓ 3 callers
Function
check_binance_error
(code)
src/__init__.py:447
↓ 3 callers
Method
close
close websocket
src/exchange/bybit/bybit_websocket.py:379
↓ 3 callers
Method
crawler_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 callers
Function
crossover
(a, b)
src/indicators.py:995
← previous
next →
101–200 of 922, ranked by callers