$ python3 kraken_api_dca.py
Read the following orders from the orders.json file:
- [pair: XXBTZEUR, amount_in_fiat: 100, debug: True]
- [pair: XXBTZEUR, amount_in_fiat: 50, debug: True]
Start placing order [pair: XXBTZEUR, amount_in_fiat: 100, debug: True]
ORDER: pair: XXBTZEUR, amount in fiat: 100, style: buy, type: limitERROR: ['EOrder:Invalid price:XXBTZEUR price can only be specified up to 1 decimals.']
[
{
"pair":"XXBTZEUR",
"amount_in_fiat":100,
"debug":true
},
{
"pair":"XXBTZEUR",
"amount_in_fiat":50,
"debug":true
}
]
Running with and without venv no change.
ERROR: ['EOrder:Invalid price:XXBTZEUR price can only be specified up to 1 decimals.']
Does it recognize the pair as price?
python3.8 -V
Python 3.8.10
Collecting krakenex==2.1.0
Downloading krakenex-2.1.0.tar.gz (36 kB)
Collecting requests<3,>=2.18.2
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 1.2 MB/s
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
|████████████████████████████████| 138 kB 24.5 MB/s
Collecting chardet<5,>=3.0.2
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
|████████████████████████████████| 178 kB 81.5 MB/s
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 2.8 MB/s
Collecting certifi>=2017.4.17
Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
|████████████████████████████████| 145 kB 81.1 MB/s
Using legacy setup.py install for krakenex, since package 'wheel' is not installed.
Installing collected packages: urllib3, chardet, idna, certifi, requests, krakenex
Running setup.py install for krakenex ... done
Successfully installed certifi-2021.5.30 chardet-4.0.0 idna-2.10 krakenex-2.1.0 requests-2.25.1 urllib3-1.26.6