MCPcopy Index your code

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

Functions922 in github.com/TheFourGreatErrors/alpha-rptr

↓ 90 callersFunctionretry
(func, count=5)
src/__init__.py:407
↓ 67 callersFunctionce
(e,n,s)
html/js/moment.min.js:1
↓ 55 callersFunctionC
(e,t,n,s)
html/js/moment.min.js:1
↓ 52 callersMethodget_sltp_values
Get the values for the simple profit target and stop loss in percentage. Returns: dict: Simple profit target and stop los
src/exchange/binance_futures/binance_futures.py:1410
↓ 48 callersMethod_request_futures_api
(self, method, path, signed=False, v2=False, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:256
↓ 41 callersFunctiony
(e)
html/js/moment.min.js:1
↓ 40 callersFunctionnotify
Sends a notification to Discord and LINE Notify with the provided message. Args: message (object): The message to be sent. f
src/__init__.py:563
↓ 38 callersFunctionZ
(e)
html/js/moment.min.js:1
↓ 37 callersMethodget_exit_order
get profit take and stop loss and trailing settings
src/exchange/ftx/ftx.py:710
↓ 37 callersMethodget_sltp_values
get values for the simple profit target/stop loss in %
src/exchange/ftx/ftx.py:704
↓ 36 callersMethodget_sltp_values
Get the values for the simple profit target and stop loss in percentage. Returns: dict: Simple profit target and stop los
src/exchange/bybit/bybit.py:1853
↓ 35 callersFunction$
(e,t)
html/js/moment.min.js:1
↓ 32 callersFunctionm
(e,t)
html/js/moment.min.js:1
↓ 31 callersMethodget_position_size
Get the current position size. This function retrieves the current position size (quantity) for the trading pair in the stub trading
src/exchange/stub.py:101
↓ 29 callersMethodget_exit_order
Get the profit take, stop loss, and trailing settings for the exit strategy. Returns: dict: Exit strategy settings.
src/exchange/binance_futures/binance_futures.py:1402
↓ 28 callersFunctionye
(e,n)
html/js/moment.min.js:1
↓ 27 callersFunctionparseFloat
(str, default=None)
src/__init__.py:119
↓ 25 callersFunctiondelta
Calculate the timedelta based on the bin size. Args: bin_size (str, optional): The bin size (default is '1h'). minute_granul
src/__init__.py:307
↓ 25 callersFunctionn
(i,r)
html/js/moment.min.js:1
↓ 24 callersMethodget_position_size
Get the position size :return:
src/exchange/ftx/ftx_stub.py:89
↓ 21 callersMethodget_exit_order
Get the profit take, stop loss, and trailing settings for the exit strategy. Returns: dict: Exit strategy settings.
src/exchange/bybit/bybit.py:1845
↓ 21 callersMethodget_market_price
get current price :return:
src/exchange/ftx/ftx.py:240
↓ 20 callersFunctionTt
(e,t,n,s)
html/js/moment.min.js:1
↓ 20 callersMethod__init_client
Initialization of the client for live trading on Bybit exchange.
src/exchange/bybit/bybit.py:214
↓ 19 callersMethod_get
(self, path: str, params: Optional[Dict[str, Any]] = None)
src/exchange/ftx/ftx_api.py:20
↓ 18 callersMethod__init_client
Initialization of the Binance futures client.
src/exchange/binance_futures/binance_futures.py:156
↓ 18 callersMethod__init_client
initialization of client
src/exchange/ftx/ftx.py:138
↓ 18 callersMethodentry
Places an entry order with various options, working as an equivalent to TradingView Pine script implementation: https://tradingview.c
src/exchange/stub.py:364
↓ 17 callersMethodget_balance
Get the current balance of the trading account. This function retrieves the current balance from the stub trading account for pepr t
src/exchange/stub.py:65
↓ 16 callersFunctionA
(e,t)
html/js/moment.min.js:1
↓ 16 callersFunctionL
(e,t)
html/js/moment.min.js:1
↓ 16 callersMethod__init_client
Initialization of the client for live trading on BitMEX exchange.
src/exchange/bitmex/bitmex.py:134
↓ 16 callersMethodget_position_size
get position size :param force_api_call: force api call :return:
src/exchange/ftx/ftx.py:210
↓ 16 callersMethodget_trail_price
get Trail Price。 :return:
src/exchange/ftx/ftx.py:253
↓ 16 callersFunctionresample
Resamples a DataFrame to a new bin size(timeframe). Args: data_frame (pandas.DataFrame): The DataFrame to be resampled. bin_
src/__init__.py:383
↓ 15 callersMethodbind
bind fn :param key: :param func:
src/exchange/bitmex/bitmex_websocket.py:201
↓ 14 callersMethodapply
(self, r)
src/exchange/bitmex/bitmex_api.py:27
↓ 14 callersFunctionfind_timeframe_string
Finds and returns the timeframe string based on the minute count. Args: timeframe_in_minutes (int): The number of minutes in the tim
src/__init__.py:260
↓ 14 callersFunctionr
(e)
html/js/moment.min.js:1
↓ 14 callersFunctionto_data_frame
Convert a dictionary of data(OHLCV) to a Pandas DataFrame. Args: data (dict): The dictionary containing the data. Returns:
src/__init__.py:368
↓ 13 callersMethodget_exit_order
Get the profit take, stop loss, and trailing settings for the exit strategy. Returns: dict: Exit strategy settings.
src/exchange/bitmex/bitmex.py:897
↓ 13 callersMethodinput
Get user input for a given parameter title or return the default value if not provided. Args: title (str): The title of
src/bot.py:116
↓ 13 callersFunctionme
(e)
html/js/moment.min.js:1
↓ 13 callersMethodorder
Places an entry order with various options. Args: id (str): Order ID (user ID). long (bool): True for a long
src/exchange/binance_futures/binance_futures.py:845
↓ 13 callersMethodplot
Draw the graph
src/exchange/ftx/ftx.py:1132
↓ 12 callersFunctionI
(e)
html/js/moment.min.js:1
↓ 12 callersMethodget_position
get the current position :return:
src/exchange/bitmex/bitmex.py:253
↓ 12 callersMethodget_position_size
Get the position size. Args: force_api_call (bool): If True, force an API call to get the position. Returns:
src/exchange/bybit/bybit.py:478
↓ 12 callersMethodset_trail_price
set Trail Price :return:
src/exchange/ftx/ftx.py:260
↓ 12 callersFunctionsync_obj_with_config
Synchronizes the attributes of an object with a dictionary of configuration values. Args: config (dict): A dictionary containing con
src/__init__.py:246
↓ 11 callersFunctionV
(e)
html/js/moment.min.js:1
↓ 11 callersMethodget_open_order
Get open order by ID. Args: id (str): Order ID for this pair. Returns: dict: Information abou
src/exchange/bitmex/bitmex.py:796
↓ 11 callersMethodget_position_avg_price
Get the average price of the current position. This function retrieves the average price of the current position for the trading pai
src/exchange/stub.py:112
↓ 11 callersMethodget_position_avg_price
Get the position avg price :return:
src/exchange/ftx/ftx_stub.py:96
↓ 11 callersFunctiono
(e)
html/js/moment.min.js:1
↓ 11 callersMethodorder
places an order, works as equivalent to tradingview pine script implementation https://www.tradingview.com/pine-script-reference/#fun
src/exchange/ftx/ftx.py:559
↓ 11 callersMethodplace_order
(self, market: str, side: str, price: float, size: float, type: str = 'limit', reduce_only
src/exchange/ftx/ftx_api.py:129
↓ 10 callersFunctionM
(e)
html/js/moment.min.js:1
↓ 10 callersFunctionO
(e)
html/js/moment.min.js:1
↓ 10 callersFunctionT
(e,t,n)
html/js/moment.min.js:1
↓ 10 callersMethodcallback
()
src/exchange/bybit/bybit.py:701
↓ 10 callersMethodclose
close websocket
src/exchange/bitmex/bitmex_websocket.py:230
↓ 10 callersMethodget_position_size
Get the current position size of the trading pair. Returns: float: The current position size.
src/exchange/binance_futures/binance_futures.py:398
↓ 10 callersMethodget_sltp_values
Get the values for the simple profit target and stop loss in percentage. Returns: dict: Simple profit target and stop los
src/exchange/bitmex/bitmex.py:905
↓ 10 callersMethodupdate
Update the Supertrend indicator with new price data. Args: high (list or ndarray): List or array of high prices.
src/indicators.py:85
↓ 9 callersFunctionNn
(e)
html/js/moment.min.js:1
↓ 9 callersMethod__emit
(self, key, action, value)
src/exchange/binance_futures/binance_futures_websocket.py:331
↓ 9 callersMethodclose_all
Close all the current positions. This function closes all the current positions for the trading pair in the stub trading account.
src/exchange/stub.py:150
↓ 9 callersFunctionema
(source, period)
src/indicators.py:722
↓ 9 callersMethodget_position_size
get position size :return:
src/exchange/bitmex/bitmex.py:268
↓ 9 callersFunctionh
(e)
html/js/moment.min.js:1
↓ 9 callersFunctionje
(e,t,n)
html/js/moment.min.js:1
↓ 9 callersFunctionload_data
Read data from a file. Args: file (str): The path to the file containing the data. Returns: pandas.DataFrame: A DataFram
src/__init__.py:284
↓ 9 callersMethodorder
Places an order with various options. Args: id (str): Order id (identifier for the order). long (bool): Long
src/exchange/bybit/bybit.py:1288
↓ 9 callersMethodstart
(self)
src/exchange/binance_futures/binance_futures.py:1045
↓ 8 callersFunctionZt
(e,t)
html/js/moment.min.js:1
↓ 8 callersFunction_
(e,t,n,s)
html/js/moment.min.js:1
↓ 8 callersMethod__emit
send data
src/exchange/bitmex/bitmex_websocket.py:166
↓ 8 callersFunctionc
(e,t)
html/js/moment.min.js:1
↓ 8 callersMethodcommit
Commits a trade order. This function commits a trade order for the trading pair in the stub trading account. It upd
src/exchange/stub.py:531
↓ 8 callersMethodcommit
                  : param id: order number          : param long: long or short          : param qty: order quantity          : param price: price   
src/exchange/ftx/ftx_stub.py:293
↓ 8 callersMethodcomplete
(self)
tests/test_bitmex_websocket.py:17
↓ 8 callersMethodfutures_create_order
Send in a new order. https://binance-docs.github.io/apidocs/futures/en/#new-order-trade
src/exchange/binance_futures/binance_futures_api.py:504
↓ 8 callersMethodlog
Singleton class to interact with InfluxDB and log data. It allows logging metrics to InfluxDB with appropriate timestamps, measureme
src/__init__.py:638
↓ 8 callersMethodorder
Places an order with various options. Args: id (str): Order ID. long (bool): Long or Short position.
src/exchange/bitmex/bitmex.py:727
↓ 8 callersFunctionsma
(source, period)
src/indicators.py:718
↓ 8 callersMethodstart
(self)
src/exchange/bybit/bybit.py:1474
↓ 8 callersMethodwait_complete
(self)
tests/test_bitmex_websocket.py:20
↓ 7 callersFunctionGn
(e)
html/js/moment.min.js:1
↓ 7 callersMethod__emit
send data
src/exchange/bybit/bybit_websocket.py:364
↓ 7 callersMethodbind
bind fn :param key: :param func:
src/exchange/binance_futures/binance_futures_websocket.py:365
↓ 7 callersMethodbind
bind fn :param key: :param func:
src/exchange/bybit/bybit_websocket.py:371
↓ 7 callersFunctionc
()
html/js/jquery.csv.min.js:1
↓ 7 callersFunctiondt
(e)
html/js/moment.min.js:1
↓ 7 callersMethodget_balance
Get the balance for the specified asset. Args: asset (str): The asset to get the balance for. If not provided, the defaul
src/exchange/bybit/bybit.py:328
↓ 7 callersFunctionlog_metrics
Logs metrics to InfluxDB with the given timestamp, collection, metrics, and tags. Args: timestamp (str): The timestamp for the data
src/__init__.py:687
↓ 7 callersFunctionmodal_alert
(title, content)
html/js/main.js:278
↓ 7 callersFunctionord_suffix
Generates a unique order suffix using a random UUID. Returns: str: A unique order suffix string.
src/__init__.py:274
↓ 7 callersMethodplot
Draw the graph Args: name (str): The name of the graph. value (dict, int, float): The data values for the gra
src/exchange/backtest.py:557
↓ 7 callersFunctionu
(e)
html/js/moment.min.js:1
next →1–100 of 922, ranked by callers