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
Method
__str__
(self)
src/exchange/binance_futures/exceptions.py:41
Method
__str__
(self)
src/exchange/binance_futures/exceptions.py:50
Method
__str__
(self)
src/exchange/binance_futures/exceptions.py:60
Method
__str__
(self)
src/exchange/binance_futures/exceptions.py:106
Method
__update
(self, action, values)
src/exchange/bitmex/orderbook.py:20
Method
__update_ohlcv
Update OHLCV (Open-High-Low-Close-Volume) data and execute the strategy. This function takes in new OHLCV data and updates the inter
src/exchange/binance_futures/binance_futures.py:1666
Method
__update_ohlcv
Update OHLCV (Open-High-Low-Close-Volume) data and execute the strategy. This function takes in new OHLCV data and updates the inter
src/exchange/bitmex/bitmex.py:1086
Method
__update_ohlcv
Update OHLCV (Open-High-Low-Close-Volume) data and execute the strategy. This function takes in new OHLCV data and updates the inter
src/exchange/bybit/bybit.py:2102
Method
__update_ohlcv
get and update OHLCV data and execute the strategy
src/exchange/ftx/ftx.py:906
Method
_check_timeouts
(self)
src/monitor.py:45
Method
_delete
(self, path, signed=False, version=PUBLIC_API_VERSION, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:348
Method
_get
(self, path, signed=False, version=PUBLIC_API_VERSION, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:339
Method
_request_api
(self, method, path, signed=False, version=PUBLIC_API_VERSION, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:236
Method
_request_website
(self, method, path, signed=False, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:251
Method
_request_withdraw_api
(self, method, path, signed=False, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:241
Method
_run
Internal function to run the scheduled task and restart the timer.
src/__init__.py:145
Function
adx
This function calculates the Average Directional Index (ADX) using TA-Lib.
src/indicators.py:488
Method
amend_order
Amend an order with querying the order prior to verifying its existence and whether it's active or conditional. This function allows
src/exchange/bitmex/bitmex.py:495
Function
autocorrelation
(data)
src/indicators.py:1164
Function
avg_price
Also found in tradingview as ohlc4 source
src/indicators.py:1053
Function
bbands
(source, timeperiod=5, nbdevup=2, nbdevdn=2, matype=0)
src/indicators.py:889
Function
bessel_process
Simulates a Bessel process path. Args: timesteps (int): Number of time steps to simulate. dt (float): Time step size. init
src/indicators.py:1245
Function
bessel_process_euler_maruyama
Simulates paths of the Bessel process using the Euler-Maruyama method. Args: T (float): Total time. dt (float): Time step siz
src/indicators.py:1271
Function
brownian_bridge
Simulates a Brownian bridge path. Args: timesteps (int): Number of time steps to simulate. dt (float): Time step size. ini
src/indicators.py:1218
Function
brownian_motion
Simulates a Brownian motion path. Args: timesteps (int): Number of time steps to simulate. dt (float): Time step size. ini
src/indicators.py:1187
Method
cancel
(self)
src/exchange/binance_futures/binance_futures.py:1092
Method
cancel
(self)
src/exchange/bybit/bybit.py:1521
Method
cancel_conditional_order
(self, order_id: str)
src/exchange/ftx/ftx_api.py:171
Method
cancel_conditional_order
Cancel a specific conditional order by id :param id: id of the order :return: result
src/exchange/ftx/ftx.py:331
Function
cir_process
Simulates a Cox-Ingersoll-Ross (CIR) process. Args: timesteps (int): Number of time steps to simulate. dt (float): Time step size.
src/indicators.py:1324
Method
close_all_at_price
Close all positions at a given price. This function closes all open positions in the stub trading account at a specified price.
src/exchange/backtest.py:166
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_backtest.py:116
Method
close_partial
Close a partial position. This function closes a part of the current position for the trading pair in the stub trading account.
src/exchange/stub.py:317
Method
close_partial
src/exchange/ftx/ftx_stub.py:274
Function
cn
(e,t,n,s,i)
html/js/moment.min.js:1
Method
commit
Commit a trade order. This function commits a trade order for the trading pair in the stub trading account. It updates the p
src/exchange/backtest.py:118
Method
commit
Commit :param id: order :param long: long or short :param qty: quantity :param price: price :param ne
src/exchange/ftx/ftx_backtest.py:91
Function
compute_log_returns
Computes the log returns of a list or NumPy array of balance changes. Args: balance_changes: A list or NumPy array of balance changes
src/indicators.py:1698
Function
decimal_scaling_normalization
Decimal scaling normalizes the values by dividing them by a suitable power of 10, based on the maximum absolute value in the dataset, often
src/indicators.py:1566
Function
dema
Calculate the Double Exponential Moving Average (DEMA) of a given dataset. (TA-lib) Args: data (list or numpy array): The input data.
src/indicators.py:731
Method
deregister_callback
(self, topic)
src/monitor.py:66
Function
detrended_fluctuation_analysis
Perform Detrended Fluctuation Analysis (DFA) on the given data. Parameters: data: 1-D array or list containing the data.
src/indicators.py:1091
Function
di_minus
This function calculates the Minus Directional Indicator (-DI) using TA-Lib.
src/indicators.py:502
Function
di_plus
This function calculates the Plus Directional Indicator (+DI) using TA-Lib.
src/indicators.py:495
Function
donchian
Indicator: Donchian Channels (DC)
src/indicators.py:893
Function
double_ema
(src, length)
src/indicators.py:726
Method
download_data
Download or get the data and set variables related to OHLCV data. Args: bin_size (str): The bin size for the OHLCV data.
src/exchange/binance_futures/binance_futures_backtest.py:73
Method
download_data
download or get amd return ohlcv data
src/exchange/bybit/bybit_backtest.py:73
Function
e
(e,t)
html/js/moment.min.js:1
Method
entry
Places an entry order with various options, working as an equivalent to TradingView Pine script implementation: https://tradingview.c
src/exchange/binance_futures/binance_futures.py:675
Method
entry
Places an entry order with pyramiding, allowing adding to a position in smaller chunks. The implementation is similar to TradingView
src/exchange/bybit/bybit.py:1119
Method
entry
I place an order. Equivalent function to pine's function. https://jp.tradingview.com/study-script-reference/#fun_strategy{dot}entry
src/exchange/ftx/ftx_stub.py:151
Method
entry
places an entry order, works as equivalent to tradingview pine script implementation https://tradingview.com/study-script-reference/#
src/exchange/ftx/ftx.py:465
Method
entry_callback
(order)
src/strategies/ChaserTester.py:116
Method
entry_callback
(avg_price=close[-1])
src/strategies/Sample.py:62
Method
entry_callback
(avg_price=close[-1])
src/strategies/SMA.py:46
Method
entry_pyramiding
Places an entry order with pyramiding, allowing adding to a position in smaller chunks. The implementation is
src/exchange/stub.py:443
Method
entry_pyramiding
Places an entry order with pyramiding, allowing adding to a position in smaller chunks. The implementation is similar to TradingView
src/exchange/binance_futures/binance_futures.py:752
Method
entry_pyramiding
Places an entry order with pyramiding, allowing adding to a position in smaller chunks. The implementation is similar to TradingView
src/exchange/bitmex/bitmex.py:646
Method
entry_pyramiding
Places an entry order with pyramiding, allowing adding to a position in smaller chunks. The implementation is similar to TradingView
src/exchange/bybit/bybit.py:1194
Method
entry_pyramiding
Places an entry order, works as equivalent to tradingview pine script implementation with pyramiding :param id: Order id
src/exchange/ftx/ftx_stub.py:185
Method
entry_pyramiding
places an entry order, works as equivalent to tradingview pine script implementation with pyramiding https://tradingview.com/study-sc
src/exchange/ftx/ftx.py:504
Function
et
(e,t)
html/js/moment.min.js:1
Method
exit
Define profit-taking, stop loss, and trailing settings for an exit strategy.(Independent of sltp()) Args: profit (float):
src/exchange/binance_futures/binance_futures.py:1296
Method
exit
Profit-taking, stop loss, and trailing. If both stop loss and trailing offset are set, trailing_offset takes precedence. Args
src/exchange/bitmex/bitmex.py:830
Method
exit
Profit taking, stop loss, and trailing functionality.(Independent of sltp()) Args: profit (float, optional): Profit targe
src/exchange/bybit/bybit.py:1744
Method
exit
profit taking and stop loss and trailing, if both stop loss and trailing offset are set trailing_offset takes precedence :pa
src/exchange/ftx/ftx.py:654
Method
final_callback
()
src/exchange/binance_futures/binance_futures.py:928
Method
final_callback
()
src/exchange/bybit/bybit.py:1369
Function
first
(l=[])
src/indicators.py:1658
Method
futures_account
Get current account information. WARNING recommend to use v2 version https://binance-docs.github.io/apidocs/futures/en/#account-inform
src/exchange/binance_futures/binance_futures_api.py:793
Method
futures_account_balance
Get futures account balance WARNING recommend to use v2 version https://binance-docs.github.io/apidocs/futures/en/#future-account-bala
src/exchange/binance_futures/binance_futures_api.py:780
Method
futures_account_trades
Get trades for the authenticated account and symbol. https://binance-docs.github.io/apidocs/futures/en/#account-trade-list-user_data
src/exchange/binance_futures/binance_futures_api.py:843
Method
futures_aggregate_trades
Get compressed, aggregate trades. Trades that fill at the time, from the same order, with the same price will have the quantity aggregated.
src/exchange/binance_futures/binance_futures_api.py:425
Method
futures_cancel_orders
Cancel multiple futures orders https://binance-docs.github.io/apidocs/futures/en/#cancel-multiple-orders-trade
src/exchange/binance_futures/binance_futures_api.py:774
Method
futures_change_margin_type
Change the margin type for a symbol https://binance-docs.github.io/apidocs/futures/en/#change-margin-type-trade
src/exchange/binance_futures/binance_futures_api.py:812
Method
futures_change_position_margin
Change the position margin for a symbol https://binance-docs.github.io/apidocs/futures/en/#modify-isolated-position-margin-trade
src/exchange/binance_futures/binance_futures_api.py:818
Method
futures_funding_rate
Get funding rate history https://binance-docs.github.io/apidocs/futures/en/#get-funding-rate-history-market_data
src/exchange/binance_futures/binance_futures_api.py:456
Method
futures_get_all_algo_orders
Query algo order(s) https://binance-docs.github.io/apidocs/futures/en/#query-algo-orders-user_data
src/exchange/binance_futures/binance_futures_api.py:618
Method
futures_get_all_orders
Get all futures account orders; active, canceled, or filled. https://binance-docs.github.io/apidocs/futures/en/#all-orders-user_data
src/exchange/binance_futures/binance_futures_api.py:706
Method
futures_get_order
Check an order's status. Automatically tries both regular and algo order endpoints. https://binance-docs.github.io/apidocs/futures/en/
src/exchange/binance_futures/binance_futures_api.py:624
Method
futures_historical_trades
Get older market historical trades. https://binance-docs.github.io/apidocs/futures/en/#old-trades-lookup-market_data
src/exchange/binance_futures/binance_futures_api.py:419
Method
futures_income_history
Get income history for authenticated account https://binance-docs.github.io/apidocs/futures/en/#get-income-history-user_data
src/exchange/binance_futures/binance_futures_api.py:849
Method
futures_index_price_klines
Kline/candlestick bars for a symbol. Klines are uniquely identified by their open time. https://binance-docs.github.io/apidocs/futures/en/#kli
src/exchange/binance_futures/binance_futures_api.py:438
Method
futures_leverage_bracket
Notional and Leverage Brackets https://binance-docs.github.io/apidocs/futures/en/#notional-and-leverage-brackets-market_data
src/exchange/binance_futures/binance_futures_api.py:492
Method
futures_liquidation_orders
Get all liquidation orders https://binance-docs.github.io/apidocs/futures/en/#get-all-liquidation-orders-market_data
src/exchange/binance_futures/binance_futures_api.py:480
Method
futures_mark_price
Get Mark Price and Funding Rate https://binance-docs.github.io/apidocs/futures/en/#mark-price-market_data
src/exchange/binance_futures/binance_futures_api.py:450
Method
futures_mark_price_klines
Kline/candlestick bars for a symbol. Klines are uniquely identified by their open time. https://binance-docs.github.io/apidocs/futures/en/#kli
src/exchange/binance_futures/binance_futures_api.py:444
Method
futures_open_interest
Get present open interest of a specific symbol. https://binance-docs.github.io/apidocs/futures/en/#open-interest-market_data
src/exchange/binance_futures/binance_futures_api.py:486
Method
futures_order_book
Get the Order Book for the market https://binance-docs.github.io/apidocs/futures/en/#order-book-market_data
src/exchange/binance_futures/binance_futures_api.py:407
Method
futures_ping
Test connectivity to the Rest API https://binance-docs.github.io/apidocs/futures/en/#test-connectivity
src/exchange/binance_futures/binance_futures_api.py:389
Method
futures_position_information
Get position information WARNING recommend to use v2 version https://binance-docs.github.io/apidocs/futures/en/#position-information-u
src/exchange/binance_futures/binance_futures_api.py:830
Method
futures_position_margin_history
Get position margin change history https://binance-docs.github.io/apidocs/futures/en/#get-postion-margin-change-history-trade
src/exchange/binance_futures/binance_futures_api.py:824
Method
futures_recent_trades
Get recent trades (up to last 500). https://binance-docs.github.io/apidocs/futures/en/#recent-trades-list-market_data
src/exchange/binance_futures/binance_futures_api.py:413
Method
futures_ticker
24 hour rolling window price change statistics. https://binance-docs.github.io/apidocs/futures/en/#24hr-ticker-price-change-statistics-market_
src/exchange/binance_futures/binance_futures_api.py:462
Method
futures_time
Test connectivity to the Rest API and get the current server time. https://binance-docs.github.io/apidocs/futures/en/#check-server-time
src/exchange/binance_futures/binance_futures_api.py:395
Function
generate_nonce
()
src/exchange/binance_futures/binance_futures_websocket.py:40
Function
generate_nonce
()
src/exchange/bybit/bybit_websocket.py:20
Function
generate_nonce
()
src/exchange/ftx/ftx_websocket.py:19
Method
get_account_information
Get account information about all types of margin balances, assets, and positions. https://binance-docs.github.io/apidocs/futures/en/
src/exchange/binance_futures/binance_futures.py:363
← previous
next →
601–700 of 922, ranked by callers