This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### IMPORTANT THIS CODE IS OUTDATED!!!! | |
### PLEASE USE THE AWK SCRIPT FROM VERSION 3cBotPlus 6beta | |
# -*- coding: utf-8 -*- | |
# Author - hBroker at 3cBotPlus | |
# www.3cbotplus.com | |
# For MAC users: You need install before: | |
# xcode-select --install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/awk -f | |
# | |
# Author hBroker(3cBotPlus ltda) | |
# USAGE EXAMPLE | |
# ./trades2deals.awk tradeslist.csv > dealslist.csv | |
# | |
# Don´t forget to make it executable with chmod +x trades2deals.awk | |
BEGIN{FS="," ;print "Deal","SO Filled","Finalized","Created" } | |
(NR>1) { |