Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
leifcr committed Feb 6, 2019
1 parent f063cce commit 9e6e275
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,31 @@
- Download tick data from [Dukascopy](https://www.dukascopy.com/swiss/english/marketwatch/historical/)
- Convert source tick data to CSV/HST/FXT

### 1.1 Building

To build, you need to install go (https://golang.org/) and glide (https://github.com/Masterminds/glide)

To build:

```
glide install
go build
```

### 1.2 Running
Get January (2019) data for EURUSD and convert to FXT/MT4

```
./go-duka -symbol EURUSD -format fxt -start "2018-01-01" -end "2008-01-31"
```

Get 2018 data for XAUUSD and convert to FXT, and then to HST

```
./go-duka -symbol EURUSD -format fxt -start "2018-01-01" -end "2008-12-31"
./go-duka -symbol EURUSD -format hst -start "2018-01-01" -end "2008-12-31"
```


## 2 CSV Format

Expand Down Expand Up @@ -174,4 +199,5 @@ type FXTHeader struct {
ModelErrors uint32 // 484 4 number of errors during model generation (FIX ERRORS SHOWING UP HERE BEFORE TESTING
_ [240]byte // 488 240 unused
}
```
```

0 comments on commit 9e6e275

Please sign in to comment.