backtrader / backtrader-docs Goto Github PK
View Code? Open in Web Editor NEWbacktrader documentation
Home Page: https://backtrader.com
License: GNU General Public License v3.0
backtrader documentation
Home Page: https://backtrader.com
License: GNU General Public License v3.0
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?
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.