Coder Social home page Coder Social logo

quant-quest-3's People

Contributors

chandinijain avatar shubham1217 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quant-quest-3's Issues

Error running problem1_template.py

getting this KeyError

Loading your config dicts and prediction function
Loaded config dicts and prediction function, Loading Problem 1 Params
Loaded Problem 1 Params, Loading Backtester and Data
Processing data for stock: ABC
Processing data for stock: DEF
Loaded Backtester and Data Loaded, Backtesting
2010-06-02 09:20:00
Traceback (most recent call last):
  File "problem1_template.py", line 288, in <module>
    tradingSystem.startTrading(onlyAnalyze=False, shouldPlot=True, makeInstrumentCsvs=True)
  File "/usr/local/lib/python3.6/dist-packages/backtester/trading_system.py", line 174, in startTrading
    self.updateFeaturesAndExecute(currentTimeUpdate, isClose, onlyAnalyze)
  File "/usr/local/lib/python3.6/dist-packages/backtester/trading_system.py", line 85, in updateFeaturesAndExecute
    self.updateFeatures(timeOfUpdate)
  File "/usr/local/lib/python3.6/dist-packages/backtester/trading_system.py", line 109, in updateFeatures
    self.instrumentManager.updateFeatures(timeOfUpdate)
  File "/usr/local/lib/python3.6/dist-packages/backtester/instruments_manager.py", line 237, in updateFeatures
    self.updateInstrumentFeatures(timeOfUpdate)
  File "/usr/local/lib/python3.6/dist-packages/backtester/instruments_manager.py", line 229, in updateInstrumentFeatures
    instrumentManager=self)
  File "/usr/local/lib/python3.6/dist-packages/backtester/features/momentum_feature.py", line 13, in computeForInstrument
    dataDf = instrumentLookbackData.getFeatureDf(featureParams['featureName'])
  File "/usr/local/lib/python3.6/dist-packages/backtester/instruments_lookback_data.py", line 24, in getFeatureDf
    return self.__data[featureKey].getData()
KeyError: 'ADJCLOSE'

Error on getting data

Have updated the toolbox already.
Please check for this problem:-
Traceback (most recent call last): File "problem1_template.py", line 6, in <module> from backtester.dataSource.csv_data_source import CsvDataSource ImportError: No module named csv_data_source

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.