MCPcopy Create free account

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

Functions922 in github.com/TheFourGreatErrors/alpha-rptr

Methodon_update
Register the strategy function. :param strategy:
src/exchange/ftx/ftx_backtest.py:225
Methodoptions
(self)
src/strategies/OCC.py:37
Methodoptions
(self)
src/strategies/Rci.py:31
Methodoptions
(self)
src/strategies/ChaserTester.py:47
Methodoptions
(self)
src/strategies/CandleTesterMult.py:50
Methodoptions
(self)
src/strategies/Doten.py:32
Methodoptions
(self)
src/strategies/Sample.py:40
Methodoptions
(self)
src/strategies/SMA.py:31
Methodoptions
(self)
src/strategies/CandleTester.py:33
Methodorder
Places an order. : param id: number of order : param long: long or short : param qty: order quantity
src/exchange/ftx/ftx_stub.py:240
Functionornstein_uhlenbeck_process
Simulates an Ornstein-Uhlenbeck process. Args: timesteps (int): Number of time steps to simulate. dt (float): Time step size.
src/indicators.py:1295
Functionpareto_scaling
This method scales the data by dividing each value by the square root of the standard deviation.
src/indicators.py:1645
Methodplot
Draw the graph
src/exchange/binance_futures/binance_futures.py:2213
Methodplot
Draw the graph
src/exchange/bitmex/bitmex.py:1408
Methodplot
Draw the graph
src/exchange/bybit/bybit.py:2680
Methodpnl
(self, close, avg_entry_price, position_size, commission)
src/strategies/MACDLongOnly.py:42
Methodpnl
(self, close, avg_entry_price, position_size, commission)
src/strategies/SAR.py:45
Methodpnl
(self, close, avg_entry_price, position_size, commission)
src/strategies/SupertrendStrat.py:42
Functionpower_normalization
Apply power normalization to the given data. Parameters: data (array-like): Input data to be normalized. method (str, optiona
src/indicators.py:1598
Functionpsd
Compute the Power Spectral Density (PSD) of a given signal. Parameters: sig (array-like): Input signal. fs (float): Sampling
src/indicators.py:1150
Functionretry_binance_futures
(func, count=5)
src/__init__.py:454
Functionretry_bybit
(func, count=5)
src/__init__.py:495
Functionretry_ftx
(func, count=5)
src/__init__.py:531
Functionrobust_normalization
This method is robust to outliers and uses the median and interquartile range (IQR) to scale the data.
src/indicators.py:1582
Functionrsi
(close, period=14)
src/indicators.py:577
Functionrsx
Indicator: Relative Strength Xtra (inspired by Jurik RSX)
src/indicators.py:581
Methodrun
(self)
src/strategies/TV.py:65
Functionsarext
Calculate the Extended Parabolic Stop and Reverse (SAR) indicator. Args: high (list or array-like): The high prices of the asset for
src/indicators.py:38
Methodsecurity
Recalculate and obtain data of a timeframe higher than the current timeframe without looking into the future. Args: bin_
src/exchange/backtest.py:302
Methodsecurity
Recalculate and obtain data of a timeframe higher than the current timeframe without looking into the future to avoid undesired effec
src/exchange/binance_futures/binance_futures.py:1648
Methodsecurity
Recalculate and obtain data of a timeframe higher than the current timeframe without looking into the future to avoid undesired effec
src/exchange/bitmex/bitmex.py:1068
Methodsecurity
Recalculate and obtain data of a timeframe higher than the current timeframe without looking into the future to avoid undesired effec
src/exchange/bybit/bybit.py:2084
Methodsecurity
Recalculate and obtain data of a timeframe higher than the current timeframe without looking into the furute that would cause undesir
src/exchange/ftx/ftx_backtest.py:235
MethodsetUp
(self)
tests/test_bitmex_websocket.py:14
Methodset_guard
(self, guard)
tests/test_bitmex_websocket.py:29
Methodset_interval
(self, interval)
src/gmail_sub.py:51
Methodset_leverage
Set the leverage for the trading account. This function sets the leverage to be used for trading in the stub trading account.
src/exchange/stub.py:76
Methodset_leverage
set leverage, this will automaticall set your position to isolated margin :param leverage: leverage :return:
src/exchange/bitmex/bitmex.py:239
Methodset_leverage
Set the leverage for the specified symbol. Args: leverage (int): The leverage value to be set. symbol (str):
src/exchange/bybit/bybit.py:410
Methodset_trading_stop
Set the take profit, stop loss or trailing stop for the position.
src/exchange/bybit/bybit.py:1113
Functionshannon_entropy
Calculates the Shannon entropy of a probability distribution. Args: probabilities (list): List of probabilities. Returns:
src/indicators.py:1172
Methodshow_result
Display the backtesting results. This function displays the backtesting results, including trade count, balance, profit rate, win ra
src/exchange/backtest.py:469
Methodshow_result
Show results
src/exchange/binance_futures/binance_futures.py:2207
Methodshow_result
Show results
src/exchange/bitmex/bitmex.py:1402
Methodshow_result
Show results
src/exchange/bybit/bybit.py:2674
Methodshow_result
Display results
src/exchange/ftx/ftx_backtest.py:433
Methodsltp
Implement a simple take profit and stop loss strategy. (Independent of exit()) Sends a reduce-only stop-loss order upon entering a po
src/exchange/binance_futures/binance_futures.py:1339
Methodsltp
Implement a simple take profit and stop loss strategy. (Independent of exit()) Sends a reduce-only stop-loss order upon entering a po
src/exchange/bitmex/bitmex.py:849
Methodsltp
Implement a simple take profit and stop loss strategy.(Independent of exit()) Sends a reduce-only stop-loss order upon entering a pos
src/exchange/bybit/bybit.py:1785
Functionsn
()
html/js/moment.min.js:1
Functionsoftmax_normalization
This method is commonly used in machine learning for normalizing a set of values into a probability distribution where the sum of all values
src/indicators.py:1627
Functionssma
(src, length)
src/indicators.py:877
Functionstddev
Calculate the standard deviation of a time series data using TA-Lib. Args: source (list or numpy.ndarray): The time series data for w
src/indicators.py:403
Functionstochastic
Calculate the Stochastic indicator. Parameters: high: A list or array of high prices. low: A list or array of low prices.
src/indicators.py:555
Methodstop
(self)
src/__init__.py:161
Methodstop
(self)
src/gmail_sub.py:63
Methodstop
Stop the crawler
src/exchange/ftx/ftx_backtest.py:427
Methodstop
(self)
src/strategies/TV.py:91
Methodstrategy
Strategy function, when creating a bot please inherit and implement this function. Args: action (str): Action.
src/bot.py:138
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/MACDLongOnly.py:65
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/SAR.py:68
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/Rci.py:38
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/ChaserTester.py:50
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/CandleTesterMult.py:53
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/SupertrendStrat.py:65
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/Doten.py:37
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/Sample.py:51
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/SMA.py:37
Methodstrategy
(self, action, open, close, high, low, volume)
src/strategies/CandleTester.py:36
Methodstream_keepalive
PING a user data stream to prevent a time out. https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md#keepalive
src/exchange/binance_futures/binance_futures_api.py:369
Methodsubscribe
(x)
tests/test_bitmex_websocket.py:39
Methodsubscribe_all
(self, ws)
src/exchange/ftx/ftx_websocket.py:91
Methodsubscribe_fills
(self, ws)
src/exchange/ftx/ftx_websocket.py:160
Methodsubscribe_orderbook
(self, ws)
src/exchange/ftx/ftx_websocket.py:149
Methodsubscribe_orders
(self, ws)
src/exchange/ftx/ftx_websocket.py:169
Methodsubscribe_ticker
(self, ws)
src/exchange/ftx/ftx_websocket.py:129
Methodsubscribe_trades
(self, ws)
src/exchange/ftx/ftx_websocket.py:139
Functionsupertrend
Indicator: Supertrend
src/indicators.py:163
Functionsymlink
Create a symbolic link named link_name pointing to target. Args: target (str): The target file or directory to which the link sh
src/__init__.py:198
Functiontema
Calculate the Triple Exponential Moving Average (TEMA) of a given dataset. (TA-lib) Args: data (list or numpy array): The input data.
src/indicators.py:748
Functionterm
(signum, frame)
main.py:68
Methodtest_download_data
(self)
tests/test_bitmex_backtest.py:14
Methodtest_entry_cancel
(self)
tests/test_bitmex.py:36
Methodtest_fetch_ohlc_2h
(self)
tests/test_bitmex.py:19
Methodtest_fetch_ohlcv_11m
(self)
tests/test_bitmex.py:26
Methodtest_fetch_ohlcv_5m
(self)
tests/test_bitmex.py:12
Methodtest_load_file
(self)
tests/test_bitmex_backtest.py:23
Methodtest_order_suffix
(self)
tests/test_util.py:27
Methodtest_setup
(self)
tests/test_bitmex_websocket.py:32
Methodtest_subscribe_1d
(self)
tests/test_bitmex_websocket.py:72
Methodtest_subscribe_1h
(self)
tests/test_bitmex_websocket.py:60
Methodtest_subscribe_1m
(self)
tests/test_bitmex_websocket.py:36
Methodtest_subscribe_5m
(self)
tests/test_bitmex_websocket.py:48
Methodtest_subscribe_instrument
(self)
tests/test_bitmex_websocket.py:84
Methodtest_subscribe_margin
(self)
tests/test_bitmex_websocket.py:96
Methodtest_subscribe_position
(self)
tests/test_bitmex_websocket.py:108
Methodtest_subscribe_wallet
(self)
tests/test_bitmex_websocket.py:120
Methodtest_to_data_frame
(self)
tests/test_util.py:12
Methodtest_validate_continuous
(self)
tests/test_util.py:18
Functiontn
(e)
html/js/moment.min.js:1
← previousnext →801–900 of 922, ranked by callers