cryptum 0.0.366 → 0.0.367

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c1c4d84e74613172f9249878ab0c68174f9039f1fd40326153df675215a31c6
4
- data.tar.gz: 84e6137384ba4b75bd202dffdf5784ace667d7fbcf8c15aa9e1437fc426ec0dc
3
+ metadata.gz: a6798524e1b458d4d99353b126d43a5d64b9aa94e42829c8322f6c740bc5984c
4
+ data.tar.gz: 2609c6ec391ec5eb1e77b6c934c4e0a8b598cac9f0d0da3f1a37755085d9d121
5
5
  SHA512:
6
- metadata.gz: 489da8f4bdc5c00cc79c71ec60ce018855086ee713e4ed2e4944514b5e6c29fb3532daf75db386fa2ae61bb0419ce3c083ef092ed078b9abd756613c49fcefe9
7
- data.tar.gz: 13a254cc99126868c17edd55eecd9f764438446ab3b2d744703d07bf8af327f250c5a0b9aab76e79a6df2fec394808cb9a355781ad1ac386e57b4d911cbdcc62
6
+ metadata.gz: 709f134f6813a74357d37779a51224ed5fc7b2ad2af4626fec4bdadbd186c899aea6a73a4517e077865bae85070e620eb306e12d6967615773d59d58573dc39c
7
+ data.tar.gz: 93941d719671c62245157c6487a3031ebfd92da00ccc9047b79955d21b63f048365da674c0ba160876776e6d6f0941008b9741a6ceaf7ef10aa14f432c9f6744
@@ -63,10 +63,9 @@ module Cryptum
63
63
  # BE EXTREMELY CAREFUL CHANGING THIS VALUE AS IT DICTATES
64
64
  # THE TARGET PRICE AND SUBSEQUENT TIME IT TAKES FOR AN OPEN
65
65
  # SELL ORDER TO BE TRIGGERED!!! SHOULD NEVER BE > 1
66
- default_net_tpm = 1.0
67
- conservative_tpm_hedge = 0.75
68
- maker_rate = 0.4
69
- taker_rate = 0.6
66
+ # default_net_tpm = 1.0
67
+ maker_rate = 0.004
68
+ taker_rate = 0.006
70
69
 
71
70
  gross_tpm = bot_conf[:target_profit_margin_percent].to_f
72
71
 
@@ -79,6 +78,9 @@ module Cryptum
79
78
  taker_rate = fees[:taker_fee_rate].to_f unless fees.empty?
80
79
  # taker_fee = format('%0.2f', taker_rate * 100)
81
80
 
81
+ # Absolute Bare Minimum TPM (Promotes Volume & Reduces Fees)
82
+ default_net_tpm = maker_rate + taker_rate + 0.001
83
+
82
84
  # Set default_net_tpm if AI is true in bot_conf.
83
85
  low_24h = event_history.order_book[:low_24h].to_f
84
86
  high_24h = event_history.order_book[:high_24h].to_f
@@ -122,6 +124,7 @@ module Cryptum
122
124
  ai_net_tpm = (((1 - (low_24h / high_24h)) * 100) / 24) * 0.017
123
125
  end
124
126
 
127
+ conservative_tpm_hedge = 0.75
125
128
  ai_net_tpm *= conservative_tpm_hedge
126
129
  default_net_tpm = ai_net_tpm if ai_net_tpm > default_net_tpm
127
130
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.366'
4
+ VERSION = '0.0.367'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.366
4
+ version: 0.0.367
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.