(self, x)
| 52 | return first.T |
| 53 | |
| 54 | def record_history(self, x): |
| 55 | nx = self.get_last_rpv(x) |
| 56 | nx = np.reshape(nx, (1,nx.size)) |
| 57 | if self.history is None: |
| 58 | #self.history = self.get_first_history(x) |
| 59 | self.history = nx |
| 60 | else: |
| 61 | self.history = np.vstack((self.history, nx)) |
| 62 | |
| 63 | def get_close(self): |
| 64 | '''get close data from relative price |
no test coverage detected