MCPcopy Create free account

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

Functions922 in github.com/TheFourGreatErrors/alpha-rptr

↓ 3 callersFunctioncrossunder
(a, b)
src/indicators.py:999
↓ 3 callersFunctionct
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionen
(e,t)
html/js/moment.min.js:1
↓ 3 callersMethodentry
Places an entry order with various options, working as an equivalent to TradingView Pine script implementation: https://tradingview.c
src/exchange/bitmex/bitmex.py:582
↓ 3 callersFunctionescape_html
(value)
html/js/main.js:363
↓ 3 callersMethodfetch_ohlcv
fetch OHLCV data :param start_time: start time :param end_time: end time :return:
src/exchange/ftx/ftx.py:843
↓ 3 callersMethodfilled_qty
(self)
src/exchange/binance_futures/binance_futures.py:1014
↓ 3 callersMethodfilled_qty
(self)
src/exchange/bybit/bybit.py:1441
↓ 3 callersFunctiong
(e)
html/js/moment.min.js:1
↓ 3 callersMethodget_account_info
(self)
src/exchange/ftx/ftx_api.py:77
↓ 3 callersMethodget_leverage
Get the leverage :return:
src/exchange/ftx/ftx_stub.py:82
↓ 3 callersMethodget_open_order
Returns the order of the first open order that starts with the given order ID. Args: id (str): Order id. Returns only the
src/exchange/bybit/bybit.py:1682
↓ 3 callersMethodget_open_order
Get order or all orders by id :param id: order id :param: return_all: return all orders that start with queried "id"
src/exchange/ftx/ftx.py:603
↓ 3 callersMethodget_open_orders
Get all orders or only all conditional orders or only all active orders. Args: id (str, optional): If provided, returns o
src/exchange/bybit/bybit.py:1697
↓ 3 callersMethodget_pnl
Calculate the profit and loss percentage for the current position. Returns: float: The profit and loss percentage.
src/exchange/binance_futures/binance_futures.py:437
↓ 3 callersMethodget_position_avg_price
Get the current market price of the trading pair. Returns: float: The current market price.
src/exchange/binance_futures/binance_futures.py:414
↓ 3 callersMethodget_position_avg_price
Get the average price of the current position. Returns: float: The average price of the current position.
src/exchange/bybit/bybit.py:501
↓ 3 callersMethodget_prices
(self)
src/exchange/bitmex/orderbook.py:52
↓ 3 callersMethodget_profit
Calculate the profit of the current position. Args: close (float, optional): The current price. If not provided, the inst
src/exchange/binance_futures/binance_futures.py:447
↓ 3 callersFunctionget_series_value
(series_data, series)
html/js/main.js:127
↓ 3 callersFunctionhighest
(source, period)
src/indicators.py:1038
↓ 3 callersFunctionl
(e)
html/js/moment.min.js:1
↓ 3 callersMethodload
(self, dict)
src/bot.py:31
↓ 3 callersMethodload_ohlcv
Load the historical OHLCV data. This function loads the historical OHLCV data from a CSV file or API based on the specified bin size
src/exchange/backtest.py:393
↓ 3 callersMethodorder
(self, retry, id, long, qty, limit, stop, post_only, reduce_only, trigger_by, callback)
src/exchange/bybit/bybit.py:1537
↓ 3 callersMethodoverride_strategy
A decorator to override the behavior of a target function with the provided custom strategy. args: strategy(funct
src/exchange/stub.py:778
↓ 3 callersFunctionrci
Calculate the Rolling Coefficient of Inefficiency (RCI) indicator for a given data series. Args: src (list or numpy array): The input
src/indicators.py:666
↓ 3 callersMethodremove_ob_callback
Remove a previously added callback for order book changes. This function allows removing a callback function that was previously add
src/exchange/binance_futures/binance_futures.py:2091
↓ 3 callersMethodremove_ob_callback
Remove a previously added callback for order book changes. This function allows removing a callback function that was previously add
src/exchange/bybit/bybit.py:2523
↓ 3 callersMethodset_paths
Sets the paths for OHLC (Open, High, Low, Close) data directory and filename. Args: exchange (str): The exchange name.
src/exchange/backtest.py:101
↓ 3 callersMethodset_trail_price
Set the trail price to the specified value. Args: value (float): The value to set as the trail price. Returns:
src/exchange/binance_futures/binance_futures.py:491
↓ 3 callersMethodset_trail_price
Set the trail price to the specified value. Args: value (float): The value to set as the trail price. Returns:
src/exchange/bitmex/bitmex.py:333
↓ 3 callersMethodset_trail_price
Set the trail price. Args: value (float): The trail price value. Returns: None
src/exchange/bybit/bybit.py:627
↓ 3 callersFunctionset_unrealized_series_visibility
(visible)
html/js/main.js:158
↓ 3 callersMethodsub_order_id
(self)
src/exchange/bybit/bybit.py:1438
↓ 3 callersFunctionupdate_unrealized_series_visibility
(range)
html/js/main.js:165
↓ 3 callersFunctionv
(e,t)
html/js/moment.min.js:1
↓ 3 callersFunctionw
(e)
html/js/moment.min.js:1
↓ 3 callersFunctionwma
Calculate the Weighted Moving Average (WMA) of a given dataset. (TA-lib) Args: src (list or numpy array): The input data. len
src/indicators.py:812
↓ 2 callersFunction$t
(e,t)
html/js/moment.min.js:1
↓ 2 callersFunctionBt
(e,t,n,s)
html/js/moment.min.js:1
↓ 2 callersFunctionCe
(e,t)
html/js/moment.min.js:1
↓ 2 callersFunctionD
(e)
html/js/moment.min.js:1
↓ 2 callersFunctionDn
(e,t,n)
html/js/moment.min.js:1
↓ 2 callersFunctionDt
(e)
html/js/moment.min.js:1
↓ 2 callersFunctionEe
(e,t,n,s,i)
html/js/moment.min.js:1
↓ 2 callersFunctionFt
(e,n)
html/js/moment.min.js:1
↓ 2 callersFunctionH
(e,t)
html/js/moment.min.js:1
↓ 2 callersFunctionKe
(e,t)
html/js/moment.min.js:1
↓ 2 callersFunctionOn
(e,t,n,s)
html/js/moment.min.js:1
↓ 2 callersFunctionRt
(e,t)
html/js/moment.min.js:1
↓ 2 callersFunctionXt
(e)
html/js/moment.min.js:1
↓ 2 callersFunctionY
(e,t)
html/js/moment.min.js:1
↓ 2 callersMethod__close_socket
(self, channel)
src/exchange/binance_futures/binance_futures_websocket.py:198
↓ 2 callersMethod__create_private
(self)
src/exchange/bybit/bybit_websocket.py:109
↓ 2 callersMethod__create_public
(self)
src/exchange/bybit/bybit_websocket.py:99
↓ 2 callersMethod__get_auth
get auth info
src/exchange/bitmex/bitmex_websocket.py:70
↓ 2 callersMethod__new_order
Create a new order (do not use directly). Args: ord_id (str): The order ID (user ID). side (str): 'Buy' for
src/exchange/binance_futures/binance_futures.py:566
↓ 2 callersMethod__new_order
Create an order. Args: ord_id (str): Order ID. side (str): Order side (Buy or Sell). ord_qty (flo
src/exchange/bitmex/bitmex.py:403
↓ 2 callersMethod__new_order
create an order
src/exchange/ftx/ftx.py:352
↓ 2 callersMethod__restart_private_socket
(self)
src/exchange/binance_futures/binance_futures_websocket.py:203
↓ 2 callersMethod__start_socket
(self, channel)
src/exchange/binance_futures/binance_futures_websocket.py:151
↓ 2 callersMethod_normalize_algo_orders_list
Normalize a list of algo orders to match regular order field names. Args: orders (list or tuple): List of algo o
src/exchange/binance_futures/binance_futures_api.py:314
↓ 2 callersMethod_order_params
Convert params to list with signature as last element :param data: :return:
src/exchange/binance_futures/binance_futures_api.py:177
↓ 2 callersFunctionat
(e)
html/js/moment.min.js:1
↓ 2 callersFunctionbin_size_converter
Converts a bin size string to a dictionary with "bin_size" and "seconds" keys. Args: bin_size (str): A string representing the bin si
src/__init__.py:89
↓ 2 callersFunctionbitmex_api
(test=True, config=None, api_key=None, api_secret=None)
src/exchange/bitmex/bitmex_api.py:53
↓ 2 callersFunctionbn
(e)
html/js/moment.min.js:1
↓ 2 callersFunctionbt
(e)
html/js/moment.min.js:1
↓ 2 callersMethodcancel
cancel an order :param long: Long or short? :return success
src/exchange/ftx/ftx_stub.py:142
↓ 2 callersMethodcancel_active_order
Cancel a specific active order by order ID. This function cancels a specific active order by its order ID. To use this funct
src/exchange/bybit/bybit.py:808
↓ 2 callersMethodcancel_all
Cancel all the current orders. This function cancels all the open orders associated with the stub trading account for backtesting pu
src/exchange/stub.py:139
↓ 2 callersMethodcancel_all
Cancel all open orders for the trading pair.
src/exchange/bitmex/bitmex.py:351
↓ 2 callersMethodcancel_all_conditional
cancel opened conditional orders for this pair
src/exchange/ftx/ftx.py:284
↓ 2 callersMethodcancel_conditional_order
Cancel a specific conditional order by order ID. This function cancels a specific conditional order by its order ID. To use
src/exchange/bybit/bybit.py:756
↓ 2 callersMethodcancel_order
(self, id)
src/exchange/binance_futures/binance_futures.py:1098
↓ 2 callersMethodcancel_order
(self, id)
src/exchange/bybit/bybit.py:1527
↓ 2 callersMethodcancel_orders
(self, market_name: str = None, conditional_orders: bool = False, limit_orders: bool = F
src/exchange/ftx/ftx_api.py:174
↓ 2 callersMethodclose
close websocket
src/exchange/binance_futures/binance_futures_websocket.py:373
↓ 2 callersFunctiond
(e,t)
html/js/moment.min.js:1
↓ 2 callersMethoddownload_data
download or get the data and set variables related to ohlcv data
src/exchange/bitmex/bitmex_backtest.py:72
↓ 2 callersMethodend
(self)
src/exchange/binance_futures/binance_futures.py:1051
↓ 2 callersMethodend
(self)
src/exchange/bybit/bybit.py:1480
↓ 2 callersMethodentry_position_size
(self, balance)
src/strategies/MACDLongOnly.py:38
↓ 2 callersMethodentry_position_size
(self, balance)
src/strategies/SAR.py:37
↓ 2 callersMethodentry_position_size
(self, balance)
src/strategies/SupertrendStrat.py:38
↓ 2 callersMethodeval_exit
Evaluate the profit target, stop loss, and trailing conditions for triggering an exit.
src/exchange/bitmex/bitmex.py:913
↓ 2 callersMethodeval_exit
Evaluate the profit target, stop loss, and trailing conditions for triggering an exit.
src/exchange/bybit/bybit.py:1861
↓ 2 callersMethodeval_sltp
Evaluate and execute the simple take profit and stop loss implementation. - Sends a reduce-only stop loss order upon entering a posit
src/exchange/bitmex/bitmex.py:945
↓ 2 callersMethodeval_sltp
Evaluate and execute the simple take profit and stop loss implementation. - Sends a reduce-only stop loss order upon entering a posit
src/exchange/bybit/bybit.py:1909
↓ 2 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/binance_futures/binance_futures.py:1588
↓ 2 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/bybit/bybit.py:2016
↓ 2 callersFunctionfind_index
Find the index in source list of the targeted ID.
src/exchange/bybit/bybit.py:70
↓ 2 callersFunctionfit_chart_to_equity_range
()
html/js/main.js:524
↓ 2 callersFunctionformat_metric_percent
(value)
html/js/main.js:630
↓ 2 callersFunctionformat_percent
(value)
html/js/main.js:139
↓ 2 callersMethodfutures_get_open_orders
Get all open orders on a symbol. Combines both regular and algo open orders. https://binance-docs.github.io/apidocs/futures/en/#curren
src/exchange/binance_futures/binance_futures_api.py:654
↓ 2 callersMethodget_all_balances
Get all balances. Returns: dict: A dictionary containing all balances.
src/exchange/bybit/bybit.py:399
↓ 2 callersMethodget_balance
get balance :return:
src/exchange/bitmex/bitmex.py:210
↓ 2 callersMethodget_leverage
Get the current leverage. Returns: float: The current leverage.
src/exchange/binance_futures/binance_futures.py:336
← previousnext →201–300 of 922, ranked by callers