Giter VIP home page Giter VIP logo

Comments (8)

shlomiku avatar shlomiku commented on July 28, 2024

Hi,
each execution has its own data. there's no caching.
but we do a backfill which means, we try to get all the required data with a single api call at the beginning of the execution

from alpaca-backtrader-api.

alias-noa avatar alias-noa commented on July 28, 2024

So when you switch it to live, it technically runs a backtest before making a live trade? I ask because it doesn't print any of the print statements from a backtest.

from alpaca-backtrader-api.

shlomiku avatar shlomiku commented on July 28, 2024

it doesn't run a backtest. it just fetches the data

from alpaca-backtrader-api.

alias-noa avatar alias-noa commented on July 28, 2024

So if my strategy references line[-50] then even if I just started running live mode, it can get it from the data? How far back can it go?

from alpaca-backtrader-api.

shlomiku avatar shlomiku commented on July 28, 2024

refer the docs to check that https://alpaca.markets/docs/

from alpaca-backtrader-api.

xs005 avatar xs005 commented on July 28, 2024

I do have question too, I don't know how to make live trading works

from alpaca-backtrader-api.

shlomiku avatar shlomiku commented on July 28, 2024

Hi @xs005, just follow one of the examples under the sample folder

from alpaca-backtrader-api.

shlomiku avatar shlomiku commented on July 28, 2024

closing due to lack of activity

from alpaca-backtrader-api.

Related Issues (20)

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.