Skip to content

Commit

Permalink
add(print): printing format more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
nerap committed Nov 10, 2021
1 parent ad14ec6 commit 752812a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion srcs/placing_order/Symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ def strategy(self):
self.buy_sell()
# Printing last row of the data frame

print("\t\t" + self.symbol)
print('\n------------------------------------------\n')
print("\t\t" + self.symbol + '\n')
print("Close -> " + str(self.data_frame.Close.iloc[-1]))
print("Open Position -> " + str(self.open_position))
print("Macd " + self.interval + " -> " + str(round(self.data_frame.Macd.iloc[-1], 3)) + " Signal " + self.interval + " -> " + str(round(self.data_frame.Signal.iloc[-1], 3)))
Expand Down

0 comments on commit 752812a

Please sign in to comment.