Code Monkey home page Code Monkey logo

backtrader-docs's Introduction

backtrader-docs's People

Contributors

backtrader avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

backtrader-docs's Issues

a

For instance,
2016-02-23, SELL CREATE 24.20
2016-02-24, SELL EXECUTED Price: 24.76
24.24 and 24.76 are the close price of each day.
It is daily trading. Execute operation is performed the next day, on 24.
I want to create and execute the operation in 2016-02-23.
I mean that the action was created and executed at a price of 24.24. Is it possible to perform such operation?

python noob question - bt.feeds.YahooFinanceData

I want to iterate over the lines of data from yahoo - and save to database.
just want to suck each line out.

usually in swift we can leverage
df = bt.feeds.YahooFinanceData(dataname='BTC-USD', fromdate=datetime(2011, 1, 1), todate=datetime(2018, 12, 31)) // this all works fine.

for dict in df{ // how to craft this line here?
print( dict["open"])
}

I check docs and it said stuff about _load
it wasn't clear to me how to carry this out.

ended up diving into pycharm to break apart - still none the wiser.

screen shot 2018-02-08 at 10 43 03 pm

Multi-core optimization problem

Thanks to the support team

I have recently used Backtrader. During optimization, the package works properly when the input data is low. But when the input data is high or the number of modes I want to multi-core optimization, I get the following error:

Out of memory error when running optstrategy

After checking, I realized that because the results are stored in a list, in this case, despite the 32 GB of RAM, this list is full and the package gives an error.

How can I solve this problem?

Thanks to the support team

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.