anfederico / gemini

Backtesting for sleepless cryptocurrency markets
GNU General Public License v3.0
709 stars 161 forks source link

No lines inside chart.html #28

Closed 11 closed 3 years ago

11 commented 3 years ago

User Info

Google Chrome: 87.0.4280.88 (Official Build) (x86_64) Revision | 89e2380a3e36c3464b5dd1302349b1382549290d-refs/branch-heads/4280@{#1761} OS | macOS Version 10.15.7 (Build 19H2) JavaScript | V8 8.7.220.29 Flash | 32.0.0.465 /Users/douglasrudolph/Library/Application Support/Google/Chrome/PepperFlash/32.0.0.465/PepperFlashPlayer.plugin

Description

No lines were rendered inside chart.html after running backtest.chart() on your example backtest algorithm and BTCUSD data

Here's a screenshot of the chart: image

This was the guide I was following: https://gemini-docs.readthedocs.io/en/latest/using-gemini.html#basic

This was the data I used: https://github.com/anfederico/gemini/blob/master/examples/data/BTC_USD.csv

This is the HTML that was generated into chart.html: https://gist.github.com/11/159820cdf0a7b8dd69bd928add991acd

Cheers 🍻

PS: Thanks for the amazing API -- loving everything about this project

11 commented 3 years ago

Update -- I was able to fix this issue. Here is the PR if you would like to merge it @anfederico https://github.com/anfederico/gemini/pull/29

While waiting for this fix to be merged -- anyone finding this issue can pip install / git clone this fork and generate graphs

anfederico commented 3 years ago

This should be resolved in the latest update.