For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Can i get btrun output into pandas dataframe
-
Can i get btrun output into pandas dataframe.
I am currently getting it into csv file but the output in a csv file is not structured properly.
I need to display the output on a web page through AJAX and display graphs.
E.g.
Cerebro:- Datas:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- Data0:
- Name: TATASTEEL
- Timeframe: Days
- Compression: 1
- Data0:
- Strategies:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- strategy9999:
- Params:
- Indicators:
.......................................................................- BollingerBands:
- Lines: mid, top, bot
- Params: - period: 20 - devfactor: 2.0 - movav: MovingAverageSimple
- BollingerBands:
- Observers:
.......................................................................- Broker:
- Lines: cash, value
- Params: None
.......................................................................
- BuySell:
- Lines: buy, sell
- Params: - barplot: True - bardist: 0.015
- Trades:
- Lines: pnlplus, pnlminus
- Params: None
- Broker:
- Analyzers:
.......................................................................- Value:
- Begin: 1000000.0
- End: 1004263.8
.......................................................................
- pyfolio:
- Params: - timeframe: 5 - compression: 1****
- Value:
- strategy9999:
- Datas:
-
@Tausif said in Can i get btrun output into pandas dataframe:
I am currently getting it into csv file but the output in a csv file is not structured properly.
It's clearly not csv output and it's not meant to be.
@Tausif said in Can i get btrun output into pandas dataframe:
I need to display the output on a web page through AJAX and display graphs.
you'll have to develop your own scripts to properly structure the output.
-
ok , Thanks