1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-05 20:11:08 +08:00

refine readme

This commit is contained in:
Yuchen Fang
2021-01-28 16:11:58 +08:00
parent b96aab6bef
commit 13d39e6bbc
2 changed files with 16 additions and 4 deletions

View File

@@ -65,7 +65,5 @@ class AC(VWAP):
t = t + 1
k_tild = self.lamb / self.eta * sig * sig
k = np.arccosh(k_tild / 2 + 1)
act = (np.sinh(k * (self.T - t)) - np.sinh(k * (self.T - t - 1))) / np.sinh(
k * self.T
)
act = (np.sinh(k * (self.T - t)) - np.sinh(k * (self.T - t - 1))) / np.sinh(k * self.T)
return Batch(act=act, state=state)