Skip to content

Commit 6b30a1e

Browse files
committed
bfx wip
1 parent d32f24c commit 6b30a1e

36 files changed

+1122
-3078
lines changed

pub/bfx/bfx.cabal

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -82,42 +82,28 @@ common pkg-lib
8282
hs-source-dirs: src
8383
build-depends:
8484
, aeson
85-
, base >=4.7 && <5
85+
, base >=4.7 && <5
8686
, base16-bytestring
8787
, bytestring
88-
, combinat
8988
, containers
9089
, cryptonite
9190
, envparse
92-
, extra
93-
, generic-pretty-instances
94-
, GenericPretty
95-
, gnuplot
91+
, functora:{functora, money, sql}
9692
, http-client
9793
, http-client-tls
9894
, http-types
9995
, katip
10096
, lens-aeson
10197
, memory
10298
, microlens
103-
, parallel
104-
, persistent
105-
, pretty
106-
, reanimate
10799
, siggy-chardust
108-
, singletons
109-
, singletons-base
110-
, table-layout
111100
, template-haskell
112101
, temporary
113102
, text
114-
, time
115103
, transformers
116104
, units
117-
, universum
118105
, unliftio
119106
, vector
120-
, witch
121107

122108
library
123109
import: pkg-lib
@@ -128,7 +114,6 @@ library
128114

129115
exposed-modules:
130116
Bfx
131-
Bfx.Chart
132117
Bfx.Class.FromRpc
133118
Bfx.Class.ToBaseUrl
134119
Bfx.Class.ToPathPieces
@@ -142,24 +127,20 @@ library
142127
Bfx.Data.Kind
143128
Bfx.Data.MarketAveragePrice
144129
Bfx.Data.Metro
145-
Bfx.Data.QQ
146130
Bfx.Data.SubmitOrder
147131
Bfx.Data.Type
148132
Bfx.Data.Wallets
149133
Bfx.Data.Web
150134
Bfx.Import
151135
Bfx.Import.External
152136
Bfx.Import.Internal
153-
Bfx.Import.Witch
154137
Bfx.Indicator.Atr
155138
Bfx.Indicator.Ma
156-
Bfx.Indicator.Mma
157139
Bfx.Indicator.Tr
158140
Bfx.Math
159141
Bfx.Orphan
160142
Bfx.Parser
161143
Bfx.Rpc.Generic
162-
Bfx.Trading
163144
Bfx.Util
164145

165146
test-suite bfx-test
@@ -185,7 +166,6 @@ test-suite bfx-test
185166
if flag(ghcid)
186167
other-modules:
187168
Bfx
188-
Bfx.Chart
189169
Bfx.Class.FromRpc
190170
Bfx.Class.ToBaseUrl
191171
Bfx.Class.ToPathPieces
@@ -199,66 +179,48 @@ test-suite bfx-test
199179
Bfx.Data.Kind
200180
Bfx.Data.MarketAveragePrice
201181
Bfx.Data.Metro
202-
Bfx.Data.QQ
203182
Bfx.Data.SubmitOrder
204183
Bfx.Data.Type
205184
Bfx.Data.Wallets
206185
Bfx.Data.Web
207186
Bfx.Import
208187
Bfx.Import.External
209188
Bfx.Import.Internal
210-
Bfx.Import.Witch
211189
Bfx.Indicator.Atr
212190
Bfx.Indicator.Ma
213-
Bfx.Indicator.Mma
214191
Bfx.Indicator.Tr
215192
Bfx.Math
216193
Bfx.Orphan
217194
Bfx.Parser
218195
Bfx.Rpc.Generic
219-
Bfx.Trading
220196
Bfx.Util
221197

222198
hs-source-dirs: src
223199
ghc-options: -Wno-unused-packages
224200
build-depends:
225201
, aeson
226-
, base >=4.7 && <5
202+
, base >=4.7 && <5
227203
, base16-bytestring
228204
, bytestring
229-
, combinat
230205
, containers
231206
, cryptonite
232207
, envparse
233-
, extra
234-
, generic-pretty-instances
235-
, GenericPretty
236-
, gnuplot
208+
, functora:{functora, money, sql}
237209
, http-client
238210
, http-client-tls
239211
, http-types
240212
, katip
241213
, lens-aeson
242214
, memory
243215
, microlens
244-
, parallel
245-
, persistent
246-
, pretty
247-
, reanimate
248216
, siggy-chardust
249-
, singletons
250-
, singletons-base
251-
, table-layout
252217
, template-haskell
253218
, temporary
254219
, text
255-
, time
256220
, transformers
257221
, units
258-
, universum
259222
, unliftio
260223
, vector
261-
, witch
262224

263225
else
264226
build-depends: bfx

0 commit comments

Comments
 (0)