-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Description
I don't know where does this int 10 come from, guess should be self.eta which default value is 10 ?
def update_tco(self, x: npt.NDArray, b: npt.NDArray, x_pred: npt.NDArray):
"""
:param x: ratio of change in price
"""
lambd = 10 * self.trx_fee_pct # SHOUD BE self.eta * self.trx_fee_pct ?
# last price adjusted weights
updated_b = np.multiply(b, x) / np.dot(b, x)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels