tulirb 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -0
- data/CHANGELOG.md +6 -0
- data/README.md +8 -3
- data/code_generator.rb +29 -0
- data/ext/tulirb/tulirb.c +104 -104
- data/lib/tulirb/version.rb +1 -1
- data/lib/tulirb.rb +910 -5
- metadata +3 -2
data/ext/tulirb/tulirb.c
CHANGED
@@ -82,522 +82,522 @@ static void xfree_ptr_arr(TI_REAL **ptr, size_t size)
|
|
82
82
|
|
83
83
|
// Alphabetical order
|
84
84
|
|
85
|
-
VALUE rb_tulip_abs(VALUE self, VALUE inputs, VALUE opts)
|
85
|
+
static VALUE rb_tulip_abs(VALUE self, VALUE inputs, VALUE opts)
|
86
86
|
{
|
87
87
|
return ti_wrapper(inputs, opts, "abs");
|
88
88
|
}
|
89
89
|
|
90
|
-
VALUE rb_tulip_acos(VALUE self, VALUE inputs, VALUE opts)
|
90
|
+
static VALUE rb_tulip_acos(VALUE self, VALUE inputs, VALUE opts)
|
91
91
|
{
|
92
92
|
return ti_wrapper(inputs, opts, "acos");
|
93
93
|
}
|
94
94
|
|
95
|
-
VALUE rb_tulip_ad(VALUE self, VALUE inputs, VALUE opts)
|
95
|
+
static VALUE rb_tulip_ad(VALUE self, VALUE inputs, VALUE opts)
|
96
96
|
{
|
97
97
|
return ti_wrapper(inputs, opts, "ad");
|
98
98
|
}
|
99
99
|
|
100
|
-
VALUE rb_tulip_add(VALUE self, VALUE inputs, VALUE opts)
|
100
|
+
static VALUE rb_tulip_add(VALUE self, VALUE inputs, VALUE opts)
|
101
101
|
{
|
102
102
|
return ti_wrapper(inputs, opts, "add");
|
103
103
|
}
|
104
104
|
|
105
|
-
VALUE rb_tulip_adosc(VALUE self, VALUE inputs, VALUE opts)
|
105
|
+
static VALUE rb_tulip_adosc(VALUE self, VALUE inputs, VALUE opts)
|
106
106
|
{
|
107
107
|
return ti_wrapper(inputs, opts, "adosc");
|
108
108
|
}
|
109
109
|
|
110
|
-
VALUE rb_tulip_adx(VALUE self, VALUE inputs, VALUE opts)
|
110
|
+
static VALUE rb_tulip_adx(VALUE self, VALUE inputs, VALUE opts)
|
111
111
|
{
|
112
112
|
return ti_wrapper(inputs, opts, "adx");
|
113
113
|
}
|
114
114
|
|
115
|
-
VALUE rb_tulip_adxr(VALUE self, VALUE inputs, VALUE opts)
|
115
|
+
static VALUE rb_tulip_adxr(VALUE self, VALUE inputs, VALUE opts)
|
116
116
|
{
|
117
117
|
return ti_wrapper(inputs, opts, "adxr");
|
118
118
|
}
|
119
119
|
|
120
|
-
VALUE rb_tulip_ao(VALUE self, VALUE inputs, VALUE opts)
|
120
|
+
static VALUE rb_tulip_ao(VALUE self, VALUE inputs, VALUE opts)
|
121
121
|
{
|
122
122
|
return ti_wrapper(inputs, opts, "ao");
|
123
123
|
}
|
124
124
|
|
125
|
-
VALUE rb_tulip_apo(VALUE self, VALUE inputs, VALUE opts)
|
125
|
+
static VALUE rb_tulip_apo(VALUE self, VALUE inputs, VALUE opts)
|
126
126
|
{
|
127
127
|
return ti_wrapper(inputs, opts, "apo");
|
128
128
|
}
|
129
129
|
|
130
|
-
VALUE rb_tulip_aroon(VALUE self, VALUE inputs, VALUE opts)
|
130
|
+
static VALUE rb_tulip_aroon(VALUE self, VALUE inputs, VALUE opts)
|
131
131
|
{
|
132
132
|
return ti_wrapper(inputs, opts, "aroon");
|
133
133
|
}
|
134
134
|
|
135
|
-
VALUE rb_tulip_aroonosc(VALUE self, VALUE inputs, VALUE opts)
|
135
|
+
static VALUE rb_tulip_aroonosc(VALUE self, VALUE inputs, VALUE opts)
|
136
136
|
{
|
137
137
|
return ti_wrapper(inputs, opts, "aroonosc");
|
138
138
|
}
|
139
139
|
|
140
|
-
VALUE rb_tulip_asin(VALUE self, VALUE inputs, VALUE opts)
|
140
|
+
static VALUE rb_tulip_asin(VALUE self, VALUE inputs, VALUE opts)
|
141
141
|
{
|
142
142
|
return ti_wrapper(inputs, opts, "asin");
|
143
143
|
}
|
144
144
|
|
145
|
-
VALUE rb_tulip_atan(VALUE self, VALUE inputs, VALUE opts)
|
145
|
+
static VALUE rb_tulip_atan(VALUE self, VALUE inputs, VALUE opts)
|
146
146
|
{
|
147
147
|
return ti_wrapper(inputs, opts, "atan");
|
148
148
|
}
|
149
149
|
|
150
|
-
VALUE rb_tulip_atr(VALUE self, VALUE inputs, VALUE opts)
|
150
|
+
static VALUE rb_tulip_atr(VALUE self, VALUE inputs, VALUE opts)
|
151
151
|
{
|
152
152
|
return ti_wrapper(inputs, opts, "atr");
|
153
153
|
}
|
154
154
|
|
155
|
-
VALUE rb_tulip_avgprice(VALUE self, VALUE inputs, VALUE opts)
|
155
|
+
static VALUE rb_tulip_avgprice(VALUE self, VALUE inputs, VALUE opts)
|
156
156
|
{
|
157
157
|
return ti_wrapper(inputs, opts, "avgprice");
|
158
158
|
}
|
159
159
|
|
160
|
-
VALUE rb_tulip_bbands(VALUE self, VALUE inputs, VALUE opts)
|
160
|
+
static VALUE rb_tulip_bbands(VALUE self, VALUE inputs, VALUE opts)
|
161
161
|
{
|
162
162
|
return ti_wrapper(inputs, opts, "bbands");
|
163
163
|
}
|
164
164
|
|
165
|
-
VALUE rb_tulip_bop(VALUE self, VALUE inputs, VALUE opts)
|
165
|
+
static VALUE rb_tulip_bop(VALUE self, VALUE inputs, VALUE opts)
|
166
166
|
{
|
167
167
|
return ti_wrapper(inputs, opts, "bop");
|
168
168
|
}
|
169
169
|
|
170
|
-
VALUE rb_tulip_cci(VALUE self, VALUE inputs, VALUE opts)
|
170
|
+
static VALUE rb_tulip_cci(VALUE self, VALUE inputs, VALUE opts)
|
171
171
|
{
|
172
172
|
return ti_wrapper(inputs, opts, "cci");
|
173
173
|
}
|
174
174
|
|
175
|
-
VALUE rb_tulip_ceil(VALUE self, VALUE inputs, VALUE opts)
|
175
|
+
static VALUE rb_tulip_ceil(VALUE self, VALUE inputs, VALUE opts)
|
176
176
|
{
|
177
177
|
return ti_wrapper(inputs, opts, "ceil");
|
178
178
|
}
|
179
179
|
|
180
|
-
VALUE rb_tulip_cmo(VALUE self, VALUE inputs, VALUE opts)
|
180
|
+
static VALUE rb_tulip_cmo(VALUE self, VALUE inputs, VALUE opts)
|
181
181
|
{
|
182
182
|
return ti_wrapper(inputs, opts, "cmo");
|
183
183
|
}
|
184
184
|
|
185
|
-
VALUE rb_tulip_cos(VALUE self, VALUE inputs, VALUE opts)
|
185
|
+
static VALUE rb_tulip_cos(VALUE self, VALUE inputs, VALUE opts)
|
186
186
|
{
|
187
187
|
return ti_wrapper(inputs, opts, "cos");
|
188
188
|
}
|
189
189
|
|
190
|
-
VALUE rb_tulip_cosh(VALUE self, VALUE inputs, VALUE opts)
|
190
|
+
static VALUE rb_tulip_cosh(VALUE self, VALUE inputs, VALUE opts)
|
191
191
|
{
|
192
192
|
return ti_wrapper(inputs, opts, "cosh");
|
193
193
|
}
|
194
194
|
|
195
|
-
VALUE rb_tulip_crossany(VALUE self, VALUE inputs, VALUE opts)
|
195
|
+
static VALUE rb_tulip_crossany(VALUE self, VALUE inputs, VALUE opts)
|
196
196
|
{
|
197
197
|
return ti_wrapper(inputs, opts, "crossany");
|
198
198
|
}
|
199
199
|
|
200
|
-
VALUE rb_tulip_crossover(VALUE self, VALUE inputs, VALUE opts)
|
200
|
+
static VALUE rb_tulip_crossover(VALUE self, VALUE inputs, VALUE opts)
|
201
201
|
{
|
202
202
|
return ti_wrapper(inputs, opts, "crossover");
|
203
203
|
}
|
204
204
|
|
205
|
-
VALUE rb_tulip_cvi(VALUE self, VALUE inputs, VALUE opts)
|
205
|
+
static VALUE rb_tulip_cvi(VALUE self, VALUE inputs, VALUE opts)
|
206
206
|
{
|
207
207
|
return ti_wrapper(inputs, opts, "cvi");
|
208
208
|
}
|
209
209
|
|
210
|
-
VALUE rb_tulip_decay(VALUE self, VALUE inputs, VALUE opts)
|
210
|
+
static VALUE rb_tulip_decay(VALUE self, VALUE inputs, VALUE opts)
|
211
211
|
{
|
212
212
|
return ti_wrapper(inputs, opts, "decay");
|
213
213
|
}
|
214
214
|
|
215
|
-
VALUE rb_tulip_dema(VALUE self, VALUE inputs, VALUE opts)
|
215
|
+
static VALUE rb_tulip_dema(VALUE self, VALUE inputs, VALUE opts)
|
216
216
|
{
|
217
217
|
return ti_wrapper(inputs, opts, "dema");
|
218
218
|
}
|
219
219
|
|
220
|
-
VALUE rb_tulip_di(VALUE self, VALUE inputs, VALUE opts)
|
220
|
+
static VALUE rb_tulip_di(VALUE self, VALUE inputs, VALUE opts)
|
221
221
|
{
|
222
222
|
return ti_wrapper(inputs, opts, "di");
|
223
223
|
}
|
224
224
|
|
225
|
-
VALUE rb_tulip_div(VALUE self, VALUE inputs, VALUE opts)
|
225
|
+
static VALUE rb_tulip_div(VALUE self, VALUE inputs, VALUE opts)
|
226
226
|
{
|
227
227
|
return ti_wrapper(inputs, opts, "div");
|
228
228
|
}
|
229
229
|
|
230
|
-
VALUE rb_tulip_dm(VALUE self, VALUE inputs, VALUE opts)
|
230
|
+
static VALUE rb_tulip_dm(VALUE self, VALUE inputs, VALUE opts)
|
231
231
|
{
|
232
232
|
return ti_wrapper(inputs, opts, "dm");
|
233
233
|
}
|
234
234
|
|
235
|
-
VALUE rb_tulip_dpo(VALUE self, VALUE inputs, VALUE opts)
|
235
|
+
static VALUE rb_tulip_dpo(VALUE self, VALUE inputs, VALUE opts)
|
236
236
|
{
|
237
237
|
return ti_wrapper(inputs, opts, "dpo");
|
238
238
|
}
|
239
239
|
|
240
|
-
VALUE rb_tulip_dx(VALUE self, VALUE inputs, VALUE opts)
|
240
|
+
static VALUE rb_tulip_dx(VALUE self, VALUE inputs, VALUE opts)
|
241
241
|
{
|
242
242
|
return ti_wrapper(inputs, opts, "dx");
|
243
243
|
}
|
244
244
|
|
245
|
-
VALUE rb_tulip_edecay(VALUE self, VALUE inputs, VALUE opts)
|
245
|
+
static VALUE rb_tulip_edecay(VALUE self, VALUE inputs, VALUE opts)
|
246
246
|
{
|
247
247
|
return ti_wrapper(inputs, opts, "edecay");
|
248
248
|
}
|
249
249
|
|
250
|
-
VALUE rb_tulip_ema(VALUE self, VALUE inputs, VALUE opts)
|
250
|
+
static VALUE rb_tulip_ema(VALUE self, VALUE inputs, VALUE opts)
|
251
251
|
{
|
252
252
|
return ti_wrapper(inputs, opts, "ema");
|
253
253
|
}
|
254
254
|
|
255
|
-
VALUE rb_tulip_emv(VALUE self, VALUE inputs, VALUE opts)
|
255
|
+
static VALUE rb_tulip_emv(VALUE self, VALUE inputs, VALUE opts)
|
256
256
|
{
|
257
257
|
return ti_wrapper(inputs, opts, "emv");
|
258
258
|
}
|
259
259
|
|
260
|
-
VALUE rb_tulip_exp(VALUE self, VALUE inputs, VALUE opts)
|
260
|
+
static VALUE rb_tulip_exp(VALUE self, VALUE inputs, VALUE opts)
|
261
261
|
{
|
262
262
|
return ti_wrapper(inputs, opts, "exp");
|
263
263
|
}
|
264
264
|
|
265
|
-
VALUE rb_tulip_fisher(VALUE self, VALUE inputs, VALUE opts)
|
265
|
+
static VALUE rb_tulip_fisher(VALUE self, VALUE inputs, VALUE opts)
|
266
266
|
{
|
267
267
|
return ti_wrapper(inputs, opts, "fisher");
|
268
268
|
}
|
269
269
|
|
270
|
-
VALUE rb_tulip_floor(VALUE self, VALUE inputs, VALUE opts)
|
270
|
+
static VALUE rb_tulip_floor(VALUE self, VALUE inputs, VALUE opts)
|
271
271
|
{
|
272
272
|
return ti_wrapper(inputs, opts, "floor");
|
273
273
|
}
|
274
274
|
|
275
|
-
VALUE rb_tulip_fosc(VALUE self, VALUE inputs, VALUE opts)
|
275
|
+
static VALUE rb_tulip_fosc(VALUE self, VALUE inputs, VALUE opts)
|
276
276
|
{
|
277
277
|
return ti_wrapper(inputs, opts, "fosc");
|
278
278
|
}
|
279
279
|
|
280
|
-
VALUE rb_tulip_hma(VALUE self, VALUE inputs, VALUE opts)
|
280
|
+
static VALUE rb_tulip_hma(VALUE self, VALUE inputs, VALUE opts)
|
281
281
|
{
|
282
282
|
return ti_wrapper(inputs, opts, "hma");
|
283
283
|
}
|
284
284
|
|
285
|
-
VALUE rb_tulip_kama(VALUE self, VALUE inputs, VALUE opts)
|
285
|
+
static VALUE rb_tulip_kama(VALUE self, VALUE inputs, VALUE opts)
|
286
286
|
{
|
287
287
|
return ti_wrapper(inputs, opts, "kama");
|
288
288
|
}
|
289
289
|
|
290
|
-
VALUE rb_tulip_kvo(VALUE self, VALUE inputs, VALUE opts)
|
290
|
+
static VALUE rb_tulip_kvo(VALUE self, VALUE inputs, VALUE opts)
|
291
291
|
{
|
292
292
|
return ti_wrapper(inputs, opts, "kvo");
|
293
293
|
}
|
294
294
|
|
295
|
-
VALUE rb_tulip_lag(VALUE self, VALUE inputs, VALUE opts)
|
295
|
+
static VALUE rb_tulip_lag(VALUE self, VALUE inputs, VALUE opts)
|
296
296
|
{
|
297
297
|
return ti_wrapper(inputs, opts, "lag");
|
298
298
|
}
|
299
299
|
|
300
|
-
VALUE rb_tulip_linreg(VALUE self, VALUE inputs, VALUE opts)
|
300
|
+
static VALUE rb_tulip_linreg(VALUE self, VALUE inputs, VALUE opts)
|
301
301
|
{
|
302
302
|
return ti_wrapper(inputs, opts, "linreg");
|
303
303
|
}
|
304
304
|
|
305
|
-
VALUE rb_tulip_linregintercept(VALUE self, VALUE inputs, VALUE opts)
|
305
|
+
static VALUE rb_tulip_linregintercept(VALUE self, VALUE inputs, VALUE opts)
|
306
306
|
{
|
307
307
|
return ti_wrapper(inputs, opts, "linregintercept");
|
308
308
|
}
|
309
309
|
|
310
|
-
VALUE rb_tulip_linregslope(VALUE self, VALUE inputs, VALUE opts)
|
310
|
+
static VALUE rb_tulip_linregslope(VALUE self, VALUE inputs, VALUE opts)
|
311
311
|
{
|
312
312
|
return ti_wrapper(inputs, opts, "linregslope");
|
313
313
|
}
|
314
314
|
|
315
|
-
VALUE rb_tulip_ln(VALUE self, VALUE inputs, VALUE opts)
|
315
|
+
static VALUE rb_tulip_ln(VALUE self, VALUE inputs, VALUE opts)
|
316
316
|
{
|
317
317
|
return ti_wrapper(inputs, opts, "ln");
|
318
318
|
}
|
319
319
|
|
320
|
-
VALUE rb_tulip_log10(VALUE self, VALUE inputs, VALUE opts)
|
320
|
+
static VALUE rb_tulip_log10(VALUE self, VALUE inputs, VALUE opts)
|
321
321
|
{
|
322
322
|
return ti_wrapper(inputs, opts, "log10");
|
323
323
|
}
|
324
324
|
|
325
|
-
VALUE rb_tulip_macd(VALUE self, VALUE inputs, VALUE opts)
|
325
|
+
static VALUE rb_tulip_macd(VALUE self, VALUE inputs, VALUE opts)
|
326
326
|
{
|
327
327
|
return ti_wrapper(inputs, opts, "macd");
|
328
328
|
}
|
329
329
|
|
330
|
-
VALUE rb_tulip_marketfi(VALUE self, VALUE inputs, VALUE opts)
|
330
|
+
static VALUE rb_tulip_marketfi(VALUE self, VALUE inputs, VALUE opts)
|
331
331
|
{
|
332
332
|
return ti_wrapper(inputs, opts, "marketfi");
|
333
333
|
}
|
334
334
|
|
335
|
-
VALUE rb_tulip_mass(VALUE self, VALUE inputs, VALUE opts)
|
335
|
+
static VALUE rb_tulip_mass(VALUE self, VALUE inputs, VALUE opts)
|
336
336
|
{
|
337
337
|
return ti_wrapper(inputs, opts, "mass");
|
338
338
|
}
|
339
339
|
|
340
|
-
VALUE rb_tulip_max(VALUE self, VALUE inputs, VALUE opts)
|
340
|
+
static VALUE rb_tulip_max(VALUE self, VALUE inputs, VALUE opts)
|
341
341
|
{
|
342
342
|
return ti_wrapper(inputs, opts, "max");
|
343
343
|
}
|
344
344
|
|
345
|
-
VALUE rb_tulip_md(VALUE self, VALUE inputs, VALUE opts)
|
345
|
+
static VALUE rb_tulip_md(VALUE self, VALUE inputs, VALUE opts)
|
346
346
|
{
|
347
347
|
return ti_wrapper(inputs, opts, "md");
|
348
348
|
}
|
349
349
|
|
350
|
-
VALUE rb_tulip_medprice(VALUE self, VALUE inputs, VALUE opts)
|
350
|
+
static VALUE rb_tulip_medprice(VALUE self, VALUE inputs, VALUE opts)
|
351
351
|
{
|
352
352
|
return ti_wrapper(inputs, opts, "medprice");
|
353
353
|
}
|
354
354
|
|
355
|
-
VALUE rb_tulip_mfi(VALUE self, VALUE inputs, VALUE opts)
|
355
|
+
static VALUE rb_tulip_mfi(VALUE self, VALUE inputs, VALUE opts)
|
356
356
|
{
|
357
357
|
return ti_wrapper(inputs, opts, "mfi");
|
358
358
|
}
|
359
359
|
|
360
|
-
VALUE rb_tulip_min(VALUE self, VALUE inputs, VALUE opts)
|
360
|
+
static VALUE rb_tulip_min(VALUE self, VALUE inputs, VALUE opts)
|
361
361
|
{
|
362
362
|
return ti_wrapper(inputs, opts, "min");
|
363
363
|
}
|
364
364
|
|
365
|
-
VALUE rb_tulip_mom(VALUE self, VALUE inputs, VALUE opts)
|
365
|
+
static VALUE rb_tulip_mom(VALUE self, VALUE inputs, VALUE opts)
|
366
366
|
{
|
367
367
|
return ti_wrapper(inputs, opts, "mom");
|
368
368
|
}
|
369
369
|
|
370
|
-
VALUE rb_tulip_msw(VALUE self, VALUE inputs, VALUE opts)
|
370
|
+
static VALUE rb_tulip_msw(VALUE self, VALUE inputs, VALUE opts)
|
371
371
|
{
|
372
372
|
return ti_wrapper(inputs, opts, "msw");
|
373
373
|
}
|
374
374
|
|
375
|
-
VALUE rb_tulip_mul(VALUE self, VALUE inputs, VALUE opts)
|
375
|
+
static VALUE rb_tulip_mul(VALUE self, VALUE inputs, VALUE opts)
|
376
376
|
{
|
377
377
|
return ti_wrapper(inputs, opts, "mul");
|
378
378
|
}
|
379
379
|
|
380
|
-
VALUE rb_tulip_natr(VALUE self, VALUE inputs, VALUE opts)
|
380
|
+
static VALUE rb_tulip_natr(VALUE self, VALUE inputs, VALUE opts)
|
381
381
|
{
|
382
382
|
return ti_wrapper(inputs, opts, "natr");
|
383
383
|
}
|
384
384
|
|
385
|
-
VALUE rb_tulip_nvi(VALUE self, VALUE inputs, VALUE opts)
|
385
|
+
static VALUE rb_tulip_nvi(VALUE self, VALUE inputs, VALUE opts)
|
386
386
|
{
|
387
387
|
return ti_wrapper(inputs, opts, "nvi");
|
388
388
|
}
|
389
389
|
|
390
|
-
VALUE rb_tulip_obv(VALUE self, VALUE inputs, VALUE opts)
|
390
|
+
static VALUE rb_tulip_obv(VALUE self, VALUE inputs, VALUE opts)
|
391
391
|
{
|
392
392
|
return ti_wrapper(inputs, opts, "obv");
|
393
393
|
}
|
394
394
|
|
395
|
-
VALUE rb_tulip_ppo(VALUE self, VALUE inputs, VALUE opts)
|
395
|
+
static VALUE rb_tulip_ppo(VALUE self, VALUE inputs, VALUE opts)
|
396
396
|
{
|
397
397
|
return ti_wrapper(inputs, opts, "ppo");
|
398
398
|
}
|
399
399
|
|
400
|
-
VALUE rb_tulip_psar(VALUE self, VALUE inputs, VALUE opts)
|
400
|
+
static VALUE rb_tulip_psar(VALUE self, VALUE inputs, VALUE opts)
|
401
401
|
{
|
402
402
|
return ti_wrapper(inputs, opts, "psar");
|
403
403
|
}
|
404
404
|
|
405
|
-
VALUE rb_tulip_pvi(VALUE self, VALUE inputs, VALUE opts)
|
405
|
+
static VALUE rb_tulip_pvi(VALUE self, VALUE inputs, VALUE opts)
|
406
406
|
{
|
407
407
|
return ti_wrapper(inputs, opts, "pvi");
|
408
408
|
}
|
409
409
|
|
410
|
-
VALUE rb_tulip_qstick(VALUE self, VALUE inputs, VALUE opts)
|
410
|
+
static VALUE rb_tulip_qstick(VALUE self, VALUE inputs, VALUE opts)
|
411
411
|
{
|
412
412
|
return ti_wrapper(inputs, opts, "qstick");
|
413
413
|
}
|
414
414
|
|
415
|
-
VALUE rb_tulip_roc(VALUE self, VALUE inputs, VALUE opts)
|
415
|
+
static VALUE rb_tulip_roc(VALUE self, VALUE inputs, VALUE opts)
|
416
416
|
{
|
417
417
|
return ti_wrapper(inputs, opts, "roc");
|
418
418
|
}
|
419
419
|
|
420
|
-
VALUE rb_tulip_rocr(VALUE self, VALUE inputs, VALUE opts)
|
420
|
+
static VALUE rb_tulip_rocr(VALUE self, VALUE inputs, VALUE opts)
|
421
421
|
{
|
422
422
|
return ti_wrapper(inputs, opts, "rocr");
|
423
423
|
}
|
424
424
|
|
425
|
-
VALUE rb_tulip_round(VALUE self, VALUE inputs, VALUE opts)
|
425
|
+
static VALUE rb_tulip_round(VALUE self, VALUE inputs, VALUE opts)
|
426
426
|
{
|
427
427
|
return ti_wrapper(inputs, opts, "round");
|
428
428
|
}
|
429
429
|
|
430
|
-
VALUE rb_tulip_rsi(VALUE self, VALUE inputs, VALUE opts)
|
430
|
+
static VALUE rb_tulip_rsi(VALUE self, VALUE inputs, VALUE opts)
|
431
431
|
{
|
432
432
|
return ti_wrapper(inputs, opts, "rsi");
|
433
433
|
}
|
434
434
|
|
435
|
-
VALUE rb_tulip_sin(VALUE self, VALUE inputs, VALUE opts)
|
435
|
+
static VALUE rb_tulip_sin(VALUE self, VALUE inputs, VALUE opts)
|
436
436
|
{
|
437
437
|
return ti_wrapper(inputs, opts, "sin");
|
438
438
|
}
|
439
439
|
|
440
|
-
VALUE rb_tulip_sinh(VALUE self, VALUE inputs, VALUE opts)
|
440
|
+
static VALUE rb_tulip_sinh(VALUE self, VALUE inputs, VALUE opts)
|
441
441
|
{
|
442
442
|
return ti_wrapper(inputs, opts, "sinh");
|
443
443
|
}
|
444
444
|
|
445
|
-
VALUE rb_tulip_sma(VALUE self, VALUE inputs, VALUE opts)
|
445
|
+
static VALUE rb_tulip_sma(VALUE self, VALUE inputs, VALUE opts)
|
446
446
|
{
|
447
447
|
return ti_wrapper(inputs, opts, "sma");
|
448
448
|
}
|
449
449
|
|
450
|
-
VALUE rb_tulip_sqrt(VALUE self, VALUE inputs, VALUE opts)
|
450
|
+
static VALUE rb_tulip_sqrt(VALUE self, VALUE inputs, VALUE opts)
|
451
451
|
{
|
452
452
|
return ti_wrapper(inputs, opts, "sqrt");
|
453
453
|
}
|
454
454
|
|
455
|
-
VALUE rb_tulip_stddev(VALUE self, VALUE inputs, VALUE opts)
|
455
|
+
static VALUE rb_tulip_stddev(VALUE self, VALUE inputs, VALUE opts)
|
456
456
|
{
|
457
457
|
return ti_wrapper(inputs, opts, "stddev");
|
458
458
|
}
|
459
459
|
|
460
|
-
VALUE rb_tulip_stderr(VALUE self, VALUE inputs, VALUE opts)
|
460
|
+
static VALUE rb_tulip_stderr(VALUE self, VALUE inputs, VALUE opts)
|
461
461
|
{
|
462
462
|
return ti_wrapper(inputs, opts, "stderr");
|
463
463
|
}
|
464
464
|
|
465
|
-
VALUE rb_tulip_stoch(VALUE self, VALUE inputs, VALUE opts)
|
465
|
+
static VALUE rb_tulip_stoch(VALUE self, VALUE inputs, VALUE opts)
|
466
466
|
{
|
467
467
|
return ti_wrapper(inputs, opts, "stoch");
|
468
468
|
}
|
469
469
|
|
470
|
-
VALUE rb_tulip_stochrsi(VALUE self, VALUE inputs, VALUE opts)
|
470
|
+
static VALUE rb_tulip_stochrsi(VALUE self, VALUE inputs, VALUE opts)
|
471
471
|
{
|
472
472
|
return ti_wrapper(inputs, opts, "stochrsi");
|
473
473
|
}
|
474
474
|
|
475
|
-
VALUE rb_tulip_sub(VALUE self, VALUE inputs, VALUE opts)
|
475
|
+
static VALUE rb_tulip_sub(VALUE self, VALUE inputs, VALUE opts)
|
476
476
|
{
|
477
477
|
return ti_wrapper(inputs, opts, "sub");
|
478
478
|
}
|
479
479
|
|
480
|
-
VALUE rb_tulip_sum(VALUE self, VALUE inputs, VALUE opts)
|
480
|
+
static VALUE rb_tulip_sum(VALUE self, VALUE inputs, VALUE opts)
|
481
481
|
{
|
482
482
|
return ti_wrapper(inputs, opts, "sum");
|
483
483
|
}
|
484
484
|
|
485
|
-
VALUE rb_tulip_tan(VALUE self, VALUE inputs, VALUE opts)
|
485
|
+
static VALUE rb_tulip_tan(VALUE self, VALUE inputs, VALUE opts)
|
486
486
|
{
|
487
487
|
return ti_wrapper(inputs, opts, "tan");
|
488
488
|
}
|
489
489
|
|
490
|
-
VALUE rb_tulip_tanh(VALUE self, VALUE inputs, VALUE opts)
|
490
|
+
static VALUE rb_tulip_tanh(VALUE self, VALUE inputs, VALUE opts)
|
491
491
|
{
|
492
492
|
return ti_wrapper(inputs, opts, "tanh");
|
493
493
|
}
|
494
494
|
|
495
|
-
VALUE rb_tulip_tema(VALUE self, VALUE inputs, VALUE opts)
|
495
|
+
static VALUE rb_tulip_tema(VALUE self, VALUE inputs, VALUE opts)
|
496
496
|
{
|
497
497
|
return ti_wrapper(inputs, opts, "tema");
|
498
498
|
}
|
499
499
|
|
500
|
-
VALUE rb_tulip_todeg(VALUE self, VALUE inputs, VALUE opts)
|
500
|
+
static VALUE rb_tulip_todeg(VALUE self, VALUE inputs, VALUE opts)
|
501
501
|
{
|
502
502
|
return ti_wrapper(inputs, opts, "todeg");
|
503
503
|
}
|
504
504
|
|
505
|
-
VALUE rb_tulip_torad(VALUE self, VALUE inputs, VALUE opts)
|
505
|
+
static VALUE rb_tulip_torad(VALUE self, VALUE inputs, VALUE opts)
|
506
506
|
{
|
507
507
|
return ti_wrapper(inputs, opts, "torad");
|
508
508
|
}
|
509
509
|
|
510
|
-
VALUE rb_tulip_tr(VALUE self, VALUE inputs, VALUE opts)
|
510
|
+
static VALUE rb_tulip_tr(VALUE self, VALUE inputs, VALUE opts)
|
511
511
|
{
|
512
512
|
return ti_wrapper(inputs, opts, "tr");
|
513
513
|
}
|
514
514
|
|
515
|
-
VALUE rb_tulip_trima(VALUE self, VALUE inputs, VALUE opts)
|
515
|
+
static VALUE rb_tulip_trima(VALUE self, VALUE inputs, VALUE opts)
|
516
516
|
{
|
517
517
|
return ti_wrapper(inputs, opts, "trima");
|
518
518
|
}
|
519
519
|
|
520
|
-
VALUE rb_tulip_trix(VALUE self, VALUE inputs, VALUE opts)
|
520
|
+
static VALUE rb_tulip_trix(VALUE self, VALUE inputs, VALUE opts)
|
521
521
|
{
|
522
522
|
return ti_wrapper(inputs, opts, "trix");
|
523
523
|
}
|
524
524
|
|
525
|
-
VALUE rb_tulip_trunc(VALUE self, VALUE inputs, VALUE opts)
|
525
|
+
static VALUE rb_tulip_trunc(VALUE self, VALUE inputs, VALUE opts)
|
526
526
|
{
|
527
527
|
return ti_wrapper(inputs, opts, "trunc");
|
528
528
|
}
|
529
529
|
|
530
|
-
VALUE rb_tulip_tsf(VALUE self, VALUE inputs, VALUE opts)
|
530
|
+
static VALUE rb_tulip_tsf(VALUE self, VALUE inputs, VALUE opts)
|
531
531
|
{
|
532
532
|
return ti_wrapper(inputs, opts, "tsf");
|
533
533
|
}
|
534
534
|
|
535
|
-
VALUE rb_tulip_typprice(VALUE self, VALUE inputs, VALUE opts)
|
535
|
+
static VALUE rb_tulip_typprice(VALUE self, VALUE inputs, VALUE opts)
|
536
536
|
{
|
537
537
|
return ti_wrapper(inputs, opts, "typprice");
|
538
538
|
}
|
539
539
|
|
540
|
-
VALUE rb_tulip_ultosc(VALUE self, VALUE inputs, VALUE opts)
|
540
|
+
static VALUE rb_tulip_ultosc(VALUE self, VALUE inputs, VALUE opts)
|
541
541
|
{
|
542
542
|
return ti_wrapper(inputs, opts, "ultosc");
|
543
543
|
}
|
544
544
|
|
545
|
-
VALUE rb_tulip_var(VALUE self, VALUE inputs, VALUE opts)
|
545
|
+
static VALUE rb_tulip_var(VALUE self, VALUE inputs, VALUE opts)
|
546
546
|
{
|
547
547
|
return ti_wrapper(inputs, opts, "var");
|
548
548
|
}
|
549
549
|
|
550
|
-
VALUE rb_tulip_vhf(VALUE self, VALUE inputs, VALUE opts)
|
550
|
+
static VALUE rb_tulip_vhf(VALUE self, VALUE inputs, VALUE opts)
|
551
551
|
{
|
552
552
|
return ti_wrapper(inputs, opts, "vhf");
|
553
553
|
}
|
554
554
|
|
555
|
-
VALUE rb_tulip_vidya(VALUE self, VALUE inputs, VALUE opts)
|
555
|
+
static VALUE rb_tulip_vidya(VALUE self, VALUE inputs, VALUE opts)
|
556
556
|
{
|
557
557
|
return ti_wrapper(inputs, opts, "vidya");
|
558
558
|
}
|
559
559
|
|
560
|
-
VALUE rb_tulip_volatility(VALUE self, VALUE inputs, VALUE opts)
|
560
|
+
static VALUE rb_tulip_volatility(VALUE self, VALUE inputs, VALUE opts)
|
561
561
|
{
|
562
562
|
return ti_wrapper(inputs, opts, "volatility");
|
563
563
|
}
|
564
564
|
|
565
|
-
VALUE rb_tulip_vosc(VALUE self, VALUE inputs, VALUE opts)
|
565
|
+
static VALUE rb_tulip_vosc(VALUE self, VALUE inputs, VALUE opts)
|
566
566
|
{
|
567
567
|
return ti_wrapper(inputs, opts, "vosc");
|
568
568
|
}
|
569
569
|
|
570
|
-
VALUE rb_tulip_vwma(VALUE self, VALUE inputs, VALUE opts)
|
570
|
+
static VALUE rb_tulip_vwma(VALUE self, VALUE inputs, VALUE opts)
|
571
571
|
{
|
572
572
|
return ti_wrapper(inputs, opts, "vwma");
|
573
573
|
}
|
574
574
|
|
575
|
-
VALUE rb_tulip_wad(VALUE self, VALUE inputs, VALUE opts)
|
575
|
+
static VALUE rb_tulip_wad(VALUE self, VALUE inputs, VALUE opts)
|
576
576
|
{
|
577
577
|
return ti_wrapper(inputs, opts, "wad");
|
578
578
|
}
|
579
579
|
|
580
|
-
VALUE rb_tulip_wcprice(VALUE self, VALUE inputs, VALUE opts)
|
580
|
+
static VALUE rb_tulip_wcprice(VALUE self, VALUE inputs, VALUE opts)
|
581
581
|
{
|
582
582
|
return ti_wrapper(inputs, opts, "wcprice");
|
583
583
|
}
|
584
584
|
|
585
|
-
VALUE rb_tulip_wilders(VALUE self, VALUE inputs, VALUE opts)
|
585
|
+
static VALUE rb_tulip_wilders(VALUE self, VALUE inputs, VALUE opts)
|
586
586
|
{
|
587
587
|
return ti_wrapper(inputs, opts, "wilders");
|
588
588
|
}
|
589
589
|
|
590
|
-
VALUE rb_tulip_willr(VALUE self, VALUE inputs, VALUE opts)
|
590
|
+
static VALUE rb_tulip_willr(VALUE self, VALUE inputs, VALUE opts)
|
591
591
|
{
|
592
592
|
return ti_wrapper(inputs, opts, "willr");
|
593
593
|
}
|
594
594
|
|
595
|
-
VALUE rb_tulip_wma(VALUE self, VALUE inputs, VALUE opts)
|
595
|
+
static VALUE rb_tulip_wma(VALUE self, VALUE inputs, VALUE opts)
|
596
596
|
{
|
597
597
|
return ti_wrapper(inputs, opts, "wma");
|
598
598
|
}
|
599
599
|
|
600
|
-
VALUE rb_tulip_zlema(VALUE self, VALUE inputs, VALUE opts)
|
600
|
+
static VALUE rb_tulip_zlema(VALUE self, VALUE inputs, VALUE opts)
|
601
601
|
{
|
602
602
|
return ti_wrapper(inputs, opts, "zlema");
|
603
603
|
}
|
data/lib/tulirb/version.rb
CHANGED