Skip to content

Commit

Permalink
Fixed an assumption error
Browse files Browse the repository at this point in the history
Tested GBPUSD & NZDUSD
  • Loading branch information
Jack Song committed Jun 19, 2019
1 parent 662178b commit d083f27
Show file tree
Hide file tree
Showing 14 changed files with 61,955 additions and 49,959 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A mini Quant Trading System with Alpha, Risks, Cost, Portfolio Construction Mode

## Highlight:

**316.96**% for last 288 trade days, using [Slope & Velocity Strategy](./alpha#strategy-forex).
**281.89**% for last 288 trade days, using [Slope & Velocity Strategy](./alpha#strategy-forex).

![](./alpha/gen/StrategySV_AUDUSD_Daily.png)

Expand Down
2 changes: 1 addition & 1 deletion alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Best Result: **177.03**%. Finished in 07:22s.

Backtesting 15,625 sets of params to find the best params for [Slope & Velocity Strategy](#strategy-4-slope--velocity).

Best Result: **316.96**% p.a.
Best Result: **281.89**% p.a.

![](./gen/StrategySV_AUDUSD_Daily.png)

Expand Down
Binary file modified alpha/gen/StrategySV_AUDUSD_Daily.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31,252 changes: 15,626 additions & 15,626 deletions alpha/gen/StrategySV_AUDUSD_Daily_Backtest_Params_df.csv

Large diffs are not rendered by default.

6,000 changes: 5,000 additions & 1,000 deletions alpha/gen/StrategySV_AUDUSD_Daily_PaperTest_Params_df.csv

Large diffs are not rendered by default.

Binary file modified alpha/gen/StrategySV_EURUSD_Daily.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31,250 changes: 15,625 additions & 15,625 deletions alpha/gen/StrategySV_EURUSD_Daily_Backtest_Params_df.csv

Large diffs are not rendered by default.

6,002 changes: 5,001 additions & 1,001 deletions alpha/gen/StrategySV_EURUSD_Daily_PaperTest_Params_df.csv

Large diffs are not rendered by default.

Binary file modified alpha/gen/StrategySV_USDCAD_Daily.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31,250 changes: 15,625 additions & 15,625 deletions alpha/gen/StrategySV_USDCAD_Daily_Backtest_Params_df.csv

Large diffs are not rendered by default.

6,002 changes: 5,001 additions & 1,001 deletions alpha/gen/StrategySV_USDCAD_Daily_PaperTest_Params_df.csv

Large diffs are not rendered by default.

117 changes: 55 additions & 62 deletions alpha/strategies/optimization_sv.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/historical/crypto_daily.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"output_type": "stream"
}
],
"source": "import os, sys\n\napi_key \u003d \"6Z16V2GZLU7N0RKG\"\ntry: \n api_key \u003d os.environ[\"ALPHAVANTAGE_API_KEY\"]\n print(\"Found AlphaVantage API Key\")\nexcept KeyError: \n print(\"Please set the environment variable ALPHAVANTAGE_API_KEY\")\n sys.exit(1)",
"source": "import os, sys\n\napi_key \u003d \"demo\"\ntry: \n api_key \u003d os.environ[\"ALPHAVANTAGE_API_KEY\"]\n print(\"Found AlphaVantage API Key\")\nexcept KeyError: \n print(\"Please set the environment variable ALPHAVANTAGE_API_KEY\")\n sys.exit(1)",
"metadata": {
"pycharm": {
"metadata": false,
Expand Down
35 changes: 19 additions & 16 deletions data/historical/forex_daily.ipynb

Large diffs are not rendered by default.

0 comments on commit d083f27

Please sign in to comment.