MCPcopy Create free account

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

Functions922 in github.com/TheFourGreatErrors/alpha-rptr

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
Functionadx
This function calculates the Average Directional Index (ADX) using TA-Lib.
src/indicators.py:488
Methodamend_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
Functionautocorrelation
(data)
src/indicators.py:1164
Functionavg_price
Also found in tradingview as ohlc4 source
src/indicators.py:1053
Functionbbands
(source, timeperiod=5, nbdevup=2, nbdevdn=2, matype=0)
src/indicators.py:889
Functionbessel_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
Functionbessel_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
Functionbrownian_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
Functionbrownian_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
Methodcancel
(self)
src/exchange/binance_futures/binance_futures.py:1092
Methodcancel
(self)
src/exchange/bybit/bybit.py:1521
Methodcancel_conditional_order
(self, order_id: str)
src/exchange/ftx/ftx_api.py:171
Methodcancel_conditional_order
Cancel a specific conditional order by id :param id: id of the order :return: result
src/exchange/ftx/ftx.py:331
Functioncir_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
Methodclose_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
Methodclose_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
Methodclose_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
Methodclose_partial
src/exchange/ftx/ftx_stub.py:274
Functioncn
(e,t,n,s,i)
html/js/moment.min.js:1
Methodcommit
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
Methodcommit
Commit :param id: order :param long: long or short :param qty: quantity :param price: price :param ne
src/exchange/ftx/ftx_backtest.py:91
Functioncompute_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
Functiondecimal_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
Functiondema
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
Methodderegister_callback
(self, topic)
src/monitor.py:66
Functiondetrended_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
Functiondi_minus
This function calculates the Minus Directional Indicator (-DI) using TA-Lib.
src/indicators.py:502
Functiondi_plus
This function calculates the Plus Directional Indicator (+DI) using TA-Lib.
src/indicators.py:495
Functiondonchian
Indicator: Donchian Channels (DC)
src/indicators.py:893
Functiondouble_ema
(src, length)
src/indicators.py:726
Methoddownload_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
Methoddownload_data
download or get amd return ohlcv data
src/exchange/bybit/bybit_backtest.py:73
Functione
(e,t)
html/js/moment.min.js:1
Methodentry
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
Methodentry
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
Methodentry
         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
Methodentry
places an entry order, works as equivalent to tradingview pine script implementation https://tradingview.com/study-script-reference/#
src/exchange/ftx/ftx.py:465
Methodentry_callback
(order)
src/strategies/ChaserTester.py:116
Methodentry_callback
(avg_price=close[-1])
src/strategies/Sample.py:62
Methodentry_callback
(avg_price=close[-1])
src/strategies/SMA.py:46
Methodentry_pyramiding
Places an entry order with pyramiding, allowing adding to a position in smaller chunks. The implementation is
src/exchange/stub.py:443
Methodentry_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
Methodentry_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
Methodentry_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
Methodentry_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
Methodentry_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
Functionet
(e,t)
html/js/moment.min.js:1
Methodexit
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
Methodexit
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
Methodexit
Profit taking, stop loss, and trailing functionality.(Independent of sltp()) Args: profit (float, optional): Profit targe
src/exchange/bybit/bybit.py:1744
Methodexit
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
Methodfinal_callback
()
src/exchange/binance_futures/binance_futures.py:928
Methodfinal_callback
()
src/exchange/bybit/bybit.py:1369
Functionfirst
(l=[])
src/indicators.py:1658
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Methodfutures_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
Functiongenerate_nonce
()
src/exchange/binance_futures/binance_futures_websocket.py:40
Functiongenerate_nonce
()
src/exchange/bybit/bybit_websocket.py:20
Functiongenerate_nonce
()
src/exchange/ftx/ftx_websocket.py:19
Methodget_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
← previousnext →601–700 of 922, ranked by callers