Eru Ilúvatar bfbf1cc379
feat: analyze profits - closes #19 (#20)
* feat: analyze profits - closes #19

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>

* feat: analyze profits - closes #19

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>

* fix peotry lock

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>

* feat: add save to csv option

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>

* fix: update dockerfile to resolve deps automatically at build-time

Signed-off-by: Luca Georges Francois <luca@quartz.technology>

* feat: add porfit by day

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>

* feat: add failures saving

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>

* fix: launch script

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>

* feat: get rpc url from env

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>

Signed-off-by: Arthurim <arthurbdauphine@gmail.com>
Signed-off-by: Luca Georges Francois <luca@quartz.technology>
Co-authored-by: Luca Georges Francois <luca@quartz.technology>
2023-01-16 07:00:21 +00:00

15 lines
425 B
Python

TOKEN_KEY = "token"
TIMESTAMP_KEY = "timestamp"
BLOCK_KEY = "block_number"
TOKEN_RECEIVED_KEY = "token_received"
TOKEN_DEBT_KEY = "token_debt"
CG_ID_KEY = "cg_id"
CG_ID_DEBT_KEY = "cg_id_debt"
CG_ID_RECEIVED_KEY = "cg_id_received"
AMOUNT_RECEIVED_KEY = "amount_received"
AMOUNT_DEBT_KEY = "amount_debt"
PRICE_DEBT_KEY = "price_debt"
PRICE_RECEIVED_KEY = "price_received"
PRICE_KEY = "price"
DECIMAL_DEBT_KEY = "decimal_debt"