Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Popular
    Log in to post
    • All categories
    • Support
    •      Request New Features
    • Strategy help
    • General Discussion
    • News and Feature Releases
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • A

      Additional Data for Bitcoin
      Request New Features • • antinomy

      7
      1
      Votes
      7
      Posts
      2840
      Views

      A

      @support It's working now, thanks!

    • A

      Issue with Data
      Support • • alphastar

      7
      0
      Votes
      7
      Posts
      858
      Views

      support

      @alphastar Sorry for the very late answer, the issue has been fixed in the meantime....

    • S

      backtest_ml()
      Support • • Sun-73

      7
      1
      Votes
      7
      Posts
      2603
      Views

      S

      @support Great! This route opens new possibilities in terms of model design. Thanks a lot!

    • D

      single pass and multipass discrepancy
      Support • • darwinps

      7
      1
      Votes
      7
      Posts
      1955
      Views

      D

      Hi @stefanm ,

      How reckless of me, "data" should have been f_es_data. They are perfectly synced now.
      Thank you so much. I really appreciate the help.

      sincerely

    • Q

      How to getting start in Quantiacs
      Support • • qida1995

      7
      0
      Votes
      7
      Posts
      2244
      Views

      L

      Hello! Thanks for the link. Of course, this translation gives a better understanding than through Google translator.
      Thank you very much​​​​​​​!

    • B

      Does evaluation only start from one year back?
      Support • • buyers_are_back

      7
      0
      Votes
      7
      Posts
      1586
      Views

      support

      @commanderangle Dear commanderangle,

      If you use ML in your strategy but not select that option we can't guarantee for how your strategy will be evaluated and it could be filtered out.

      Regards

    • illustrious.felice

      How to use complex indicator in fundamental data
      Support • • illustrious.felice

      7
      0
      Votes
      7
      Posts
      1000
      Views

      illustrious.felice

      @support Ohh, I understand. Thank you for your support.

    • M

      WARNING: some dates are missed in the portfolio_history
      Support • • multi_byte.wildebeest

      7
      0
      Votes
      7
      Posts
      1345
      Views

      V

      @multi_byte-wildebeest Hi. Without an example, it's unclear what the problem might be.

      If you use a state and a function that returns the prediction for one day, you will not get correct results with precheck.

      This was discussed here: https://quantiacs.com/community/topic/555/access-previous-weights/18

    • C

      ImportError - Sklearn
      Support • • captain.nidoran

      7
      0
      Votes
      7
      Posts
      2542
      Views

      support

      @captain-nidoran Hello, please try to add in a cell at the beginning:

      pip install 'sklearn==0.0.post1'

      or in the init file:

      ! apt update && apt install -y libgomp1 && rm -rf /var/lib/apt/lists/*

      Best regards

    • A

      Error - Cannot create strategy
      Support • • alphastar

      7
      0
      Votes
      7
      Posts
      752
      Views

      support

      @alphastar Sorry for the issue, it has been fixed.

    • nosaai

      Install Toolbox on Python 3.9
      Support • • nosaai

      6
      0
      Votes
      6
      Posts
      1160
      Views

      support

      @magenta-kabuto We support only Python 3.7 right now. But it can coexist with Python 3.9:

      https://quantiacs.com/documentation/en/user_guide/local_development.html

      Basically you can use Python 3.7 inside a conda environment.

    • T

      Python
      General Discussion • • TitusBullo

      6
      0
      Votes
      6
      Posts
      1262
      Views

      T

      @antinomy Ty

    • C

      Why .interpolate_na dosen't work well ?
      Support • • cyan.gloom

      6
      0
      Votes
      6
      Posts
      1751
      Views

      C

      @antinomy

      I got it !
      Thanks a lot !!

    • E

      Q17 Neural Networks Algo Template; is there an error in train_model()?
      Strategy help • • EDDIEE

      6
      1
      Votes
      6
      Posts
      1928
      Views

      V

      Hello colleagues.

      The solution in case of predicting one financial instrument can be the following (train_period changed)

      def load_data(period): return qndata.cryptodaily_load_data(tail=period, assets=['BTC']) def train_model(data): """ train the LSTM network """ asset_name = 'BTC' features_all = get_features(data) target_all = get_target_classes(data) model = get_model() # drop missing values: target_cur = target_all.sel(asset=asset_name).dropna('time', 'any') features_cur = features_all.sel(asset=asset_name).dropna('time', 'any') # align features and targets: target_for_learn_df, feature_for_learn_df = xr.align(target_cur, features_cur, join='inner') criterion = nn.MSELoss() # define loss function optimiser = optim.LBFGS(model.parameters(), lr=0.08) # we use an LBFGS solver as optimiser epochs = 1 # how many epochs for i in range(epochs): def closure(): # reevaluates the model and returns the loss (forward pass) optimiser.zero_grad() # input tensor in_ = torch.zeros(1, len(feature_for_learn_df.values)) in_[0, :] = torch.tensor(np.array(feature_for_learn_df.values)) # output out = model(in_) # target tensor target = torch.zeros(1, len(target_for_learn_df.values)) target[0, :] = torch.tensor(np.array(target_for_learn_df.values)) # evaluate loss loss = criterion(out, target) loss.backward() return loss optimiser.step(closure) # updates weights return model weights = qnbt.backtest_ml( load_data=load_data, train=train_model, predict=predict, train_period=1 * 365, # the data length for training in calendar days retrain_interval=365, # how often we have to retrain models (calendar days) retrain_interval_after_submit=1, # how often retrain models after submission during evaluation (calendar days) predict_each_day=False, # Is it necessary to call prediction for every day during backtesting? # Set it to true if you suspect that get_features is looking forward. competition_type='crypto_daily_long_short', # competition type lookback_period=365, # how many calendar days are needed by the predict function to generate the output start_date='2014-01-01', # backtest start date build_plots=True # do you need the chart? )
    • M

      Kernel Dies
      Support • • magenta.kabuto

      6
      0
      Votes
      6
      Posts
      969
      Views

      M

      @vyacheslav_b perfect. It wasnt obvious to me that single pass was meant by that. Thank you

    • illustrious.felice

      Sharpe decreases when submitting strategy
      Support • • illustrious.felice

      6
      0
      Votes
      6
      Posts
      846
      Views

      illustrious.felice

      @vyacheslav_b Thank you so much

    • X

      Combining classifiers
      Strategy help • • xiaolan

      6
      0
      Votes
      6
      Posts
      1137
      Views

      support

      @xiaolan That is correct, but the logic can be easily re-used. The only novel element will be the introduction of the liquidity filter at intermediate stages/at the final stage for the selection of the weights.

    • I

      Getting started with local dev.
      Support • • iron.tentacruel

      6
      0
      Votes
      6
      Posts
      962
      Views

      support

      @iron-tentacruel Sorry for the delay in the answer. We recommend conda as we can better track dependencies. With conda you can create locally an environment which mirrors the one on the Quantiacs server and you can work locally as you would on the server. If you need a specific version of a package, please let us know.

    • M

      Futures data issues
      Support • • Msant14

      6
      1
      Votes
      6
      Posts
      813
      Views

      A

      @support I have done that twice before my post, but now F_RY looks fine. There are several directories with scripts and notebooks I use with qnt, so maybe I deleted the wrong data-cache before...
      Thanks for fixing the data!

    • S

      Stocks data
      Support • • Sun-73

      6
      0
      Votes
      6
      Posts
      2157
      Views

      S

      @support Yes, I can load now the stocks data. Thank you once again!

    • Documentation
    • About
    • Career
    • My account
    • Privacy policy
    • Terms and Conditions
    • Cookies policy
    Home
    Copyright © 2014 - 2026 Quantiacs LLC.
    Powered by NodeBB | Contributors