MCPcopy Create free account

hub / github.com/LeonardoBerti00/DeepMarket / functions

Functions739 in github.com/LeonardoBerti00/DeepMarket

↓ 1 callersMethodcancelOrders
(self)
ABIDES/agent/OrderBookImbalanceAgent.py:174
↓ 1 callersMethodcancelOrders
(self)
ABIDES/agent/ZeroIntelligenceAgent.py:311
↓ 1 callersMethodcancelOrders
(self)
ABIDES/agent/examples/QLearningAgent.py:203
↓ 1 callersMethodcancelOrders
(self)
ABIDES/agent/execution/ExecutionAgent.py:101
↓ 1 callersFunctioncheck_both_int
(a, b)
ABIDES/util/make_grid.py:7
↓ 1 callersFunctioncheck_dates_valid
(start_date, end_date)
ABIDES/util/formatting/prepare_dow_data_for_plotting.py:48
↓ 1 callersFunctionclamp
(value, min_value, max_value)
evaluation/quantitative_eval/predictive_lstm.py:14
↓ 1 callersMethodcombineWeights
(self)
ABIDES/agent/examples/crypto/PPFL_ServiceAgent.py:137
↓ 1 callersMethodcompute
(self, df)
ABIDES/realism/metrics/metric.py:8
↓ 1 callersMethodcomputeMidPriceMovingAverages
Returns the short-window and long-window moving averages of mid price. :return:
ABIDES/agent/examples/ExampleExperimentalAgent.py:116
↓ 1 callersMethodcomputeOrdersToPlace
Given a mid price, computes the orders that need to be removed from orderbook, and adds these orders to bid and ask deques. :par
ABIDES/agent/market_makers/POVMarketMakerAgent.py:146
↓ 1 callersMethodcomputeOrdersToPlace
Given a mid price, computes the orders that need to be removed from orderbook, and adds these orders to bid and ask deques. :par
ABIDES/agent/market_makers/AdaptiveMarketMakerAgent.py:235
↓ 1 callersMethodcomputeOrdersToPlace
Given a mid price, computes the orders that need to be removed from orderbook, and adds these orders to bid and ask deques. :par
ABIDES/agent/market_makers/SpreadBasedMarketMakerAgent.py:166
↓ 1 callersMethodcomputeRequiredPrice
(self, direction, shares, known_bids, known_asks)
ABIDES/agent/OrderBookImbalanceAgent.py:154
↓ 1 callersMethodcomputeRequiredPrice
(self, direction, shares)
ABIDES/agent/examples/ShockAgent.py:139
↓ 1 callersMethodcomputeRequiredPrice
(self, direction, shares)
ABIDES/agent/examples/ImpactAgent.py:129
↓ 1 callersFunctioncompute_impact_statistics
Computes dictionary of run statistics for comparison. :param orderbook_df: preprocessed orderbook (see __name__.make_orderbook_for_analysis)
ABIDES/realism/realism_utils.py:255
↓ 1 callersFunctioncompute_prd
Computes the PRD curve for discrete distributions. This function computes the PRD curve for the discrete distribution eval_dist with respect to t
utils/utils.py:164
↓ 1 callersFunctionconcat_horizontal
Concats a pd.Series object to a pd.DataFrame horizontally. They need to each have a DatetimeIndex
ABIDES/realism/impact_multiday_pov.py:216
↓ 1 callersFunctioncount_trades_within_bins
Bins trades into specified-width bins and counts the number. :param interarrival_times_series: pandas Series object corresponding to the int
ABIDES/realism/order_flow_stylized_facts.py:169
↓ 1 callersFunctioncreate_orderbooks
(exchange_path, ob_path)
ABIDES/realism/market_impact/abm_market_impact.py:11
↓ 1 callersFunctioncreate_orderbooks
Creates orderbook DataFrames from ABIDES exchange output file and orderbook output file.
ABIDES/util/plotting/liquidity_telemetry.py:35
↓ 1 callersFunctioncubic_pow
Helper function: returns *real* cube root of a float
ABIDES/util/util.py:39
↓ 1 callersFunctiondataframe_from_experiment_statistics
(expt_name, expt_stat)
ABIDES/util/simulation_run_stats.py:75
↓ 1 callersFunctiondataframe_from_path
(expt_path)
ABIDES/util/simulation_run_stats.py:92
↓ 1 callersMethodddim_sample
(self, x_0, cond_orders, cond_lob)
models/diffusers/gaussian_diffusion.py:91
↓ 1 callersMethodddim_single_step
(self, x_t_aug, cond_lob, cond_orders, ts, index, x_t)
models/diffusers/gaussian_diffusion.py:108
↓ 1 callersMethodddpm_sample
(self, x_0, cond_orders, cond_lob, weights)
models/diffusers/gaussian_diffusion.py:127
↓ 1 callersMethoddecideBasket
(self)
ABIDES/agent/etf/EtfMarketMakerAgent.py:144
↓ 1 callersMethoddelay
(self, additionalDelay)
ABIDES/agent/Agent.py:162
↓ 1 callersMethoddelayAgent
(self, sender = None, additionalDelay = None)
ABIDES/Kernel.py:461
↓ 1 callersFunctiondistances2radii
(distances, k=3)
utils/utils.py:359
↓ 1 callersFunctiondow_data_to_pickle
Saves files of the form orders_{symbol}_{date}.pkl
ABIDES/util/formatting/prepare_dow_data_for_plotting.py:61
↓ 1 callersMethoddump_shares
(self)
ABIDES/contributed_traders/SimpleAgent.py:44
↓ 1 callersMethodenterOrder
(self, order)
ABIDES/util/OrderBook.py:272
↓ 1 callersMethodexecuteOrder
(self, order)
ABIDES/util/OrderBook.py:190
↓ 1 callersFunctionextract_events_from_stream
Extracts specific event from stream.
ABIDES/util/formatting/convert_order_stream.py:8
↓ 1 callersFunctionfinalise_processing
Clip to requested level and fill NaNs according to LOBSTER spec.
ABIDES/util/formatting/convert_order_book.py:91
↓ 1 callersMethodforward_reparametrized
Reparametrized forward diffusion process, takes in input x_0 and returns x_t after t steps of noise x_t(x_0, ϵ) = √(α̅_t)x_0 + √(1 -
models/diffusers/DiffusionAB.py:26
↓ 1 callersMethodgenerateOrderId
(self)
ABIDES/util/order/Order.py:44
↓ 1 callersMethodgenerate_fundamental_value_series
(self, symbol, r_bar, kappa, sigma_s)
ABIDES/util/oracle/MeanRevertingOracle.py:49
↓ 1 callersFunctiongenerate_plot_data_cache_dicts
Generates data structure containing information about ABIDES output paths and experimental parameters, for downstream processing :param
ABIDES/realism/impact_multiday_pov.py:82
↓ 1 callersFunctiongenerate_random_tuples
(list_of_lists, num_samples, seed)
ABIDES/util/random_search.py:7
↓ 1 callersMethodgenerate_schedule
(self)
ABIDES/agent/execution/VWAPExecutionAgent.py:25
↓ 1 callersMethodgenerate_schedule
(self)
ABIDES/agent/execution/TWAPExecutionAgent.py:27
↓ 1 callersMethodgetAgentComputeDelay
(self, sender = None)
ABIDES/Kernel.py:430
↓ 1 callersMethodgetCurrentMidPrice
Retrieve mid price from most recent subscription data. :return:
ABIDES/agent/examples/ExampleExperimentalAgent.py:90
↓ 1 callersMethodgetCurrentSpread
(self)
ABIDES/agent/examples/ImpactAgent.py:152
↓ 1 callersMethodgetEtfNav
(self)
ABIDES/agent/etf/EtfMarketMakerAgent.py:226
↓ 1 callersMethodgetInterpolatedPrice
Get the price at current_time, linearly interpolated between price_low and price_high measured at times time_low and time_high
ABIDES/util/oracle/ExternalFileOracle.py:107
↓ 1 callersMethodgetKnownBidAskMidpoint
(self, symbol)
ABIDES/agent/TradingAgent.py:615
↓ 1 callersMethodgetLastTrade
(self)
ABIDES/agent/examples/ShockAgent.py:158
↓ 1 callersMethodgetLastTrade
(self)
ABIDES/agent/examples/ImpactAgent.py:147
↓ 1 callersMethodgetLatestTrade
(self, symbol, currentTime)
ABIDES/util/oracle/DataOracle.py:88
↓ 1 callersMethodgetOrderStream
(self, symbol, length=1)
ABIDES/agent/TradingAgent.py:282
↓ 1 callersMethodgetWakeFrequency
(self)
ABIDES/contributed_traders/SimpleAgent.py:77
↓ 1 callersMethodgetWakeFrequency
(self)
ABIDES/agent/ValueAgent.py:259
↓ 1 callersMethodgetWakeFrequency
(self)
ABIDES/agent/FundamentalTrackingAgent.py:63
↓ 1 callersMethodgetWakeFrequency
(self)
ABIDES/agent/examples/MomentumAgent.py:73
↓ 1 callersMethodgetWakeFrequency
Set next wakeup time for agent.
ABIDES/agent/examples/ExampleExperimentalAgent.py:44
↓ 1 callersMethodgetWakeFrequency
Get time increment corresponding to wakeup period.
ABIDES/agent/market_makers/POVMarketMakerAgent.py:188
↓ 1 callersMethodgetWakeFrequency
(self)
ABIDES/agent/market_makers/MarketMakerAgent.py:129
↓ 1 callersMethodgetWakeFrequency
Get time increment corresponding to wakeup period.
ABIDES/agent/market_makers/SpreadBasedMarketMakerAgent.py:275
↓ 1 callersMethodgetWakeFrequency
(self)
ABIDES/agent/execution/POVExecutionAgent.py:50
↓ 1 callersFunctiongetWeights
getWeights initializes a logistic regresssion model with the average weights from the previous iteration, then trains the model using mini-ba
ABIDES/util/crypto/logReg.py:12
↓ 1 callersFunctionget_daily_spread
Get mean spread for the day's trading. :param orderbook_df: preprocessed orderbook (see __name__.make_orderbook_for_analysis) for data witho
ABIDES/realism/realism_utils.py:172
↓ 1 callersFunctionget_date_range
https://stackoverflow.com/a/7274316
ABIDES/util/formatting/prepare_dow_data_for_plotting.py:54
↓ 1 callersFunctionget_execution_agent_vwap
Function computes the VWAP for an execution agent's orders, when ran from the `execution_iabs_plots` config. :param experiment_name: name fo
ABIDES/realism/realism_utils.py:221
↓ 1 callersFunctionget_experiment_statistics
(expt_path)
ABIDES/util/simulation_run_stats.py:53
↓ 1 callersFunctionget_file
(fname)
ABIDES/contributed_traders/util.py:4
↓ 1 callersFunctionget_larger_int_and_gap
(a, b)
ABIDES/util/formatting/convert_order_book.py:15
↓ 1 callersMethodget_latency
LatencyModel.get_latency() samples and returns the final latency for a single Message according to the model specified during initialization.
ABIDES/model/LatencyModel.py:113
↓ 1 callersFunctionget_ohlcvs
(sim_dirs, recompute)
ABIDES/realism/asset_returns_stylized_facts.py:49
↓ 1 callersFunctionget_plot_linestyles
https://matplotlib.org/3.1.1/gallery/lines_bars_and_markers/linestyles.html
ABIDES/realism/realism_utils.py:314
↓ 1 callersFunctionget_relevant_prices
(orderbook_df, orderbook_with_execution_df, start_ts, end_ts)
ABIDES/realism/realism_utils.py:208
↓ 1 callersFunctionget_run_statistics
(lines)
ABIDES/util/simulation_run_stats.py:26
↓ 1 callersFunctionget_scatter_plot_params_dict
Creates dictionary of parameters used by intraday seasonality plots.
ABIDES/realism/order_flow_stylized_facts.py:258
↓ 1 callersFunctionget_sims
(sim_dir, my_metric, ohlcv_dict)
ABIDES/realism/asset_returns_stylized_facts.py:35
↓ 1 callersFunctionget_trades
(sim_file)
ABIDES/realism/realism_utils.py:22
↓ 1 callersFunctionget_value_from_timestamp
Get the value of s corresponding to closest datetime to ts. :param s: pandas Series with pd.DatetimeIndex :type s: pd.Series
ABIDES/util/util.py:71
↓ 1 callersMethodhandleMarketData
Handles Market Data messages for agents using subscription mechanism
ABIDES/agent/TradingAgent.py:503
↓ 1 callersMethodhandleMarketOrder
(self, order)
ABIDES/util/OrderBook.py:159
↓ 1 callersMethodhandleOrderAcceptance
(self, currentTime, msg)
ABIDES/agent/execution/POVExecutionAgent.py:75
↓ 1 callersMethodhandleOrderAcceptance
(self, currentTime, msg)
ABIDES/agent/execution/ExecutionAgent.py:77
↓ 1 callersMethodhandleOrderExecution
(self, currentTime, msg)
ABIDES/agent/execution/POVExecutionAgent.py:81
↓ 1 callersMethodhandleOrderExecution
(self, currentTime, msg)
ABIDES/agent/execution/ExecutionAgent.py:64
↓ 1 callersMethodinitialiseBidsAsksDeques
Initialise the current_bids and current_asks object attributes, which internally keep track of the limit orders sent to the Exchange.
ABIDES/agent/market_makers/SpreadBasedMarketMakerAgent.py:242
↓ 1 callersMethodisMatch
(self, order, o)
ABIDES/util/OrderBook.py:258
↓ 1 callersMethodisSameOrder
(self, order, new_order)
ABIDES/util/OrderBook.py:493
↓ 1 callersMethodkernelInitializing
(self, kernel)
ABIDES/agent/Agent.py:53
↓ 1 callersMethodkernelStarting
(self, startTime)
ABIDES/agent/Agent.py:65
↓ 1 callersMethodkernelStopping
(self)
ABIDES/agent/Agent.py:80
↓ 1 callersMethodkernelTerminating
(self)
ABIDES/agent/Agent.py:87
↓ 1 callersFunctionload_compute_normalization_terms
(stock_name, data_dir, model, n_lob_levels)
utils/utils_data.py:163
↓ 1 callersFunctionload_fundamental
Retrives fundamental path from orderbook path.
ABIDES/util/plotting/liquidity_telemetry.py:245
↓ 1 callersMethodload_fundamentals
Method extracts fundamentals for each symbol into DataFrames. Note that input files must be of the form generated by util/formatting/mid_
ABIDES/util/oracle/ExternalFileOracle.py:18
↓ 1 callersMethodlogOrderBookSnapshots
Log full depth quotes (price, volume) from this order book at some pre-determined frequency. Here we are looking at the actual log for this o
ABIDES/agent/ExchangeAgent.py:316
↓ 1 callersFunctionmain
Loads a plot config file for a single day POV market impact experiment and plots the result. :param config_path: 'Name of config file to execute
ABIDES/realism/impact_single_day_pov.py:207
↓ 1 callersFunctionmain
Computes aggregated statistics (median) across multiple market impact experiments and saves the result. :param path_glob: Glob pattern for p
ABIDES/realism/execution_aggregate_statistics.py:8
↓ 1 callersFunctionmain
Load config file for multiday POV market impact experiment and draws plots, doing necessary data processing if necessary. :param config_path: pa
ABIDES/realism/impact_multiday_pov.py:410
← previousnext →201–300 of 739, ranked by callers