MCPcopy Create free account

hub / github.com/50shadesofgwei/funding-rate-arbitrage / functions

Functions502 in github.com/50shadesofgwei/funding-rate-arbitrage

↓ 14 callersFunctionis_transaction_hash
(tx_hash)
GlobalUtils/globalUtils.py:202
↓ 7 callersFunctionget_percentage_away_from_liquidation_price
(position: dict)
PositionMonitor/Master/MasterPositionMonitorUtils.py:37
↓ 5 callersMethodcalculate_new_funding_velocity
(cls, symbol: str, absolute_trade_size_usd: float, is_long: bool, open_interest: dict)
GlobalUtils/MarketDirectories/GMXMarketDirectory.py:116
↓ 5 callersFunctionget_dict_from_database_response
(response)
PositionMonitor/Master/MasterPositionMonitorUtils.py:16
↓ 5 callersMethodget_funding_rate
(self, position: dict)
PositionMonitor/GMX/GMXPositionMonitor.py:53
↓ 5 callersFunctionget_open_position_for_exchange
(exchange: str)
PositionMonitor/Master/MasterPositionMonitorUtils.py:82
↓ 5 callersFunctionprint_stats
Print the statistics in a formatted way. Args: service_name (str): The name of the service. stats (dict): The statistics dic
test/caller_perf.py:88
↓ 5 callersFunctiontime_request
Time the request function and return statistics. Args: create_client_func (Callable[[], Any]): The function to create a client.
test/caller_perf.py:23
↓ 4 callersFunctionadjust_trade_size_for_direction
(trade_size: float, is_long: bool)
GlobalUtils/globalUtils.py:139
↓ 4 callersFunctionget_adjusted_size
(size: float, is_long: bool)
MatchingEngine/profitabilityChecks/checkProfitabilityUtils.py:3
↓ 4 callersFunctionget_market_for_symbol
(symbol: str)
TxExecution/HMX/HMXPositionControllerUtils.py:6
↓ 4 callersMethodget_market_id
(cls, symbol: str)
GlobalUtils/MarketDirectories/SynthetixMarketDirectory.py:82
↓ 4 callersMethodget_open_positions
(self)
TxExecution/GMX/GMXPositionController.py:191
↓ 4 callersMethodget_open_positions
(self)
TxExecution/Perennial/PerennialPositionController.py:174
↓ 4 callersFunctionget_target_tokens_for_OKX
()
APICaller/master/MasterUtils.py:77
↓ 4 callersMethodinitialize
(cls)
GlobalUtils/MarketDirectories/GMXMarketDirectory.py:17
↓ 4 callersFunctionnormalize_symbol
(symbol: str)
GlobalUtils/globalUtils.py:136
↓ 3 callersMethod_calculate_average_funding_rate
(self, period_days: int, rates: list, blocks_per_sample=1)
Backtesting/Synthetix/SynthetixBacktester.py:271
↓ 3 callersMethod_calculate_average_funding_rate_for_period
(self, period_days: int, rates: list)
Backtesting/Binance/binanceBacktester.py:56
↓ 3 callersMethodclose_position_pair
(self, symbol: str, reason: str, exchanges: list)
TxExecution/Master/MasterPositionController.py:82
↓ 3 callersMethodget_default_account
(self)
TxExecution/Synthetix/SynthetixPositionController.py:274
↓ 3 callersMethodget_market_key_for_symbol
(cls, symbol: str)
GlobalUtils/MarketDirectories/GMXMarketDirectory.py:252
↓ 3 callersMethodget_open_position
(self)
PositionMonitor/GMX/GMXPositionMonitor.py:18
↓ 3 callersFunctionget_price_coingecko
(symbol)
GlobalUtils/globalUtils.py:260
↓ 3 callersFunctionget_target_exchanges
()
APICaller/master/MasterUtils.py:38
↓ 3 callersFunctionget_target_tokens_for_binance
()
APICaller/master/MasterUtils.py:69
↓ 3 callersMethodis_already_position_open
(self)
TxExecution/HMX/HMXPositionController.py:145
↓ 3 callersFunctionset_paths
()
APICaller/GMX/GMXCallerUtils.py:32
↓ 2 callersMethod_add_collateral
(self, amount: int)
TxExecution/Synthetix/SynthetixPositionController.py:151
↓ 2 callersMethod_approve_spot_market_to_spend_collateral
(self, token_address: str, amount: int)
TxExecution/Synthetix/SynthetixPositionController.py:188
↓ 2 callersMethod_was_trade_executed_successfully
(self, order_id: str)
TxExecution/ByBit/ByBitPositionController.py:186
↓ 2 callersFunctionapply_factor
(value, factor)
TxExecution/GMX/GMXGetLiqPrice.py:147
↓ 2 callersFunctioncalculate_daily_funding_velocity
(symbol: str, skew_usd: float)
APICaller/HMX/HMXCallerUtils.py:12
↓ 2 callersFunctioncalculate_new_funding_velocity_perennial
(symbol: str, trade_size_usd: float, is_long: bool)
MatchingEngine/profitabilityChecks/Perennial/PerennialProfitabilityChecks.py:7
↓ 2 callersMethodcheck_for_accounts
(self)
TxExecution/Synthetix/SynthetixPositionController.py:287
↓ 2 callersMethodcreate_or_access_database
(self)
PositionMonitor/TradeDatabase/TradeDatabase.py:23
↓ 2 callersMethodestimate_profit_for_exchange
(self, time_period_hours: float, size_usd: float, opportunity: dict, exchange: str)
MatchingEngine/profitabilityChecks/checkProfitability.py:93
↓ 2 callersMethodfind_delta_neutral_arbitrage_opportunities
(self, funding_rates)
MatchingEngine/MatchingEngine.py:68
↓ 2 callersMethodfind_most_profitable_opportunity
(self, opportunities: list, is_demo: bool)
MatchingEngine/profitabilityChecks/checkProfitability.py:31
↓ 2 callersFunctionget_arbitrum_usdc_balance_global
()
GlobalUtils/globalUtils.py:240
↓ 2 callersMethodget_available_collateral_for_exchange
(self, exchange: str)
TxExecution/Master/MasterPositionController.py:126
↓ 2 callersMethodget_available_markets
(self)
APICaller/HMX/HMXCaller.py:86
↓ 2 callersFunctionget_base_block_number
()
GlobalUtils/globalUtils.py:169
↓ 2 callersFunctionget_claimable_funding_amount
(market: str, token: str, account: str)
APICaller/GMX/GMXContractUtils.py:370
↓ 2 callersFunctionget_decimals_for_symbol
(symbol)
GlobalUtils/globalUtils.py:65
↓ 2 callersMethodget_funding_interval_for_symbol
(self, symbol: str)
APICaller/ByBit/ByBitCaller.py:94
↓ 2 callersMethodget_funding_rates
(self, symbols: list)
APICaller/GMX/GMXCaller.py:12
↓ 2 callersMethodget_historical_funding_rate_for_symbol
(self, symbol: str, limit: int)
APICaller/Okx/okxCaller.py:47
↓ 2 callersFunctionget_index_token_address_for_symbol
(symbol)
APICaller/GMX/GMXContractUtils.py:248
↓ 2 callersMethodget_maker_taker_fee
(cls, symbol: str, skew_usd: float, is_long: bool, absolute_size_usd: float)
GlobalUtils/MarketDirectories/SynthetixMarketDirectory.py:146
↓ 2 callersMethodget_maker_taker_fee
(cls, symbol: str, skew_usd: float, is_long: bool, absolute_size_usd: float)
GlobalUtils/MarketDirectories/GMXMarketDirectory.py:322
↓ 2 callersMethodget_market_params
(cls, symbol: str)
GlobalUtils/MarketDirectories/SynthetixMarketDirectory.py:68
↓ 2 callersMethodget_market_params
(cls, symbol: str)
GlobalUtils/MarketDirectories/GMXMarketDirectory.py:221
↓ 2 callersMethodget_next_funding_events_for_time_period
(self, symbol: str, time_period_hours: int)
APICaller/Okx/okxCaller.py:59
↓ 2 callersFunctionget_perps_contract
()
Backtesting/Synthetix/SynthetixBacktesterUtils.py:23
↓ 2 callersMethodget_position_object_from_response
(self, response)
TxExecution/Binance/BinancePositionController.py:119
↓ 2 callersMethodget_position_object_from_response
(self, response)
TxExecution/OKX/OKXPositionController.py:191
↓ 2 callersFunctionget_positions_for_all_markets
()
TxExecution/Perennial/PerennialPositionControllerUtils.py:21
↓ 2 callersFunctionget_side
(side: str)
TxExecution/OKX/OKXPositionControllerUtils.py:76
↓ 2 callersFunctionget_symbol_for_market_address
(market_address: str)
APICaller/Perennial/perennialCallerUtils.py:17
↓ 2 callersFunctionget_target_tokens_for_synthetix
()
APICaller/master/MasterUtils.py:85
↓ 2 callersFunctionget_threshold_for_decrease_funding
(market: str)
APICaller/GMX/GMXContractUtils.py:331
↓ 2 callersMethodget_value
(self)
APICaller/ByBit/ByBitUtils.py:12
↓ 2 callersMethodget_value
(self)
APICaller/Synthetix/SynthetixUtils.py:16
↓ 2 callersFunctioninitialise_client
()
GlobalUtils/globalUtils.py:68
↓ 2 callersMethodis_already_position_open
(self)
TxExecution/Master/MasterPositionController.py:166
↓ 2 callersMethodis_near_liquidation_price
(self, position: dict)
PositionMonitor/GMX/GMXPositionMonitor.py:40
↓ 2 callersMethodis_order_filled
(self, order_id: int, symbol: str)
TxExecution/Binance/BinancePositionController.py:155
↓ 2 callersMethodis_order_filled
(self, order_id: int, symbol: str)
TxExecution/OKX/OKXPositionController.py:230
↓ 2 callersMethodload_data_from_json
(self, symbol: str)
Backtesting/Binance/binanceBacktester.py:168
↓ 2 callersFunctionminCollateralFactorKey
(market: str)
APICaller/GMX/GMXContractUtils.py:65
↓ 2 callersMethodsearch_for_opportunities
(self)
Main/main_class_demo.py:22
↓ 2 callersMethodsearch_for_opportunities
(self)
Main/main_class.py:28
↓ 2 callersFunctionsetup_topics
()
GlobalUtils/logger.py:26
↓ 2 callersFunctionthreshold_for_stable_funding_key
(market: str)
APICaller/GMX/GMXContractUtils.py:89
↓ 1 callersMethod_analyze_opportunities
(self, sorted_keys: list, nested_dict: dict, open_interest_data: dict)
APICaller/GMX/GMXCaller.py:41
↓ 1 callersMethod_approve_collateral_for_perps_market_proxy
(self, amount: int)
TxExecution/Synthetix/SynthetixPositionController.py:204
↓ 1 callersMethod_calculate_net_rates
(self, borrow_data: dict, funding_data: dict)
APICaller/GMX/GMXCaller.py:106
↓ 1 callersMethod_collect_data_raw
(self)
APICaller/GMX/GMXCaller.py:122
↓ 1 callersMethod_create_account
(self)
TxExecution/Synthetix/SynthetixPositionController.py:165
↓ 1 callersMethod_create_nested_dict
(self, available_liquidity: dict, net_rate_dict: dict)
APICaller/GMX/GMXCaller.py:84
↓ 1 callersMethod_execute_atomic_order
(self, amount: int, side: str)
TxExecution/Synthetix/SynthetixPositionController.py:229
↓ 1 callersMethod_fetch_funding_rate_data
(self, symbol: str)
APICaller/ByBit/ByBitCaller.py:10
↓ 1 callersMethod_fetch_funding_rate_for_symbol
(self, symbol: str)
APICaller/Binance/binanceCaller.py:52
↓ 1 callersMethod_fetch_funding_rate_for_symbol
(self, symbol: str)
APICaller/Okx/okxCaller.py:83
↓ 1 callersMethod_filter_market_data
(self, all_market_data: dict, symbols: list)
APICaller/HMX/HMXCaller.py:32
↓ 1 callersMethod_filter_market_data
(self, funding_rate_data: dict, symbols: list, snapshots: dict)
APICaller/Perennial/perennialCaller.py:43
↓ 1 callersMethod_filter_market_data
(self, markets_by_name, symbols)
APICaller/Synthetix/SynthetixCaller.py:18
↓ 1 callersMethod_get_average_duration_above_mean
(self, rates: list, mean: float)
Backtesting/Binance/binanceBacktester.py:81
↓ 1 callersMethod_get_average_duration_above_mean
(self, rates: list, mean: float)
Backtesting/Synthetix/SynthetixBacktester.py:99
↓ 1 callersMethod_get_current_out_of_bounds_streak
(self, mean: float, data: list)
Backtesting/Binance/binanceBacktester.py:66
↓ 1 callersMethod_get_current_out_of_bounds_streak
(self, mean: float, rates: list)
Backtesting/Synthetix/SynthetixBacktester.py:133
↓ 1 callersMethod_get_current_rate_data
(self, rates: list)
Backtesting/Synthetix/SynthetixBacktester.py:81
↓ 1 callersMethod_get_long_short_ratio
(self, market_summary)
Backtesting/Synthetix/SynthetixBacktester.py:249
↓ 1 callersMethod_get_open_interest
(self, symbol: str)
Backtesting/Binance/binanceBacktester.py:132
↓ 1 callersMethod_get_open_interest_usd_with_differential
(self, symbol)
Backtesting/Binance/binanceBacktester.py:113
↓ 1 callersMethod_get_open_interest_usd_with_differential
(self, symbol)
Backtesting/Synthetix/SynthetixBacktester.py:161
↓ 1 callersMethod_get_past_month_average_rate
(self, rates: list)
Backtesting/Binance/binanceBacktester.py:48
↓ 1 callersMethod_get_past_month_average_rate
(self, rates: list)
Backtesting/Synthetix/SynthetixBacktester.py:262
↓ 1 callersMethod_get_past_week_average_rate
(self, rates: list)
Backtesting/Binance/binanceBacktester.py:44
next →1–100 of 502, ranked by callers