Renames to `ppu`
parent
168c9863cb
commit
d43ba47ebe
|
@ -57,7 +57,7 @@ your ``pps.toml`` file will have position entries like,
|
|||
|
||||
[kraken.spot."xmreur.kraken"]
|
||||
size = 4.80907954
|
||||
be_price = 103.97000000
|
||||
ppu = 103.97000000
|
||||
bsuid = "XXMRZEUR"
|
||||
clears = [
|
||||
{ tid = "TFJBKK-SMBZS-VJ4UWS", cost = 0.8, price = 103.97, size = 4.80907954, dt = "2022-05-20T02:26:33.413397+00:00" },
|
||||
|
|
|
@ -308,7 +308,7 @@ def trades2pps(
|
|||
account='kraken.' + acctid,
|
||||
symbol=p.symbol.front_fqsn(),
|
||||
size=p.size,
|
||||
avg_price=p.be_price,
|
||||
avg_price=p.ppu,
|
||||
currency='',
|
||||
)
|
||||
position_msgs.append(msg)
|
||||
|
|
Loading…
Reference in New Issue