mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
Some reason did not push this...
vector calcs redone.
This commit is contained in:
parent
93ba80b5a9
commit
0372485cf0
|
@ -423,12 +423,12 @@ class Backtesting(object):
|
|||
# csv = "cryptosher_before_debug"
|
||||
# bslap_results_df.to_csv(csv, sep='\t', encoding='utf-8')
|
||||
|
||||
bslap_results_df.to_csv(csv, sep='\t', encoding='utf-8')
|
||||
# bslap_results_df.to_csv(csv, sep='\t', encoding='utf-8')
|
||||
|
||||
bslap_results_df['trade_duration'] = bslap_results_df['close_time'] - bslap_results_df['open_time']
|
||||
|
||||
## Spends, Takes, Profit, Absolute Profit
|
||||
print(bslap_results_df)
|
||||
# print(bslap_results_df)
|
||||
# Buy Price
|
||||
bslap_results_df['buy_vol'] = stake / bslap_results_df['open_rate'] # How many target are we buying
|
||||
bslap_results_df['buy_fee'] = stake * open_fee
|
||||
|
|
Loading…
Reference in New Issue
Block a user