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
↓ 1 callers
Method
futures_account_balance_v2
Get futures account balance v2 https://binance-docs.github.io/apidocs/futures/en/#futures-account-balance-v2-user_data
src/exchange/binance_futures/binance_futures_api.py:787
↓ 1 callers
Method
futures_account_v2
Get current account information v2 https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
src/exchange/binance_futures/binance_futures_api.py:800
↓ 1 callers
Method
futures_cancel_algo_order
Cancel an algo order https://binance-docs.github.io/apidocs/futures/en/#cancel-an-algo-order-trade
src/exchange/binance_futures/binance_futures_api.py:594
↓ 1 callers
Method
futures_cancel_all_algo_orders
Cancel all open algo orders https://binance-docs.github.io/apidocs/futures/en/#cancel-all-open-algo-orders-trade
src/exchange/binance_futures/binance_futures_api.py:600
↓ 1 callers
Method
futures_cancel_all_open_orders
Cancel all open futures orders. Cancels both regular and algo open orders. https://binance-docs.github.io/apidocs/futures/en/#cancel-a
src/exchange/binance_futures/binance_futures_api.py:740
↓ 1 callers
Method
futures_cancel_order
Cancel an active futures order. Automatically tries both regular and algo order endpoints. https://binance-docs.github.io/apidocs/futu
src/exchange/binance_futures/binance_futures_api.py:712
↓ 1 callers
Method
futures_change_leverage
Change user's initial leverage of specific symbol market https://binance-docs.github.io/apidocs/futures/en/#change-initial-leverage-trade
src/exchange/binance_futures/binance_futures_api.py:806
↓ 1 callers
Method
futures_create_algo_order
Place an algo order https://binance-docs.github.io/apidocs/futures/en/#place-an-algo-order-trade
src/exchange/binance_futures/binance_futures_api.py:588
↓ 1 callers
Method
futures_exchange_info
Current exchange trading rules and symbol information https://binance-docs.github.io/apidocs/futures/en/#exchange-information-market_data
src/exchange/binance_futures/binance_futures_api.py:401
↓ 1 callers
Method
futures_get_algo_order
Query an algo order https://binance-docs.github.io/apidocs/futures/en/#query-an-algo-order-user_data
src/exchange/binance_futures/binance_futures_api.py:606
↓ 1 callers
Method
futures_get_open_algo_orders
Query algo open order(s) https://binance-docs.github.io/apidocs/futures/en/#query-algo-open-orders-user_data
src/exchange/binance_futures/binance_futures_api.py:612
↓ 1 callers
Method
futures_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:432
↓ 1 callers
Method
futures_orderbook_ticker
Best price/qty on the order book for a symbol or symbols. https://binance-docs.github.io/apidocs/futures/en/#symbol-order-book-ticker-market_d
src/exchange/binance_futures/binance_futures_api.py:474
↓ 1 callers
Method
futures_position_information_v2
Get position information v2 https://binance-docs.github.io/apidocs/futures/en/#position-information-v2-user_data
src/exchange/binance_futures/binance_futures_api.py:837
↓ 1 callers
Method
futures_symbol_ticker
Latest price for a symbol or symbols. https://binance-docs.github.io/apidocs/futures/en/#symbol-price-ticker-market_data
src/exchange/binance_futures/binance_futures_api.py:468
↓ 1 callers
Function
generate_nonce
()
src/exchange/bitmex/bitmex_websocket.py:18
↓ 1 callers
Function
generate_signature
Generate a request signature compatible with BitMEX.
src/exchange/bitmex/bitmex_websocket.py:22
↓ 1 callers
Method
generate_signature
(self, secret, verb, url, nonce, data)
src/exchange/bitmex/bitmex_api.py:38
↓ 1 callers
Method
get_available_balance
Get the available balance for the specified asset, considering that some might already be used as collateral for margin. Args
src/exchange/binance_futures/binance_futures.py:299
↓ 1 callers
Method
get_available_balance
Get the available balance for the specified asset, considering that some might already be used as collateral for margin. Args
src/exchange/bybit/bybit.py:385
↓ 1 callers
Function
get_backtest_link
(title)
html/js/main.js:488
↓ 1 callers
Method
get_commission
Get the commission rate. Returns: float: The commission rate.
src/exchange/binance_futures/binance_futures.py:501
↓ 1 callers
Method
get_commission
Get the commission. Returns: float: The commission value.
src/exchange/bybit/bybit.py:637
↓ 1 callers
Method
get_futures
(self, market: str)
src/exchange/ftx/ftx_api.py:59
↓ 1 callers
Method
get_historical_prices
(self, market: str, resolution: int, limit: int, start_time: int, end_time: int)
src/exchange/ftx/ftx_api.py:74
↓ 1 callers
Method
get_launch_date
Get the launch date of this pair Args: None Returns: datetime: The launch date of this pair
src/exchange/bybit/bybit.py:286
↓ 1 callers
Method
get_leverage
Get the leverage for the specified symbol. Args: symbol (str): The symbol for which leverage should be retrieved. If not
src/exchange/bybit/bybit.py:428
↓ 1 callers
Function
get_load_trades
(chart_data)
html/js/main.js:500
↓ 1 callers
Function
get_message_detail
(id, user_id)
src/gmail_sub.py:33
↓ 1 callers
Function
get_messages_list
(user_id, from_address, after)
src/gmail_sub.py:24
↓ 1 callers
Method
get_open_conditional_orders
Get order or opene conditional orders for this instrument :return:
src/exchange/ftx/ftx.py:622
↓ 1 callers
Method
get_open_order
Get an open order by its ID. Args: id (str): Order ID for this pair. Returns: dict or N
src/exchange/stub.py:212
↓ 1 callers
Method
get_open_orders
(self, market: str = None)
src/exchange/ftx/ftx_api.py:80
↓ 1 callers
Method
get_orderbook
Get the orderbook L1, including the best bid and best ask prices and qantity.
src/exchange/bybit/bybit.py:607
↓ 1 callers
Method
get_orderbook_ticker
Get the ticker data for the order book. Returns: data: Ticker data for the order book.
src/exchange/binance_futures/binance_futures.py:1287
↓ 1 callers
Method
get_pnl
Get the profit and loss calculation in percentage. Returns: float: The profit and loss calculation in percentage.
src/exchange/bybit/bybit.py:535
↓ 1 callers
Method
get_position_avg_price
get average price of the current position :return:
src/exchange/ftx/ftx.py:226
↓ 1 callers
Method
get_retain_rate
Get the maintenance margin rate. Returns: float: The maintenance margin rate (e.g., 0.004 represents 0.4%).
src/exchange/binance_futures/binance_futures.py:243
↓ 1 callers
Method
get_retain_rate
Get the maintenance margin rate. Returns: float: The maintenance margin rate (e.g., 0.004 represents 0.4%).
src/exchange/bitmex/bitmex.py:192
↓ 1 callers
Method
get_retain_rate
Get the maintenance margin rate. Returns: float: The maintenance margin rate (e.g., 0.004 represents 0.4%).
src/exchange/bybit/bybit.py:297
↓ 1 callers
Function
get_strategy_code
()
html/js/main.js:994
↓ 1 callers
Function
get_swagger_json
(spec_uri, exclude_formats=[])
src/exchange/bitmex/bitmex_api.py:85
↓ 1 callers
Method
get_symbol_information
get latest symbol(trading pair) information :param symbol: if provided it will return information for the specific symbol otherwise,
src/exchange/bitmex/bitmex.py:307
↓ 1 callers
Function
get_title
()
html/js/main.js:480
↓ 1 callers
Function
get_unrealized_percent_title
(series_data)
html/js/main.js:100
↓ 1 callers
Function
ht
(e,t)
html/js/moment.min.js:1
↓ 1 callers
Function
hurst_exponent
Calculate the Hurst exponent using the R/S method. Args: data (numpy.ndarray or list): The input time series data. Returns:
src/indicators.py:286
↓ 1 callers
Method
initialize
(self)
src/strategies/CandleTesterMult.py:36
↓ 1 callers
Method
limit_tracker
(self, limit)
src/exchange/binance_futures/binance_futures.py:1031
↓ 1 callers
Method
list_markets
(self)
src/exchange/ftx/ftx_api.py:65
↓ 1 callers
Function
load_backtest_link
(event, title)
html/js/main.js:386
↓ 1 callers
Function
load_data
(chart_data, order_data)
html/js/main.js:452
↓ 1 callers
Method
log_balance
(self)
src/exchange/binance_futures/binance_futures.py:2053
↓ 1 callers
Method
log_balance
(self)
src/exchange/bybit/bybit.py:2259
↓ 1 callers
Function
macd
Calculate the Moving Average Convergence Divergence (MACD) using TA-Lib. Args: close (list or array-like): The close price time serie
src/indicators.py:509
↓ 1 callers
Function
med_price
Also found in tradingview as hl2 source
src/indicators.py:1046
↓ 1 callers
Function
modal_dialog
(title, content, button, callback)
html/js/main.js:290
↓ 1 callers
Method
ohlcv_len
Get the length of the OHLC data used by the strategy. Returns: int: The length of the OHLC data.
src/bot.py:107
↓ 1 callers
Function
onVisibleLogicalRangeChanged
(range)
html/js/main.js:952
↓ 1 callers
Method
on_message
(self, callback)
src/gmail_sub.py:57
↓ 1 callers
Method
options
Function to get values for parameter optimization.
src/bot.py:101
↓ 1 callers
Function
ord
Calculate the ordinal rank of a given element in a sorted sequence. Args: seq (list or numpy array): The input unsorted data sequence
src/indicators.py:1003
↓ 1 callers
Function
ot
(e)
html/js/moment.min.js:1
↓ 1 callers
Method
params_search
Function to search for parameters. Returns: None
src/bot.py:155
↓ 1 callers
Method
ping_ws
Pings the remote server on public websocket to keep it alive
src/exchange/bybit/bybit_websocket.py:236
↓ 1 callers
Method
ping_wsp
Pings the remote server on public websocket to keep it alive
src/exchange/bybit/bybit_websocket.py:243
↓ 1 callers
Function
query_yes_no
Ask a yes/no question via raw_input() and return their answer. "question" is a string that is presented to the user. "default" is the presume
src/__init__.py:167
↓ 1 callers
Method
remaining_qty
(self)
src/exchange/binance_futures/binance_futures.py:1021
↓ 1 callers
Method
run
Function to run the bot. Returns: None
src/bot.py:217
↓ 1 callers
Function
s
(e)
html/js/moment.min.js:1
↓ 1 callers
Function
sar
Calculate the Parabolic Stop and Reverse (SAR) indicator using the default parameters. Args: high (list or array-like): The high pric
src/indicators.py:24
↓ 1 callers
Method
security
Recalculate and obtain data of a timeframe higher than the current chart timeframe without looking into the furute that would cause undesired
src/exchange/ftx/ftx.py:894
↓ 1 callers
Method
set_from_address
(self, address)
src/gmail_sub.py:54
↓ 1 callers
Method
set_leverage
Set the leverage for the specified symbol. Args: leverage (float): The leverage to set. symbol (str, optional
src/exchange/binance_futures/binance_futures.py:346
↓ 1 callers
Method
set_session
Set the session object for session persistence. Args: session (Session): The session object to be set.
src/bot.py:92
↓ 1 callers
Function
sharpe_ratio
Calculates the Sharpe ratio given a list of returns. Args: returns (list or array-like): List of decimal returns. risk_free_r
src/indicators.py:1682
↓ 1 callers
Function
show_metrics_info
()
html/js/main.js:665
↓ 1 callers
Method
show_result
Show results
src/exchange/ftx/ftx.py:1126
↓ 1 callers
Method
sltp
simple profit target triggered upon entering a position :param profit_long: profit target value in % for longs :param profit_
src/exchange/ftx/ftx.py:674
↓ 1 callers
Method
stats
(self, status="FILLED")
src/exchange/binance_futures/binance_futures.py:1063
↓ 1 callers
Method
stats
(self, status="FILLED")
src/exchange/bybit/bybit.py:1492
↓ 1 callers
Function
stdev
Calculate the rolling standard deviation of a time series data. Args: source (list or pandas.Series): The time series data for which
src/indicators.py:390
↓ 1 callers
Method
stop
Stop the WebSocket data streams. This function stops the WebSocket data streams and closes the connection with the exchange.
src/exchange/binance_futures/binance_futures.py:2194
↓ 1 callers
Method
stop
Stop the crawler
src/exchange/bitmex/bitmex.py:1394
↓ 1 callers
Method
stop
Stop the WebSocket data streams. This function stops the WebSocket data streams and closes the connection with the exchange.
src/exchange/bybit/bybit.py:2660
↓ 1 callers
Method
stop
Stop the crawler
src/exchange/ftx/ftx.py:1118
↓ 1 callers
Method
stream_get_listen_key
Start a new user data stream and return the listen key If a stream already exists it should return the same key. If the stream becomes
src/exchange/binance_futures/binance_futures_api.py:353
↓ 1 callers
Method
sync
Synchronize BinanceFutures instance with the current position, position size, entry price, market price, and margin.
src/exchange/binance_futures/binance_futures.py:209
↓ 1 callers
Method
sync
Synchronize BitMEX instance with the current position, position size, entry price, market price, margin best bid and best ask.
src/exchange/bitmex/bitmex.py:166
↓ 1 callers
Method
sync
Synchronize Bybit instance with the current position, position size, entry price and market price.
src/exchange/bybit/bybit.py:264
Function
At
()
html/js/moment.min.js:1
Function
Ct
(e)
html/js/moment.min.js:1
Function
He
()
html/js/moment.min.js:1
Function
Kn
()
html/js/moment.min.js:1
Function
MAX
(close, period)
src/indicators.py:1082
Function
Qe
()
html/js/moment.min.js:1
Function
Ue
(e)
html/js/moment.min.js:1
Function
Xe
()
html/js/moment.min.js:1
Method
__call__
(self)
src/exchange/binance_futures/binance_futures.py:916
Method
__call__
(self)
src/exchange/bybit/bybit.py:1357
← previous
next →
401–500 of 922, ranked by callers