cryptum 0.0.358 → 0.0.360
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +16 -0
- data/.gitignore +30 -0
- data/.rspec +3 -0
- data/.rspec_status +0 -0
- data/.rubocop.yml +31 -0
- data/.rubocop_todo.yml +36 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +38 -0
- data/LICENSE +674 -0
- data/README.md +87 -0
- data/Rakefile +19 -0
- data/bin/cryptum +73 -0
- data/bin/cryptum-forecast +200 -0
- data/bin/cryptum-repl +73 -0
- data/bin/cryptum_autoinc_version +38 -0
- data/build_cryptum_gem.sh +58 -0
- data/cryptum.gemspec +52 -0
- data/cryptum_container.sh +1 -0
- data/docker/cryptum.json +60 -0
- data/docker/cryptum_container.sh +59 -0
- data/docker/packer_secrets.json.EXAMPLE +7 -0
- data/docker/provisioners/cryptum.sh +11 -0
- data/docker/provisioners/docker_bashrc.sh +2 -0
- data/docker/provisioners/docker_rvm.sh +22 -0
- data/docker/provisioners/init_image.sh +28 -0
- data/docker/provisioners/post_install.sh +6 -0
- data/docker/provisioners/ruby.sh +16 -0
- data/docker/provisioners/upload_globals.sh +49 -0
- data/etc/bot_confs/.gitkeep +0 -0
- data/etc/bot_confs/BOT_CONF.TEMPLATE +10 -0
- data/etc/coinbase_pro.yaml.EXAMPLE +8 -0
- data/etc/open_ai.yaml.EXAMPLE +1 -0
- data/git_commit.sh +22 -0
- data/lib/cryptum/api.rb +688 -0
- data/lib/cryptum/bot_conf.rb +197 -0
- data/lib/cryptum/event/bot_conf.rb +34 -0
- data/lib/cryptum/event/buy.rb +145 -0
- data/lib/cryptum/event/cancel.rb +35 -0
- data/lib/cryptum/event/exit.rb +35 -0
- data/lib/cryptum/event/gtfo.rb +36 -0
- data/lib/cryptum/event/history.rb +108 -0
- data/lib/cryptum/event/key_press.rb +64 -0
- data/lib/cryptum/event/order_book.rb +34 -0
- data/lib/cryptum/event/pane.rb +65 -0
- data/lib/cryptum/event/parse.rb +181 -0
- data/lib/cryptum/event/scroll.rb +200 -0
- data/lib/cryptum/event/sell.rb +124 -0
- data/lib/cryptum/event.rb +27 -0
- data/lib/cryptum/log.rb +34 -0
- data/lib/cryptum/matrix.rb +181 -0
- data/lib/cryptum/open_ai.rb +156 -0
- data/lib/cryptum/option/choice.rb +28 -0
- data/lib/cryptum/option.rb +206 -0
- data/lib/cryptum/order_book/generate.rb +114 -0
- data/lib/cryptum/order_book/indicator.rb +15 -0
- data/lib/cryptum/order_book/market_trend.rb +137 -0
- data/lib/cryptum/order_book/profit_margin.rb +55 -0
- data/lib/cryptum/order_book.rb +19 -0
- data/lib/cryptum/portfolio/balance.rb +123 -0
- data/lib/cryptum/portfolio.rb +15 -0
- data/lib/cryptum/ui/command.rb +314 -0
- data/lib/cryptum/ui/key_press_event.rb +33 -0
- data/lib/cryptum/ui/market_trend.rb +77 -0
- data/lib/cryptum/ui/order_execute_details.rb +297 -0
- data/lib/cryptum/ui/order_execution.rb +573 -0
- data/lib/cryptum/ui/order_plan.rb +512 -0
- data/lib/cryptum/ui/order_plan_details.rb +240 -0
- data/lib/cryptum/ui/order_timer.rb +136 -0
- data/lib/cryptum/ui/portfolio.rb +221 -0
- data/lib/cryptum/ui/signal_engine.rb +109 -0
- data/lib/cryptum/ui/terminal_window.rb +111 -0
- data/lib/cryptum/ui/ticker.rb +319 -0
- data/lib/cryptum/ui.rb +343 -0
- data/lib/cryptum/version.rb +5 -0
- data/lib/cryptum/web_sock/coinbase.rb +104 -0
- data/lib/cryptum/web_sock/event_machine.rb +276 -0
- data/lib/cryptum/web_sock.rb +16 -0
- data/lib/cryptum.rb +120 -0
- data/order_books/.gitkeep +0 -0
- data/reinstall_cryptum_gemset.sh +29 -0
- data/spec/lib/cryptum/api_spec.rb +10 -0
- data/spec/lib/cryptum/event_spec.rb +10 -0
- data/spec/lib/cryptum/log_spec.rb +10 -0
- data/spec/lib/cryptum/option_spec.rb +10 -0
- data/spec/lib/cryptum/order_book/generate_spec.rb +10 -0
- data/spec/lib/cryptum/order_book/market_trend_spec.rb +10 -0
- data/spec/lib/cryptum/order_book_spec.rb +10 -0
- data/spec/lib/cryptum/ui/command_spec.rb +10 -0
- data/spec/lib/cryptum/ui/ticker_spec.rb +10 -0
- data/spec/lib/cryptum/ui_spec.rb +10 -0
- data/spec/lib/cryptum/web_sock_spec.rb +10 -0
- data/spec/lib/cryptum_spec.rb +10 -0
- data/spec/spec_helper.rb +3 -0
- data/upgrade_Gemfile_gems.sh +20 -0
- data/upgrade_cryptum.sh +13 -0
- data/upgrade_gem.sh +4 -0
- data/upgrade_ruby.sh +45 -0
- metadata +112 -9
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cryptum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.360
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.4.
|
33
|
+
version: 2.4.4
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.4.
|
40
|
+
version: 2.4.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler-audit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -254,14 +254,14 @@ dependencies:
|
|
254
254
|
requirements:
|
255
255
|
- - '='
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: 2.
|
257
|
+
version: 2.18.0
|
258
258
|
type: :runtime
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
262
|
- - '='
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: 2.
|
264
|
+
version: 2.18.0
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: ruby-prof
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -363,10 +363,113 @@ dependencies:
|
|
363
363
|
description: Personalized High-Frequency Trading Bot
|
364
364
|
email:
|
365
365
|
- request.pentest@0dayinc.com
|
366
|
-
executables:
|
366
|
+
executables:
|
367
|
+
- cryptum
|
368
|
+
- cryptum-forecast
|
369
|
+
- cryptum-repl
|
370
|
+
- cryptum_autoinc_version
|
367
371
|
extensions: []
|
368
372
|
extra_rdoc_files: []
|
369
|
-
files:
|
373
|
+
files:
|
374
|
+
- ".github/workflows/main.yml"
|
375
|
+
- ".gitignore"
|
376
|
+
- ".rspec"
|
377
|
+
- ".rspec_status"
|
378
|
+
- ".rubocop.yml"
|
379
|
+
- ".rubocop_todo.yml"
|
380
|
+
- ".ruby-gemset"
|
381
|
+
- ".ruby-version"
|
382
|
+
- CODE_OF_CONDUCT.md
|
383
|
+
- Gemfile
|
384
|
+
- LICENSE
|
385
|
+
- README.md
|
386
|
+
- Rakefile
|
387
|
+
- bin/cryptum
|
388
|
+
- bin/cryptum-forecast
|
389
|
+
- bin/cryptum-repl
|
390
|
+
- bin/cryptum_autoinc_version
|
391
|
+
- build_cryptum_gem.sh
|
392
|
+
- cryptum.gemspec
|
393
|
+
- cryptum_container.sh
|
394
|
+
- docker/cryptum.json
|
395
|
+
- docker/cryptum_container.sh
|
396
|
+
- docker/packer_secrets.json.EXAMPLE
|
397
|
+
- docker/provisioners/cryptum.sh
|
398
|
+
- docker/provisioners/docker_bashrc.sh
|
399
|
+
- docker/provisioners/docker_rvm.sh
|
400
|
+
- docker/provisioners/init_image.sh
|
401
|
+
- docker/provisioners/post_install.sh
|
402
|
+
- docker/provisioners/ruby.sh
|
403
|
+
- docker/provisioners/upload_globals.sh
|
404
|
+
- etc/bot_confs/.gitkeep
|
405
|
+
- etc/bot_confs/BOT_CONF.TEMPLATE
|
406
|
+
- etc/coinbase_pro.yaml.EXAMPLE
|
407
|
+
- etc/open_ai.yaml.EXAMPLE
|
408
|
+
- git_commit.sh
|
409
|
+
- lib/cryptum.rb
|
410
|
+
- lib/cryptum/api.rb
|
411
|
+
- lib/cryptum/bot_conf.rb
|
412
|
+
- lib/cryptum/event.rb
|
413
|
+
- lib/cryptum/event/bot_conf.rb
|
414
|
+
- lib/cryptum/event/buy.rb
|
415
|
+
- lib/cryptum/event/cancel.rb
|
416
|
+
- lib/cryptum/event/exit.rb
|
417
|
+
- lib/cryptum/event/gtfo.rb
|
418
|
+
- lib/cryptum/event/history.rb
|
419
|
+
- lib/cryptum/event/key_press.rb
|
420
|
+
- lib/cryptum/event/order_book.rb
|
421
|
+
- lib/cryptum/event/pane.rb
|
422
|
+
- lib/cryptum/event/parse.rb
|
423
|
+
- lib/cryptum/event/scroll.rb
|
424
|
+
- lib/cryptum/event/sell.rb
|
425
|
+
- lib/cryptum/log.rb
|
426
|
+
- lib/cryptum/matrix.rb
|
427
|
+
- lib/cryptum/open_ai.rb
|
428
|
+
- lib/cryptum/option.rb
|
429
|
+
- lib/cryptum/option/choice.rb
|
430
|
+
- lib/cryptum/order_book.rb
|
431
|
+
- lib/cryptum/order_book/generate.rb
|
432
|
+
- lib/cryptum/order_book/indicator.rb
|
433
|
+
- lib/cryptum/order_book/market_trend.rb
|
434
|
+
- lib/cryptum/order_book/profit_margin.rb
|
435
|
+
- lib/cryptum/portfolio.rb
|
436
|
+
- lib/cryptum/portfolio/balance.rb
|
437
|
+
- lib/cryptum/ui.rb
|
438
|
+
- lib/cryptum/ui/command.rb
|
439
|
+
- lib/cryptum/ui/key_press_event.rb
|
440
|
+
- lib/cryptum/ui/market_trend.rb
|
441
|
+
- lib/cryptum/ui/order_execute_details.rb
|
442
|
+
- lib/cryptum/ui/order_execution.rb
|
443
|
+
- lib/cryptum/ui/order_plan.rb
|
444
|
+
- lib/cryptum/ui/order_plan_details.rb
|
445
|
+
- lib/cryptum/ui/order_timer.rb
|
446
|
+
- lib/cryptum/ui/portfolio.rb
|
447
|
+
- lib/cryptum/ui/signal_engine.rb
|
448
|
+
- lib/cryptum/ui/terminal_window.rb
|
449
|
+
- lib/cryptum/ui/ticker.rb
|
450
|
+
- lib/cryptum/version.rb
|
451
|
+
- lib/cryptum/web_sock.rb
|
452
|
+
- lib/cryptum/web_sock/coinbase.rb
|
453
|
+
- lib/cryptum/web_sock/event_machine.rb
|
454
|
+
- order_books/.gitkeep
|
455
|
+
- reinstall_cryptum_gemset.sh
|
456
|
+
- spec/lib/cryptum/api_spec.rb
|
457
|
+
- spec/lib/cryptum/event_spec.rb
|
458
|
+
- spec/lib/cryptum/log_spec.rb
|
459
|
+
- spec/lib/cryptum/option_spec.rb
|
460
|
+
- spec/lib/cryptum/order_book/generate_spec.rb
|
461
|
+
- spec/lib/cryptum/order_book/market_trend_spec.rb
|
462
|
+
- spec/lib/cryptum/order_book_spec.rb
|
463
|
+
- spec/lib/cryptum/ui/command_spec.rb
|
464
|
+
- spec/lib/cryptum/ui/ticker_spec.rb
|
465
|
+
- spec/lib/cryptum/ui_spec.rb
|
466
|
+
- spec/lib/cryptum/web_sock_spec.rb
|
467
|
+
- spec/lib/cryptum_spec.rb
|
468
|
+
- spec/spec_helper.rb
|
469
|
+
- upgrade_Gemfile_gems.sh
|
470
|
+
- upgrade_cryptum.sh
|
471
|
+
- upgrade_gem.sh
|
472
|
+
- upgrade_ruby.sh
|
370
473
|
homepage: https://github.com/0dayinc/cryptum
|
371
474
|
licenses:
|
372
475
|
- GPL
|
@@ -380,7 +483,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
380
483
|
requirements:
|
381
484
|
- - ">="
|
382
485
|
- !ruby/object:Gem::Version
|
383
|
-
version: '3.
|
486
|
+
version: '3.2'
|
384
487
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
385
488
|
requirements:
|
386
489
|
- - ">="
|