forked from mkmarek/forex.analytics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
80 lines (73 loc) · 2.38 KB
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"targets": [
{
"target_name": "analytics",
"include_dirs": [
"<!(node -e \"require('nan')\")",
"lib/ta-lib/include"
],
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'conditions': [
['OS=="linux"', {
"libraries" : [
"../lib/ta-lib/lib/libta_abstract_csr.a",
"../lib/ta-lib/lib/libta_func_csr.a",
"../lib/ta-lib/lib/libta_common_csr.a",
"../lib/ta-lib/lib/libta_libc_csr.a",
]
}],
[ 'OS=="mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS' : ['-std=c++11', '-stdlib=libc++'],
'OTHER_LDFLAGS': ['-stdlib=libc++'],
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
},
"libraries" : [
"../lib/ta-lib/lib/libta_abstract_csr.a",
"../lib/ta-lib/lib/libta_func_csr.a",
"../lib/ta-lib/lib/libta_common_csr.a",
"../lib/ta-lib/lib/libta_libc_csr.a",
]
}],
[ 'OS=="win"', {
"libraries" : [
"../lib/ta-lib/lib/ta_abstract_csr.lib",
"../lib/ta-lib/lib/ta_common_csr.lib",
"../lib/ta-lib/lib/ta_func_csr.lib",
"../lib/ta-lib/lib/ta_libc_csr.lib"
]
}],
],
"sources": [
"src/BinaryTreeFitness.cpp",
"src/BinaryTreeChromosome.cpp",
"src/BinaryTreeGeneticAlgo.cpp",
"src/TradingSystem.cpp",
"src/TradingSimulator.cpp",
"src/indicators/CCI.cpp",
"src/indicators/MACD.cpp",
"src/indicators/Momentum.cpp",
"src/indicators/RSI.cpp",
"src/indicators/SAR.cpp",
"src/indicators/SMA.cpp",
"src/indicators/Stochastic.cpp",
"src/indicators/ATR.cpp",
"src/indicators/BOP.cpp",
"src/indicators/BaseIndicator.cpp",
"src/indicators/factories/IndicatorFactory.cpp",
"src/models/Candlestick.cpp",
"src/nodes/IndicatorTreeNode.cpp",
"src/nodes/OperatorTreeNode.cpp",
"src/nodes/TreeNode.cpp",
"src/utils/HeapSort.cpp",
"src/export.cpp",
"src/functions/convertOHLC.cpp",
"src/functions/findStrategy.cpp",
"src/functions/getIndicatorData.cpp",
"src/functions/getMarketStatus.cpp",
"src/functions/getTrades.cpp",
]
}
]
}