MCPcopy Create free account

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

Functions922 in github.com/TheFourGreatErrors/alpha-rptr

↓ 2 callersFunctionget_listenkey
(api_key, api_secret, testnet)
src/exchange/binance_futures/binance_futures_websocket.py:44
↓ 2 callersMethodget_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 callersMethodget_position_avg_price
get average price of the current position :return:
src/exchange/bitmex/bitmex.py:280
↓ 2 callersMethodget_positions
(self, show_avg_price: bool = False)
src/exchange/ftx/ftx_api.py:193
↓ 2 callersMethodget_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 callersFunctionget_unrealized_balance
(price, state)
html/js/main.js:613
↓ 2 callersFunctionkt
(e)
html/js/moment.min.js:1
↓ 2 callersFunctionlast
(l=[])
src/indicators.py:1662
↓ 2 callersMethodlimit_tracker
(self, limit)
src/exchange/bybit/bybit.py:1460
↓ 2 callersFunctionload_backtest
(title)
html/js/main.js:435
↓ 2 callersFunctionload_chart
(chart_data)
html/js/main.js:496
↓ 2 callersFunctionload_trades
(chart_data, order_data)
html/js/main.js:711
↓ 2 callersFunctionlowest
(source, period)
src/indicators.py:1042
↓ 2 callersMethodmodify_conditional_order
( self, order_id: str, order_price: Optional[float] = None, size: Optional[float] = No
src/exchange/ftx/ftx_api.py:111
↓ 2 callersMethodmodify_order
( self, existing_order_id: Optional[str] = None, existing_client_order_id: Optional[str] = Non
src/exchange/ftx/ftx_api.py:95
↓ 2 callersMethodorder
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 callersMethodorder
(self, retry, id, long, qty, limit, stop, post_only, reduce_only, trigger_by, callback)
src/exchange/binance_futures/binance_futures.py:1108
↓ 2 callersMethodping_topic
(self, topic)
src/monitor.py:72
↓ 2 callersFunctionq
(e,t,n)
html/js/moment.min.js:1
↓ 2 callersFunctionqt
(s,i)
html/js/moment.min.js:1
↓ 2 callersMethodregister_callback
(self, topic, callback, timeout_seconds)
src/monitor.py:61
↓ 2 callersMethodremaining_qty
(self)
src/exchange/bybit/bybit.py:1448
↓ 2 callersMethodsave_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 callersMethodsave_csv
(self, data, file)
src/exchange/ftx/ftx_backtest.py:293
↓ 2 callersFunctionservice
()
src/gmail_sub.py:19
↓ 2 callersFunctionset_title
(title)
html/js/main.js:473
↓ 2 callersMethodstop
Function that stops the bot and by default it cancels all orders(optional). Returns: None
src/bot.py:288
↓ 2 callersMethodsub_order_id
(self)
src/exchange/binance_futures/binance_futures.py:1011
↓ 2 callersFunctionvalidate_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 callersFunctionxn
(e)
html/js/moment.min.js:1
↓ 2 callersFunctionxt
(e,t,n,s,i)
html/js/moment.min.js:1
↓ 1 callersFunctionJn
(e,t,n,s)
html/js/moment.min.js:1
↓ 1 callersFunctionKt
(e)
html/js/moment.min.js:1
↓ 1 callersFunctionMt
(e,t,n,s,i,r)
html/js/moment.min.js:1
↓ 1 callersMethod__action
(self, action)
src/strategies/TV.py:56
↓ 1 callersMethod__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 callersMethod__amend_order
Amend order
src/exchange/ftx/ftx.py:425
↓ 1 callersMethod__auth
authenticate
src/exchange/bybit/bybit_websocket.py:119
↓ 1 callersMethod__crawler_run
Get the data and execute the strategy.
src/exchange/ftx/ftx_backtest.py:126
↓ 1 callersMethod__create_socket_app
(self, channel)
src/exchange/binance_futures/binance_futures_websocket.py:129
↓ 1 callersMethod__emit_now
send data
src/exchange/binance_futures/binance_futures_websocket.py:334
↓ 1 callersMethod__get_messages
(self)
src/gmail_sub.py:77
↓ 1 callersMethod__get_wss_endpoint
(self, channel)
src/exchange/binance_futures/binance_futures_websocket.py:103
↓ 1 callersMethod__keep_alive_user_datastream
keep alive user data stream, needs to ping every 60m
src/exchange/binance_futures/binance_futures_websocket.py:206
↓ 1 callersMethod__load_ohlcv
Read the data. :return:
src/exchange/ftx/ftx_backtest.py:339
↓ 1 callersMethod__market_streams
(self)
src/exchange/binance_futures/binance_futures_websocket.py:95
↓ 1 callersMethod__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 callersMethod__normalize_payload
(self, message)
src/exchange/binance_futures/binance_futures_websocket.py:259
↓ 1 callersMethod__on_close
On Close Listener :param ws:
src/exchange/binance_futures/binance_futures_websocket.py:341
↓ 1 callersMethod__on_error
On Error listener :param ws: :param message:
src/exchange/binance_futures/binance_futures_websocket.py:241
↓ 1 callersMethod__on_message
On Message listener :param ws: :param message: :return:
src/exchange/binance_futures/binance_futures_websocket.py:264
↓ 1 callersMethod__private_events
(self)
src/exchange/binance_futures/binance_futures_websocket.py:100
↓ 1 callersMethod__public_streams
(self)
src/exchange/binance_futures/binance_futures_websocket.py:92
↓ 1 callersMethod__restart_socket
(self, channel)
src/exchange/binance_futures/binance_futures_websocket.py:189
↓ 1 callersMethod__start_all_sockets
(self)
src/exchange/binance_futures/binance_futures_websocket.py:167
↓ 1 callersMethod__start_dispatcher
(self)
src/exchange/binance_futures/binance_futures_websocket.py:171
↓ 1 callersMethod_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 callersMethod_create_api_uri
(self, path, signed=True, version=PUBLIC_API_VERSION)
src/exchange/binance_futures/binance_futures_api.py:151
↓ 1 callersMethod_create_futures_api_uri
(self, path, v2)
src/exchange/binance_futures/binance_futures_api.py:164
↓ 1 callersMethod_create_margin_api_uri
(self, path)
src/exchange/binance_futures/binance_futures_api.py:158
↓ 1 callersMethod_create_website_uri
(self, path)
src/exchange/binance_futures/binance_futures_api.py:161
↓ 1 callersMethod_create_withdraw_api_uri
(self, path)
src/exchange/binance_futures/binance_futures_api.py:155
↓ 1 callersMethod_generate_signature
(self, data)
src/exchange/binance_futures/binance_futures_api.py:170
↓ 1 callersMethod_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 callersMethod_init_session
(self)
src/exchange/binance_futures/binance_futures_api.py:134
↓ 1 callersMethod_post
(self, path, signed=False, version=PUBLIC_API_VERSION, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:342
↓ 1 callersMethod_process_response
(self, response: Response)
src/exchange/ftx/ftx_api.py:48
↓ 1 callersMethod_put
(self, path, signed=False, version=PUBLIC_API_VERSION, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:345
↓ 1 callersMethod_request_margin_api
(self, method, path, signed=False, **kwargs)
src/exchange/binance_futures/binance_futures_api.py:246
↓ 1 callersMethod_sign_request
(self, request: Request)
src/exchange/ftx/ftx_api.py:35
↓ 1 callersMethodamend_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 callersFunctionapply_order_state
(state, order)
html/js/main.js:619
↓ 1 callersFunctionatr
Average True Range
src/indicators.py:369
↓ 1 callersFunctionbuild_unrealized_balance_lines
(chart_data, orders_by_time)
html/js/main.js:548
↓ 1 callersMethodcancel_all
Cancel all open orders for the trading pair.
src/exchange/binance_futures/binance_futures.py:509
↓ 1 callersMethodcancel_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 callersMethodcancel_all
cancel the current orders
src/exchange/ftx/ftx_stub.py:113
↓ 1 callersMethodcancel_order
(self, order_id: str = None, client_id: str = None)
src/exchange/ftx/ftx_api.py:165
↓ 1 callersFunctioncci
(high, low, close, period)
src/indicators.py:573
↓ 1 callersMethodcheck_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 callersMethodcheck_candles
Check for missing candles
src/exchange/ftx/ftx_backtest.py:249
↓ 1 callersMethodclose_all
Close all positions. This function closes all open positions in the stub trading account. Args: callback (funct
src/exchange/backtest.py:151
↓ 1 callersMethodclose_all
Close all positions
src/exchange/ftx/ftx_backtest.py:107
↓ 1 callersMethodcreate
This Function creates the bot. :param args: stratergy's args. :return: Bot
src/factory.py:13
↓ 1 callersFunctioncredentials
()
src/gmail_sub.py:14
↓ 1 callersFunctiond
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 callersFunctiondate_link
(date)
html/js/main.js:511
↓ 1 callersMethodentry_position_size
(self, balance, price)
src/strategies/ChaserTester.py:43
↓ 1 callersFunctionestimate_max_losing_streak
(trades, loss_rate)
html/js/main.js:650
↓ 1 callersMethodeval_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 callersMethodeval_exit
Evaluate the profit target, stop loss, and trailing conditions for triggering an exit.
src/exchange/binance_futures/binance_futures.py:1418
↓ 1 callersMethodeval_exit
Evaluation of stop loss and profit target - different mechanism than sltp() and eval_sltp()
src/exchange/ftx/ftx_stub.py:403
↓ 1 callersMethodeval_exit
evalution of profit target and stop loss and trailing
src/exchange/ftx/ftx.py:716
↓ 1 callersMethodeval_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 callersMethodeval_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 callersMethodeval_sltp
evaluate simple profit target and stop loss
src/exchange/ftx/ftx_stub.py:444
↓ 1 callersMethodeval_sltp
evaluate simple profit target and stop loss
src/exchange/ftx/ftx.py:753
↓ 1 callersFunctionewma
Calculate Exponentially Weighted Moving Average (EWMA) using Pandas. Args: data (list or numpy array): Input data for calculating EWM
src/indicators.py:857
↓ 1 callersFunctionfe
(e,t)
html/js/moment.min.js:1
↓ 1 callersFunctionformat_profit_factor
(gross_profit, gross_loss)
html/js/main.js:635
← previousnext →301–400 of 922, ranked by callers