func (h *HandlerPerCurrency) SetDataForCurrency(e string, a asset.Item, p currency.Pair, k Handler) {
	if h.data == nil {
		h.Setup()
	}
	e = strings.ToLower(e)
	if h.data[e] == nil {
		h.data[e] = make(map[asset.Item]map[currency.Pair]Handler)
	}
	if h.data[e][a] == nil {
		h.data[e][a] = make(map[currency.Pair]Handler)
	}
	h.data[e][a][p] = k
}
SetDataForCurrency assigns a data Handler to the data map by exchange, asset and currency
package data
import (
	"sort"
	"strings"
	"github.com/thrasher-corp/gocryptotrader/backtester/common"
	"github.com/thrasher-corp/gocryptotrader/currency"
	"github.com/thrasher-corp/gocryptotrader/exchanges/asset"
)
func (h *HandlerPerCurrency) Setup() {
	if h.data == nil {
		h.data = make(map[string]map[asset.Item]map[currency.Pair]Handler)
	}
}