Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Learn-Algorithmic-Trading
/ functions
Functions
248 in github.com/PacktPublishing/Learn-Algorithmic-Trading
⨍
Functions
248
◇
Types & classes
35
↓ 14 callers
Method
handle_order
(self,o)
Chapter7/OrderBook.py:61
↓ 9 callers
Method
get
(self, quoteID)
Chapter8/fixsim/fixsim/server.py:117
↓ 8 callers
Function
zscore
(series)
Chapter4/ch4_pairs_correlation_real_symbol.py:53
↓ 8 callers
Function
zscore
(series)
Chapter4/ch4_pairs_correlation.py:29
↓ 6 callers
Function
call_if_not_empty
(deq, fun)
Chapter9/eventbasedbacktester.py:13
↓ 5 callers
Method
get
(self, quoteID)
Chapter8/fixsim/fixsim/client.py:51
↓ 5 callers
Method
handle_input_from_market
(self)
Chapter7/OrderManager.py:61
↓ 5 callers
Method
handle_order_from_gateway
(self,order = None)
Chapter7/OrderBook.py:52
↓ 5 callers
Method
handle_response_from_om
(self)
Chapter7/TradingStrategy.py:100
↓ 5 callers
Method
sendToTarget
(self, message, sessionID)
Chapter8/fixsim/fixsim/server.py:237
↓ 4 callers
Method
generate
(self)
Chapter8/fixsim/fixsim/server.py:142
↓ 4 callers
Method
getTime
(self)
Chapter9/simulatedclock.py:10
↓ 4 callers
Method
handle_book_event
(self,book_event)
Chapter7/TradingStrategy.py:81
↓ 4 callers
Method
handle_market_response
(self, order_execution)
Chapter7/TradingStrategy.py:106
↓ 4 callers
Method
handle_order_from_trading_strategy
(self,order)
Chapter7/OrderManager.py:37
↓ 3 callers
Method
handle_book_event
(self,book_event)
Chapter9/TradingStrategyDualMA.py:136
↓ 3 callers
Method
handle_input_from_bb
(self,book_event=None)
Chapter7/TradingStrategy.py:72
↓ 3 callers
Method
handle_input_from_ts
(self)
Chapter7/OrderManager.py:30
↓ 3 callers
Method
handle_order_from_gw
(self)
Chapter7/MarketSimulator.py:17
↓ 3 callers
Function
plot_rolling_statistics_ts
(ts, titletext,ytext, window_size=12)
Chapter2/seasonality.py:53
↓ 3 callers
Method
process_order
(self,order)
Chapter9/simulatedclock.py:7
↓ 3 callers
Method
sendMarketDataReject
(self, requestID, reason, sessionID)
Chapter8/fixsim/fixsim/server.py:307
↓ 2 callers
Method
__init__
(self)
Chapter8/fixsim/fixsim/client.py:130
↓ 2 callers
Method
__init__
(self, side, price, size)
Chapter8/fixsim/fixsim/server.py:17
↓ 2 callers
Method
__iter__
(self)
Chapter8/fixsim/fixsim/server.py:114
↓ 2 callers
Method
add
(self, subscription)
Chapter8/fixsim/fixsim/server.py:65
↓ 2 callers
Method
addQuote
(self, quote)
Chapter8/fixsim/fixsim/server.py:134
↓ 2 callers
Function
average
(lst)
Chapter9/forloopbacktester.py:32
↓ 2 callers
Function
average
(lst)
Chapter9/TradingStrategyDualMA.py:4
↓ 2 callers
Function
create_fix_version
(config)
Chapter8/fixsim/fixsim/sim.py:121
↓ 2 callers
Function
create_logger
(config)
Chapter8/fixsim/fixsim/sim.py:79
↓ 2 callers
Method
create_order
(self,book_event,quantity,side)
Chapter9/TradingStrategyDualMA.py:83
↓ 2 callers
Method
execution
(self)
Chapter7/TradingStrategy.py:49
↓ 2 callers
Method
execution
(self)
Chapter9/TradingStrategyDualMA.py:102
↓ 2 callers
Method
fill_all_orders
(self,ratio = 100)
Chapter7/MarketSimulator.py:24
↓ 2 callers
Method
find_order_in_a_list
(self,o,lookup_list = None)
Chapter7/OrderBook.py:101
↓ 2 callers
Method
generate
(self)
Chapter8/fixsim/fixsim/sim.py:61
↓ 2 callers
Method
get_list
(self,o)
Chapter7/OrderBook.py:81
↓ 2 callers
Method
get_pnl
(self)
Chapter7/TradingStrategy.py:114
↓ 2 callers
Method
insert_manual_order
(self,order)
Chapter7/LiquidityProvider.py:19
↓ 2 callers
Function
load_yaml
(path)
Chapter8/fixsim/fixsim/sim.py:114
↓ 2 callers
Method
process_events
(self)
Chapter9/eventbasedbacktester.py:62
↓ 2 callers
Method
read_tick_data_from_data_source
(self)
Chapter7/LiquidityProvider.py:26
↓ 2 callers
Method
reqID
(self)
Chapter8/fixsim/fixsim/client.py:67
↓ 2 callers
Method
run
(self)
Chapter9/omstimeout.py:13
↓ 2 callers
Method
send_order
(self)
Chapter9/omstimeout.py:28
↓ 2 callers
Function
syslog_logger
()
Chapter8/fixsim/fixsim/sim.py:83
↓ 2 callers
Method
test_handlenew
(self)
Chapter7/OrderBook_ut.py:10
↓ 2 callers
Method
test_receive_order_from_trading_strategy
(self)
Chapter7/OrderManager_ut.py:10
↓ 2 callers
Method
test_receive_top_of_book
(self)
Chapter7/TradingStrategy_ut.py:11
↓ 2 callers
Function
test_stationarity
(timeseries)
Chapter2/seasonality.py:73
↓ 1 callers
Method
__init__
(self,sim_real_clock)
Chapter9/omstimeout.py:22
↓ 1 callers
Method
__init__
(self)
Chapter8/fixsim/fixsim/sim.py:58
↓ 1 callers
Method
__iter__
(self)
Chapter8/fixsim/fixsim/client.py:48
↓ 1 callers
Method
__repr__
(self)
Chapter8/fixsim/fixsim/server.py:24
↓ 1 callers
Method
_normalise
(self, bid, ask)
Chapter8/fixsim/fixsim/server.py:109
↓ 1 callers
Method
_onInit
(self)
Chapter8/fixsim/fixsim/server.py:214
↓ 1 callers
Method
_sort
(self, bid, ask)
Chapter8/fixsim/fixsim/server.py:104
↓ 1 callers
Method
add
(self, subscription)
Chapter8/fixsim/fixsim/client.py:28
↓ 1 callers
Method
addAsk
(self, quote)
Chapter8/fixsim/fixsim/client.py:118
↓ 1 callers
Method
addBid
(self, quote)
Chapter8/fixsim/fixsim/client.py:114
↓ 1 callers
Method
addSession
(self, sessionID)
Chapter8/fixsim/fixsim/server.py:48
↓ 1 callers
Method
buy_sell_or_hold_something
(self,price_update)
Chapter9/forloopbacktester.py:66
↓ 1 callers
Method
buy_sell_or_hold_something
(self, book_event)
Chapter9/TradingStrategyDualMA.py:57
↓ 1 callers
Function
calculate_return
(df, split_value, symbol)
Chapter3/ridge.py:61
↓ 1 callers
Function
calculate_return
(df, split_value, symbol)
Chapter3/lr.py:61
↓ 1 callers
Function
calculate_return
(df,split_value,symbol)
Chapter3/ch3_logistic.py:46
↓ 1 callers
Function
calculate_return
(df,split_value,symbol)
Chapter3/ch3_svc.py:54
↓ 1 callers
Function
calculate_return
(df, split_value, symbol)
Chapter3/lasso.py:61
↓ 1 callers
Function
calculate_return
(df,split_value,symbol)
Chapter3/ch3_knn.py:48
↓ 1 callers
Function
calculate_strategy_return
(df, split_value, symbol)
Chapter3/ridge.py:68
↓ 1 callers
Function
calculate_strategy_return
(df, split_value, symbol)
Chapter3/lr.py:68
↓ 1 callers
Function
calculate_strategy_return
(df,split_value)
Chapter3/ch3_logistic.py:51
↓ 1 callers
Function
calculate_strategy_return
(df,split_value)
Chapter3/ch3_svc.py:59
↓ 1 callers
Function
calculate_strategy_return
(df, split_value, symbol)
Chapter3/lasso.py:68
↓ 1 callers
Function
calculate_strategy_return
(df,split_value)
Chapter3/ch3_knn.py:53
↓ 1 callers
Method
check_generate_top_of_book_event
(self)
Chapter7/OrderBook.py:19
↓ 1 callers
Method
check_order_valid
(self,order)
Chapter7/OrderManager.py:11
↓ 1 callers
Method
clean_traded_orders
(self)
Chapter7/OrderManager.py:52
↓ 1 callers
Method
createOrderBook
(self)
Chapter8/fixsim/fixsim/server.py:36
↓ 1 callers
Function
create_acceptor
(acceptor_config, simulation_config)
Chapter8/fixsim/fixsim/server.py:164
↓ 1 callers
Method
create_book_event
(self,bid,offer)
Chapter7/OrderBook.py:10
↓ 1 callers
Function
create_initiator
(initiator_config, simulation_config)
Chapter8/fixsim/fixsim/client.py:71
↓ 1 callers
Method
create_metrics_out_of_prices
(self,price_update)
Chapter9/forloopbacktester.py:50
↓ 1 callers
Method
create_metrics_out_of_prices
(self,price_update)
Chapter9/TradingStrategyDualMA.py:41
↓ 1 callers
Method
create_new_order
(self,order)
Chapter7/OrderManager.py:18
↓ 1 callers
Method
create_orders
(self,book_event,quantity)
Chapter7/TradingStrategy.py:14
↓ 1 callers
Function
create_regression_trading_condition
(df)
Chapter3/ridge.py:26
↓ 1 callers
Function
create_regression_trading_condition
(df)
Chapter3/lr.py:26
↓ 1 callers
Function
create_regression_trading_condition
(df)
Chapter3/lasso.py:26
↓ 1 callers
Function
create_regression_trading_condition
(df)
Chapter3/scatter.py:16
↓ 1 callers
Function
create_subscriptions
(instruments)
Chapter8/fixsim/fixsim/client.py:72
↓ 1 callers
Function
create_subscriptions
(sources)
Chapter8/fixsim/fixsim/server.py:165
↓ 1 callers
Function
create_trading_condition
(df)
Chapter3/ch3_svc.py:28
↓ 1 callers
Function
create_train_split_group
(X, Y, split_ratio=0.8)
Chapter3/ridge.py:35
↓ 1 callers
Function
create_train_split_group
(X, Y, split_ratio=0.8)
Chapter3/lr.py:35
↓ 1 callers
Function
create_train_split_group
(X,Y,split_ratio=0.8)
Chapter3/ch3_svc.py:36
↓ 1 callers
Function
create_train_split_group
(X, Y, split_ratio=0.8)
Chapter3/lasso.py:35
↓ 1 callers
Method
dispatchFromApp
(self, msgType, message, beginString, sessionID)
Chapter8/fixsim/fixsim/client.py:291
↓ 1 callers
Function
double_moving_average
(financial_data, short_window, long_window)
Chapter4/ch4_double_moving_average.py:23
next →
1–100 of 248, ranked by callers