MCPcopy Create free account

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

Functions922 in github.com/TheFourGreatErrors/alpha-rptr

Methodget_all_balances
(self)
src/exchange/ftx/ftx_api.py:187
Methodget_all_trades
(self, market: str, start_time: float = None, end_time: float = None)
src/exchange/ftx/ftx_api.py:199
Methodget_balances
(self)
src/exchange/ftx/ftx_api.py:184
Methodget_commission
Get the commission rate. Returns: float: The commission rate.
src/exchange/bitmex/bitmex.py:343
Methodget_conditional_order_history
(self, market: str = None, side: str = None, type: str = None, order_type: str = None, start_time: float = Non
src/exchange/ftx/ftx_api.py:92
Methodget_conditional_orders
(self, market: str = None)
src/exchange/ftx/ftx_api.py:126
Methodget_deposit_address
(self, ticker: str)
src/exchange/ftx/ftx_api.py:190
Methodget_fills
(self)
src/exchange/ftx/ftx_api.py:181
Methodget_launch_date
Get the launch date of this pair Args: None Returns: datetime: The launch date of this pair
src/exchange/binance_futures/binance_futures.py:232
Methodget_leverage
get leverage :return:
src/exchange/bitmex/bitmex.py:231
Methodget_lot
Calculate the lot size based on the provided lot_leverage. Args: lot_leverage (float, optional): The leverage to
src/exchange/binance_futures/binance_futures.py:251
Methodget_lot
lot calculation :return:
src/exchange/bitmex/bitmex.py:200
Methodget_lot
Calculate the lot size for the trade. Args: lot_leverage (int): The leverage to be used for the lot calculation. Use None
src/exchange/bybit/bybit.py:305
Methodget_lot
Calculate the Lot :return:
src/exchange/ftx/ftx_stub.py:68
Methodget_lot
(self)
src/exchange/ftx/ftx.py:169
Methodget_market_price
Get the current market price. Returns: float: The current market price.
src/exchange/backtest.py:83
Methodget_market_price
get market price :return:
src/exchange/ftx/ftx_backtest.py:77
Methodget_open_conditional_order_triggers
(self, id: str)
src/exchange/ftx/ftx_api.py:86
Methodget_open_conditional_order_triggers
Get orders or conditional orders for this instrument :return:
src/exchange/ftx/ftx.py:639
Methodget_open_conditional_orders
(self, market: str = None, type: str = None)
src/exchange/ftx/ftx_api.py:83
Methodget_open_order_qty
Get the remaining quantity of an open order by its ID. Args: id (str): Order ID - Returns the quantity of the first order
src/exchange/binance_futures/binance_futures.py:1239
Methodget_open_order_qty
Returns the order quantity of the first open order that starts the given order ID. Args: id (str): The ID of the
src/exchange/bitmex/bitmex.py:785
Methodget_open_order_qty
Returns the order quantity of the first open order that starts with the given order ID. Args: id (str): The ID of the ord
src/exchange/bybit/bybit.py:1666
Methodget_open_orders
Get a list of open orders. Args: id (str, optional): If provided, return only orders whose ID starts with the provided s
src/exchange/stub.py:230
Methodget_open_orders
Get a list of open orders. Args: id (str, optional): If provided, return only orders whose ID starts with the provided st
src/exchange/binance_futures/binance_futures.py:1273
Methodget_open_orders
Get open orders. Args: id (str, optional): If provided, it will return only those that start with the provided st
src/exchange/bitmex/bitmex.py:815
Methodget_order_history
(self, market: str = None, side: str = None, order_type: str = None, start_time: float = None, end_time: float
src/exchange/ftx/ftx_api.py:89
Methodget_orderbook
(self, market: str, depth: int = None)
src/exchange/ftx/ftx_api.py:68
Methodget_pnl
Calculate the profit and loss (PnL) percentage for the current position. This function calculates the profit and loss percentage for
src/exchange/stub.py:123
Methodget_pnl
get profit and loss calculation in % :return:
src/exchange/ftx/ftx_stub.py:103
Methodget_position
(self, name: str, show_avg_price: bool = False)
src/exchange/ftx/ftx_api.py:196
Methodget_position_api_call
()
src/exchange/bybit/bybit.py:455
Methodget_position_api_call
()
src/exchange/ftx/ftx.py:190
Methodget_session
Get the session object for session persistence. Returns: Session: The session object.
src/bot.py:83
Methodget_trades
(self, market: str, limit: int, start_time: int, end_time: int)
src/exchange/ftx/ftx_api.py:71
Functionheston_model
Simulates a stock price path using the Heston model. Args: timesteps (int): Number of time steps to simulate. dt (float): Time ste
src/indicators.py:1353
Functionhighestbars
Highest value offset for a given number of bars back. Returns offset to the highest bar.
src/indicators.py:973
Functionhn
()
html/js/moment.min.js:1
Functionhull
(src, length)
src/indicators.py:881
Functionis_over
(src, value, p)
src/indicators.py:1027
Functionis_under
(src, value, p)
src/indicators.py:1020
Functionjump_diffusion_model
Simulates a stock price path using the Jump Diffusion model. Args: timesteps (int): Number of time steps to simulate. dt (float):
src/indicators.py:1396
Functionk
(e)
html/js/moment.min.js:1
Functionkama
Calculate Kaufman's Adaptive Moving Average (KAMA) of a given dataset. (TA-lib) Args: data (list or numpy array): The input data.
src/indicators.py:772
Functionkeltner_channel
Calculate the Keltner Channel. Args: high (array-like): High prices. low (array-like): Low prices. close (array-like)
src/indicators.py:938
Functionklinger_oscillator
Calculates the Klinger Oscillator and Signal values based on high, low, close, and volume. Args: high (array-like): Array or list of
src/indicators.py:681
Functionlinreg
Calculate Linear Regression (LINEARREG) using TA-Lib. Args: close (list or np.ndarray): List or array of closing prices. per
src/indicators.py:1519
Functionlinreg_slope
Calculate Linear Regression Slope (LINEARREG_SLOPE) using TA-Lib. Args: close (list or np.ndarray): List or array of closing prices.
src/indicators.py:1533
Methodliquidation_price
(self, position_size, avg_entry_price, balance)
src/strategies/MACDLongOnly.py:56
Methodliquidation_price
(self, position_size, avg_entry_price, balance)
src/strategies/SAR.py:59
Methodliquidation_price
(self, position_size, avg_entry_price, balance)
src/strategies/SupertrendStrat.py:56
Methodlist_futures
(self)
src/exchange/ftx/ftx_api.py:62
Functionln
(e,t)
html/js/moment.min.js:1
Functionlog_normalization
This method applies the natural logarithm function to the data, which can help reduce the impact of outliers and skewness.
src/indicators.py:1575
Methodloop_function
()
src/exchange/binance_futures/binance_futures_websocket.py:210
Functionlowestbars
Lowest value offset for a given number of bars back. Returns offset to the lowest bar.
src/indicators.py:984
Functionlyapunov_exponent
Calculate the Lyapunov exponent for a given time series data. Parameters: data: Time series data of the dynamical system. dt
src/indicators.py:307
Functionmama
Calculate the Mesa Adaptive Moving Average (MAMA) of a given dataset. (TA-lib) Args: data (list or numpy array): The input data.
src/indicators.py:784
Methodmatches
(self, url)
src/exchange/bitmex/bitmex_api.py:22
Functionmavp
Calculate the Moving Average with Variable Period (MAVP) of a given dataset. (TA-lib) Args: data (list or numpy array): The input dat
src/indicators.py:797
Functionmedian_normalization
This method scales the data by subtracting the median and dividing by the median absolute deviation (MAD).
src/indicators.py:1636
Functionmfi
Calculates the Money Flow Index (MFI) using the ta-lib library. Args: high (list): List of high prices. low (list): List of l
src/indicators.py:539
Functionmin_max_normalization
Min-max normalization scales the values to a specific range, typically between 0 and 1.
src/indicators.py:1551
Functionmonte_carlo_simulation
Perform Monte Carlo simulation for equity growth. Parameters: start_equity (float): Initial equity value. profit_to_loss_rati
src/indicators.py:1441
Functionnatr
Calculate Normalized Average True Range (NATR) using TA-Lib. Args: high (list or np.ndarray): List or array of high prices. l
src/indicators.py:376
Methodnext_order
(self)
src/exchange/binance_futures/binance_futures.py:920
Methodnext_order
(self)
src/exchange/bybit/bybit.py:1361
Functionnoop
()
html/js/plugins.js:4
Methodnow_time
Get the current time. Returns: datetime: The current time.
src/exchange/backtest.py:92
Methodnow_time
Get the current time in UTC timezone. Returns: datetime: The current time in UTC timezone.
src/exchange/binance_futures/binance_futures.py:224
Methodnow_time
Get the current time in UTC timezone.
src/exchange/bitmex/bitmex.py:186
Methodnow_time
Get the current time in UTC timezone.
src/exchange/bybit/bybit.py:280
Methodnow_time
current time
src/exchange/ftx/ftx.py:163
Methodnow_time
current time :return:
src/exchange/ftx/ftx_backtest.py:84
Methodobjective
(args)
src/bot.py:162
Functionobv
Calculates the On-Balance Volume (OBV) indicator using the ta-lib library. Args: close (list): List of closing prices. volume
src/indicators.py:526
Methodohlcv_len
(self)
src/strategies/OCC.py:34
Methodohlcv_len
(self)
src/strategies/MACDLongOnly.py:35
Methodohlcv_len
(self)
src/strategies/SAR.py:34
Methodohlcv_len
(self)
src/strategies/SupertrendStrat.py:35
Methodohlcv_len
(self)
src/strategies/Sample.py:48
Functionon
(e,t,n)
html/js/moment.min.js:1
Methodon_bid_ask_change
(self, best_bid_changed, best_ask_changed)
src/exchange/binance_futures/binance_futures.py:1143
Methodon_bid_ask_change
(self, best_bid_changed, best_ask_changed)
src/exchange/bybit/bybit.py:1553
Methodon_close
on close fn :param func:
src/exchange/binance_futures/binance_futures_websocket.py:358
Methodon_close
on close fn :param func:
src/exchange/bitmex/bitmex_websocket.py:194
Methodon_close
on close fn :param func:
src/exchange/ftx/ftx_websocket.py:268
Methodon_error
(self, callback)
src/gmail_sub.py:60
Methodon_order_update
(self, order)
src/exchange/binance_futures/binance_futures.py:1154
Methodon_order_update
(self, order)
src/exchange/bybit/bybit.py:1564
Methodon_update
Register the strategy function. Args: bin_size (str): The bin size for the OHLCV data. strategy (function): T
src/exchange/binance_futures/binance_futures_backtest.py:60
Methodon_update
Register the strategy function and bind functions with WebSocket data streams. This function is used to set up the WebSocket connect
src/exchange/binance_futures/binance_futures.py:2143
Methodon_update
The method called when the 'on_update' function is called on an instance of 'YourExchangeNameStub'. Args: bin_size (list)
src/exchange/binance_futures/binance_futures_stub.py:37
Methodon_update
Register the strategy function. Args: bin_size (str): The bin size for the OHLCV data. strategy (function): T
src/exchange/bitmex/bitmex_backtest.py:58
Methodon_update
Register the strategy function and bind functions with WebSocket data streams. This function is used to set up the WebSocket connect
src/exchange/bitmex/bitmex.py:1349
Methodon_update
The method called when the 'on_update' function is called on an instance of 'YourExchangeNameStub'. Args: bin_size (list)
src/exchange/bitmex/bitmex_stub.py:37
Methodon_update
Register the strategy function and bind functions with WebSocket data streams. This function is used to set up the WebSocket connect
src/exchange/bybit/bybit.py:2612
Methodon_update
The method called when the 'on_update' function is called on an instance of 'YourExchangeNameStub'. Args: bin_size (list)
src/exchange/bybit/bybit_stub.py:37
Methodon_update
Register the strategy function. Args: bin_size (str): The bin size for the OHLCV data. strategy (function): T
src/exchange/bybit/bybit_backtest.py:59
Methodon_update
Register function of strategy. :param strategy:
src/exchange/ftx/ftx_stub.py:499
← previousnext →701–800 of 922, ranked by callers