initial commit

This commit is contained in:
gmp
2024-11-14 21:36:06 -05:00
commit 83f41a0659
3 changed files with 221 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package main
import (
"git.wow.st/gmp/ohlc"
"encoding/json"
"fmt"
"os"
"time"
)
func main() {
if len(os.Args) < 2 {
fmt.Println("Usage: ohlc symbol1 [symbol2...]")
os.Exit(-1)
}
for _, x := range(os.Args[1:]) {
ohlc.Conv(x)
}
}