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
↓ 2 callers
Function
get_listenkey
(api_key, api_secret, testnet)
src/exchange/binance_futures/binance_futures_websocket.py:44
↓ 2 callers
Method
get_orderbook_ticker
Get the latest symbol (trading pair) information. Args: symbol (str): If provided, it will return information for the spe
src/exchange/bybit/bybit.py:578
↓ 2 callers
Method
get_position_avg_price
get average price of the current position :return:
src/exchange/bitmex/bitmex.py:280
↓ 2 callers
Method
get_positions
(self, show_avg_price: bool = False)
src/exchange/ftx/ftx_api.py:193
↓ 2 callers
Method
get_profit
Get the profit for the current position. Args: close (float): The closing price. avg_entry_price (float): The
src/exchange/bybit/bybit.py:545
↓ 2 callers
Function
get_unrealized_balance
(price, state)
html/js/main.js:613
↓ 2 callers
Function
kt
(e)
html/js/moment.min.js:1
↓ 2 callers
Function
last
(l=[])
src/indicators.py:1662
↓ 2 callers
Method
limit_tracker
(self, limit)
src/exchange/bybit/bybit.py:1460
↓ 2 callers
Function
load_backtest
(title)
html/js/main.js:435
↓ 2 callers
Function
load_chart
(chart_data)
html/js/main.js:496
↓ 2 callers
Function
load_trades
(chart_data, order_data)
html/js/main.js:711
↓ 2 callers
Function
lowest
(source, period)
src/indicators.py:1042
↓ 2 callers
Method
modify_conditional_order
( self, order_id: str, order_price: Optional[float] = None, size: Optional[float] = No
src/exchange/ftx/ftx_api.py:111
↓ 2 callers
Method
modify_order
( self, existing_order_id: Optional[str] = None, existing_client_order_id: Optional[str] = Non
src/exchange/ftx/ftx_api.py:95
↓ 2 callers
Method
order
Place an order. This function places an order for the trading pair with the given parameters in the stub trading account. Fo
src/exchange/stub.py:246
↓ 2 callers
Method
order
(self, retry, id, long, qty, limit, stop, post_only, reduce_only, trigger_by, callback)
src/exchange/binance_futures/binance_futures.py:1108
↓ 2 callers
Method
ping_topic
(self, topic)
src/monitor.py:72
↓ 2 callers
Function
q
(e,t,n)
html/js/moment.min.js:1
↓ 2 callers
Function
qt
(s,i)
html/js/moment.min.js:1
↓ 2 callers
Method
register_callback
(self, topic, callback, timeout_seconds)
src/monitor.py:61
↓ 2 callers
Method
remaining_qty
(self)
src/exchange/bybit/bybit.py:1448
↓ 2 callers
Method
save_csv
Save data to a CSV file. This function saves the provided data to a CSV file. Args: data (pd.DataFrame): The da
src/exchange/backtest.py:374
↓ 2 callers
Method
save_csv
(self, data, file)
src/exchange/ftx/ftx_backtest.py:293
↓ 2 callers
Function
service
()
src/gmail_sub.py:19
↓ 2 callers
Function
set_title
(title)
html/js/main.js:473
↓ 2 callers
Method
stop
Function that stops the bot and by default it cancels all orders(optional). Returns: None
src/bot.py:288
↓ 2 callers
Method
sub_order_id
(self)
src/exchange/binance_futures/binance_futures.py:1011
↓ 2 callers
Function
validate_continuous
Validates whether the data is continuous based on the bin size. Args: data (pandas.DataFrame): The data to be validated. bin
src/__init__.py:327
↓ 2 callers
Function
xn
(e)
html/js/moment.min.js:1
↓ 2 callers
Function
xt
(e,t,n,s,i)
html/js/moment.min.js:1
↓ 1 callers
Function
Jn
(e,t,n,s)
html/js/moment.min.js:1
↓ 1 callers
Function
Kt
(e)
html/js/moment.min.js:1
↓ 1 callers
Function
Mt
(e,t,n,s,i,r)
html/js/moment.min.js:1
↓ 1 callers
Method
__action
(self, action)
src/strategies/TV.py:56
↓ 1 callers
Method
__amend_order
Amend an existing order. This function is designed to amend an existing order based on the provided order ID. The order is v
src/exchange/bybit/bybit.py:1061
↓ 1 callers
Method
__amend_order
Amend order
src/exchange/ftx/ftx.py:425
↓ 1 callers
Method
__auth
authenticate
src/exchange/bybit/bybit_websocket.py:119
↓ 1 callers
Method
__crawler_run
Get the data and execute the strategy.
src/exchange/ftx/ftx_backtest.py:126
↓ 1 callers
Method
__create_socket_app
(self, channel)
src/exchange/binance_futures/binance_futures_websocket.py:129
↓ 1 callers
Method
__emit_now
send data
src/exchange/binance_futures/binance_futures_websocket.py:334
↓ 1 callers
Method
__get_messages
(self)
src/gmail_sub.py:77
↓ 1 callers
Method
__get_wss_endpoint
(self, channel)
src/exchange/binance_futures/binance_futures_websocket.py:103
↓ 1 callers
Method
__keep_alive_user_datastream
keep alive user data stream, needs to ping every 60m
src/exchange/binance_futures/binance_futures_websocket.py:206
↓ 1 callers
Method
__load_ohlcv
Read the data. :return:
src/exchange/ftx/ftx_backtest.py:339
↓ 1 callers
Method
__market_streams
(self)
src/exchange/binance_futures/binance_futures_websocket.py:95
↓ 1 callers
Method
__new_order
Create an order. This function is used to create a new order with the given parameters. Depending on the provided parameters
src/exchange/bybit/bybit.py:858
↓ 1 callers
Method
__normalize_payload
(self, message)
src/exchange/binance_futures/binance_futures_websocket.py:259
↓ 1 callers
Method
__on_close
On Close Listener :param ws:
src/exchange/binance_futures/binance_futures_websocket.py:341
↓ 1 callers
Method
__on_error
On Error listener :param ws: :param message:
src/exchange/binance_futures/binance_futures_websocket.py:241
↓ 1 callers
Method
__on_message
On Message listener :param ws: :param message: :return:
src/exchange/binance_futures/binance_futures_websocket.py:264
↓ 1 callers
Method
__private_events
(self)
src/exchange/binance_futures/binance_futures_websocket.py:100
↓ 1 callers
Method
__public_streams
(self)
src/exchange/binance_futures/binance_futures_websocket.py:92
↓ 1 callers
Method
__restart_socket
(self, channel)
src/exchange/binance_futures/binance_futures_websocket.py:189
↓ 1 callers
Method
__start_all_sockets
(self)
src/exchange/binance_futures/binance_futures_websocket.py:167
↓ 1 callers
Method
__start_dispatcher
(self)
src/exchange/binance_futures/binance_futures_websocket.py:171
↓ 1 callers
Method
_create_algo_order
Internal method to create algo orders. Maps regular order params to algo order format.
src/exchange/binance_futures/binance_futures_api.py:519
↓ 1 callers
Method
_create_api_uri
(self, path, signed=True, version=PUBLIC_API_VERSION)
src/exchange/binance_futures/binance_futures_api.py:151
↓ 1 callers
Method
_create_futures_api_uri
(self, path, v2)
src/exchange/binance_futures/binance_futures_api.py:164
↓ 1 callers
Method
_create_margin_api_uri
(self, path)
src/exchange/binance_futures/binance_futures_api.py:158
↓ 1 callers
Method
_create_website_uri
(self, path)
src/exchange/binance_futures/binance_futures_api.py:161
↓ 1 callers
Method
_create_withdraw_api_uri
(self, path)
src/exchange/binance_futures/binance_futures_api.py:155
↓ 1 callers
Method
_generate_signature
(self, data)
src/exchange/binance_futures/binance_futures_api.py:170
↓ 1 callers
Method
_handle_response
Internal helper for handling API responses from the Binance server. Raises the appropriate exceptions when necessary; otherwise, returns t
src/exchange/binance_futures/binance_futures_api.py:261
↓ 1 callers
Method
_init_session
(self)
src/exchange/binance_futures/binance_futures_api.py:134
↓ 1 callers
Method
_post
(self, path, signed=False, version=PUBLIC_API_VERSION, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:342
↓ 1 callers
Method
_process_response
(self, response: Response)
src/exchange/ftx/ftx_api.py:48
↓ 1 callers
Method
_put
(self, path, signed=False, version=PUBLIC_API_VERSION, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:345
↓ 1 callers
Method
_request_margin_api
(self, method, path, signed=False, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:246
↓ 1 callers
Method
_sign_request
(self, request: Request)
src/exchange/ftx/ftx_api.py:35
↓ 1 callers
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/bybit/bybit.py:1020
↓ 1 callers
Function
apply_order_state
(state, order)
html/js/main.js:619
↓ 1 callers
Function
atr
Average True Range
src/indicators.py:369
↓ 1 callers
Function
build_unrealized_balance_lines
(chart_data, orders_by_time)
html/js/main.js:548
↓ 1 callers
Method
cancel_all
Cancel all open orders for the trading pair.
src/exchange/binance_futures/binance_futures.py:509
↓ 1 callers
Method
cancel_all
Cancel all orders for this pair. Args: only_active (bool): If True, cancel only active orders. only_condition
src/exchange/bybit/bybit.py:645
↓ 1 callers
Method
cancel_all
cancel the current orders
src/exchange/ftx/ftx_stub.py:113
↓ 1 callers
Method
cancel_order
(self, order_id: str = None, client_id: str = None)
src/exchange/ftx/ftx_api.py:165
↓ 1 callers
Function
cci
(high, low, close, period)
src/indicators.py:573
↓ 1 callers
Method
check_candles
Check for missing candles in the historical OHLC data. This function checks for missing candles and duplicate candles in the provide
src/exchange/backtest.py:322
↓ 1 callers
Method
check_candles
Check for missing candles
src/exchange/ftx/ftx_backtest.py:249
↓ 1 callers
Method
close_all
Close all positions. This function closes all open positions in the stub trading account. Args: callback (funct
src/exchange/backtest.py:151
↓ 1 callers
Method
close_all
Close all positions
src/exchange/ftx/ftx_backtest.py:107
↓ 1 callers
Method
create
This Function creates the bot. :param args: stratergy's args. :return: Bot
src/factory.py:13
↓ 1 callers
Function
credentials
()
src/gmail_sub.py:14
↓ 1 callers
Function
d
Calculate a custom metric to quantify the "disorder" or "inefficiency" of the data. Args: src (list or numpy array): The input data s
src/indicators.py:1666
↓ 1 callers
Function
date_link
(date)
html/js/main.js:511
↓ 1 callers
Method
entry_position_size
(self, balance, price)
src/strategies/ChaserTester.py:43
↓ 1 callers
Function
estimate_max_losing_streak
(trades, loss_rate)
html/js/main.js:650
↓ 1 callers
Method
eval_exit
Evaluate exit conditions. This function evaluates the exit conditions for the current position in the stub trading account.
src/exchange/stub.py:669
↓ 1 callers
Method
eval_exit
Evaluate the profit target, stop loss, and trailing conditions for triggering an exit.
src/exchange/binance_futures/binance_futures.py:1418
↓ 1 callers
Method
eval_exit
Evaluation of stop loss and profit target - different mechanism than sltp() and eval_sltp()
src/exchange/ftx/ftx_stub.py:403
↓ 1 callers
Method
eval_exit
evalution of profit target and stop loss and trailing
src/exchange/ftx/ftx.py:716
↓ 1 callers
Method
eval_sltp
Evaluate stop loss and take profit. This function evaluates the stop loss and take profit levels for the current position in the stu
src/exchange/stub.py:717
↓ 1 callers
Method
eval_sltp
Evaluate and execute the simple take profit and stop loss implementation. - Sends a reduce-only stop loss order upon entering a posit
src/exchange/binance_futures/binance_futures.py:1460
↓ 1 callers
Method
eval_sltp
evaluate simple profit target and stop loss
src/exchange/ftx/ftx_stub.py:444
↓ 1 callers
Method
eval_sltp
evaluate simple profit target and stop loss
src/exchange/ftx/ftx.py:753
↓ 1 callers
Function
ewma
Calculate Exponentially Weighted Moving Average (EWMA) using Pandas. Args: data (list or numpy array): Input data for calculating EWM
src/indicators.py:857
↓ 1 callers
Function
fe
(e,t)
html/js/moment.min.js:1
↓ 1 callers
Function
format_profit_factor
(gross_profit, gross_loss)
html/js/main.js:635
← previous
next →
301–400 of 922, ranked by callers