Skip to content

Commit 588bc3a

Browse files
authored
Fix print
For supporting both Python 2 & 3
1 parent 23b3b8e commit 588bc3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ exchanges: [{"eid":"OKEX","currency":"LTC_BTC","balance":3,"stocks":0}]
1818
'''
1919
from fmz import *
2020
task = VCtx(__doc__) # initialize backtest engine from __doc__
21-
print exchange.GetAccount()
22-
print exchange.GetTicker()
23-
print task.Join() # print backtest result
21+
print(exchange.GetAccount())
22+
print(exchange.GetTicker())
23+
print(task.Join()) # print backtest result
2424
```
2525

2626
The config string can be generated automatically by saving the backtest configuration in the strategy edit page.

0 commit comments

Comments
 (0)