MCPcopy Create free account

hub / github.com/davecliff/BristolStockExchange / functions

Functions365 in github.com/davecliff/BristolStockExchange

Methodinit_beta
in Cliff 1997 the initial beta values are U(0.1, 0.5)
BSE.py:1624
Methodinit_ca
()
BSE.py:1632
Methodinit_cr
()
BSE.py:1637
Methodinit_margin
()
BSE.py:1642
Methodinit_momntm
in Cliff 1997 the initial momentum values are U(0.0, 0.1)
BSE.py:1628
Methodinit_stratwaittime
()
BSE.py:1646
Methodis_imbalance_significant
(self, m,threshold)
ZhenZhang/source/IZIP_MLOFI.py:55
Methodload_strat
Copy the strategy vector into the ZIP trader's params and timestamp it. :param stratvec: the strategy vector. :pa
BSE.py:1825
Methodmicroshade
(microprice, price)
ZhenZhang/source/BSE_trader_agents.py:538
Methodmicroshade
(microprice, price)
ZhenZhang/source/IZIP_MLOFI.py:406
Methodmkt_close
(self)
ZhenZhang/source/BSE2.py:792
Methodmkt_open
(self, time, verbose)
ZhenZhang/source/BSE2.py:763
Methodmutate
(self, time, lob, trade, verbose)
snashall2019.py:451
Methodmutate
(self, time, lob, trade, verbose)
ZhenZhang/source/BSE_trader_agents.py:225
Methodopen_pool
(time, pool, verbose)
ZhenZhang/source/BSE2.py:769
Methodprocess_LIM
(order, verbose)
ZhenZhang/source/BSE2.py:636
Methodprofit_alter
(price)
snashall2019.py:981
Methodprofit_alter
(price)
snashall2019.py:1464
Methodprofit_alter
ZIP profit-margin update on basis of target price -- updates self.margin. :param price: the target price. :return
BSE.py:1801
Methodprofit_alter
(*argv)
ZhenZhang/source/BSE_trader_agents.py:557
Methodprofit_alter
(*argv)
ZhenZhang/source/IZIP_MLOFI.py:425
Methodrespond
(self, time, lob, trade, verbose)
snashall2019.py:720
Methodrespond
(self, time, lob, trade, verbose)
snashall2019.py:949
Methodrespond
(self, time, lob, trade, verbose)
snashall2019.py:1291
Methodrespond
(self, time, lob, trade, verbose)
snashall2019.py:1432
Methodrespond
(self, time, lob, trade, verbose)
Trader_AA.py:222
Methodrespond
Respond to the current state of the LOB. For strategy-optimizers PRSH and PRDE, this can involve switching stratregy, and/or generati
BSE.py:1280
Methodrespond
Update ZIP profit margin on basis of what happened in market. For ZIPSH and ZIPDE, also maybe switch strategy and/or generate new str
BSE.py:1763
Methodrespond
Respond to the current state of the public lob. Buys if best bid is less than simple moving average of recent transcaction prices.
BSE.py:2175
Methodrespond
Respond to the current state of the public lob. Buys if best bid is less than simple moving average of recent transcaction prices.
BSE.py:2385
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/IAA_NEW.py:505
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/Simple_MLOFI.py:246
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/BSE_trader_agents.py:219
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/BSE_trader_agents.py:514
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/BSE_trader_agents.py:1097
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/BSE_trader_agents.py:1431
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/BSE_trader_agents.py:2046
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/IZIP_MLOFI.py:374
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/IAA_MLOFI.py:421
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/IGDX_MLOFI.py:430
Methodrespond
(self, time, lob, trade, verbose)
ZhenZhang/source/ZZISHV.py:200
Functionschedule_offsetfn
(t)
snashall2019.py:2063
Functionschedule_offsetfn_from_eventlist
Returns a price offset-value for the current time, by reading from an offset event-list. :param time: the current time :param
BSE.py:3324
Functionschedule_offsetfn_increasing_sinusoid
Returns sinusoidal time-dependent price-offset, steadily increasing in frequency & amplitude :param t: time :param params: se
BSE.py:3347
Methodshvr_price
Return value is what price a SHVR would quote in these circumstances :param order_type: is the order bid or ask?
BSE.py:973
Methodstrat_activate
Activate a specified strategy :param t: the current time :param s_index: the index of the strategy in the list of
BSE.py:1308
Methodstrat_activate
Activate a specified strategy-vector. :param t: the current time. :param s_index: the index of the strategy to be
BSE.py:1844
Methodstrat_csv_str
Return trader's strategy as a csv-format string (trivial in PRZI, but other traders with more complex strategies need this).
BSE.py:793
Methodtape_dump
Currently tape_dump only writes a list of transactions (i.e., it ignores any cancellations) :param fname: filename to write to.
BSE.py:407
Methodtarget_down
(price)
snashall2019.py:962
Methodtarget_down
(price)
snashall2019.py:1445
Methodtarget_down
Generate a lower target price by randomly perturbing given price
BSE.py:1784
Methodtarget_down
(price)
ZhenZhang/source/BSE_trader_agents.py:528
Methodtarget_down
(price)
ZhenZhang/source/IZIP_MLOFI.py:397
Methodtarget_up
(price)
snashall2019.py:953
Methodtarget_up
(price)
snashall2019.py:1436
Methodtarget_up
Generate a higher target price by randomly perturbing given price
BSE.py:1776
Methodtarget_up
(price)
ZhenZhang/source/BSE_trader_agents.py:518
Methodtarget_up
(price)
ZhenZhang/source/IZIP_MLOFI.py:388
Methodthreshold
(theta0, x)
BSE.py:1013
Methodwilling_to_trade
(price)
snashall2019.py:971
Methodwilling_to_trade
(price)
snashall2019.py:1454
Methodwilling_to_trade
Am I willing to trade at this price?
BSE.py:1792
Methodwilling_to_trade
(price)
ZhenZhang/source/BSE_trader_agents.py:547
Methodwilling_to_trade
(price)
ZhenZhang/source/IZIP_MLOFI.py:416
← previous301–365 of 365, ranked by callers