IanQS / krak_trader

Automated Kraken Trader
2 stars 1 forks source link

Wrapper: Inconsistent volumes listed for weighted price and breakdown #15

Open IanQS opened 6 years ago

IanQS commented 6 years ago

Weighted Price

{'XXRP': {'volume': 650.0, 'notional': 306.614, 'weighted': 0.471714},
 'XXLM': {'volume': 258.8202419,
  'notional': 79.76998836,
  'weighted': 0.308206},
 'EOS': {'volume': 11.0, 'notional': 86.3836, 'weighted': 7.853055}}

vs

Breakdown

{'XXRP': {'volume': 650.0, 'rate': 0.45761},
 'XXLM': {'volume': 298.74, 'rate': 0.322999},
 'EOS': {'volume': 12.00000002, 'rate': 8.6058}}