Hi,
I am trying the sample code "order_book_test.py" from "GitHub BookmapAPI/python-api"
but I'm detecting a problem, I have Rithmic as data provider and symbol "ESH3.CME" when I run the script it seems that I have the bitcoin book not ESH3 ???
Send Screen
In Log i have a price 15590 ??? why ?
The script this is :
https://github.com/BookmapAPI/python-ap ... ok_test.py
python api Bug?
-
- Site Admin
- Posts: 258
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: python api Bug?
Hi. You are not taking pips (min tick) into account. The numbers you are seeing are effectively level numbers (which are integers), not raw prices. You need to multiply by pips to get an actual price.
-
- Site Admin
- Posts: 258
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times