coss_bot 0.1.4 → 0.1.5
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/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +4 -4
- data/README.md +2 -1
- data/coss_bot.gemspec +4 -4
- data/lib/coss_bot/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4407a20df29b48809d7d5bac344bd0702eabf67d9f96c310611639b6f4ab89a4
|
4
|
+
data.tar.gz: 3739fd4fd651aba7f877c0e7927358711d816afab3a110daa08d13ec6f6f8ed0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6da625b27e2e48fd20ed69a93d84ec4b02b1e13870b6acdc01ce6006daf6bdd042ebd6f43d48df5796771f5cf314de04e7680cc1a29b9d8672cf7897c6d52f94
|
7
|
+
data.tar.gz: 4441d1711ad60d853cedff474ff81bce9e1aca3c716b3dac5b6e1faed465e3055dd0693d8b2720a9aac2c04155eaedf03f195e5c48e5289aa8525e2f07825095
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|
55
55
|
## Enforcement
|
56
56
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at
|
58
|
+
reported by contacting the project team at admin@coss.community. All
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
coss_bot (0.1.
|
5
|
-
coss_api_ruby_wrapper (= 0.1.
|
4
|
+
coss_bot (0.1.5)
|
5
|
+
coss_api_ruby_wrapper (= 0.1.2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
coss_api_ruby_wrapper (0.1.
|
10
|
+
coss_api_ruby_wrapper (0.1.2)
|
11
11
|
diff-lcs (1.3)
|
12
12
|
rake (10.5.0)
|
13
13
|
rspec (3.8.0)
|
@@ -29,7 +29,7 @@ PLATFORMS
|
|
29
29
|
|
30
30
|
DEPENDENCIES
|
31
31
|
bundler (~> 1.17)
|
32
|
-
coss_api_ruby_wrapper (= 0.1.
|
32
|
+
coss_api_ruby_wrapper (= 0.1.2)
|
33
33
|
coss_bot!
|
34
34
|
rake (~> 10.0)
|
35
35
|
rspec (~> 3.0)
|
data/README.md
CHANGED
@@ -27,6 +27,7 @@ bot.lot_size = 10 # 10 coss tokens will be bought/sold
|
|
27
27
|
bot.profit = 0.1 # SELL order will be 0.1% higher than BUY order
|
28
28
|
bot.pair = 'COSS_ETH' # Bot will work on COSS_ETH pair, buying COSS for ETH
|
29
29
|
bot.trade_limit = 0.01 # trading cycle does not start if ETH limit is less than 0.1 ETH (ETH is chosen because it is a base pair in this case. If it would be BTC_USDT - it would be USDT)
|
30
|
+
bot.logger = Rails.logger # optionally set logger
|
30
31
|
bot.call do |buy_order_id, sell_order_id|
|
31
32
|
puts "BUY order id: #{buy_order_id}; SELL order id: #{sell_order_id}" # You can pass block to save order ids.
|
32
33
|
end
|
@@ -40,4 +41,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
41
|
|
41
42
|
## Code of Conduct
|
42
43
|
|
43
|
-
Everyone interacting in the CossBot project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
44
|
+
Everyone interacting in the CossBot project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/coss-community/coss_bot/blob/master/CODE_OF_CONDUCT.md).
|
data/coss_bot.gemspec
CHANGED
@@ -7,11 +7,11 @@ require 'coss_bot/version'
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'coss_bot'
|
9
9
|
spec.version = CossBot::VERSION
|
10
|
-
spec.authors = ['
|
11
|
-
spec.email = ['
|
10
|
+
spec.authors = ['Coss Community']
|
11
|
+
spec.email = ['admin@coss.community']
|
12
12
|
|
13
13
|
spec.summary = 'The simplest accumulating bot for coss.io'
|
14
|
-
spec.homepage = 'https://github.com/
|
14
|
+
spec.homepage = 'https://github.com/coss-community/coss_bot'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
17
|
# Specify which files should be added to the gem when it is released.
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
|
26
|
-
spec.add_dependency 'coss_api_ruby_wrapper', '0.1.
|
26
|
+
spec.add_dependency 'coss_api_ruby_wrapper', '0.1.2'
|
27
27
|
|
28
28
|
spec.add_development_dependency 'bundler', '~> 1.17'
|
29
29
|
spec.add_development_dependency 'rake', '~> 10.0'
|
data/lib/coss_bot/version.rb
CHANGED
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coss_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Coss Community
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.
|
26
|
+
version: 0.1.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '3.0'
|
69
69
|
description:
|
70
70
|
email:
|
71
|
-
-
|
71
|
+
- admin@coss.community
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
@@ -89,7 +89,7 @@ files:
|
|
89
89
|
- lib/coss_bot/basic.rb
|
90
90
|
- lib/coss_bot/buy_low_sell_high.rb
|
91
91
|
- lib/coss_bot/version.rb
|
92
|
-
homepage: https://github.com/
|
92
|
+
homepage: https://github.com/coss-community/coss_bot
|
93
93
|
licenses:
|
94
94
|
- MIT
|
95
95
|
metadata: {}
|