Skip to content

Commit

Permalink
Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
AminHP committed Jan 30, 2020
1 parent cd688d5 commit c6fd933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym_anytrading/envs/trading_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _plot_position(position, tick):


def render_all(self, mode='human'):
window_ticks = np.arange(len(self.prices))
window_ticks = np.arange(len(self._position_history))
plt.plot(self.prices)

short_ticks = []
Expand Down

0 comments on commit c6fd933

Please sign in to comment.