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