ohlc/cmd/ohlc/main.go
2024-11-14 21:36:06 -05:00

22 lines
247 B
Go

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)
}
}