Krypto-trading-bot: Need an extra decimal point

Created on 30 Jul 2019  路  16Comments  路  Source: ctubio/Krypto-trading-bot

image
I think the fair value is getting rounded up. should be 0.000006355

question

All 16 comments

Looks like bitmex provides support for getting bots to work with their API, the link to their support is here, https://www.bitmex.com/app/automatedTradingEngines

that is not support, that is language-specific implementations (that they published instead of properly documenting the meaning of each attribute)

i have seen useless documentation pages, but https://www.bitmex.com/app/wsAPI is the most useless one; just listing channel names

about the rounding decimals, these are the same as the displayed decimals, so for TBP the rounding is of 8 decimals; cannot have moar

Is there any way we can get the Fair Value to be in between the bid and the ask, instead of setting FV at the ask?

umm let me investigate this situation of the fair value

I'm a bit new to compiling things in linux, I tried just editing the source file then running make, but it seems to not make any sort of difference. I'm sure I'm doing something wrong.
image

before make works, you need to build the distributed dependencies, that is make dist

once you have the dependencies, no need to run make dist anymore unless you remove them manually with rm -rf build-*

Thanks, not sure if this change is doing exactly what I want, but now that I know where to look and hot to get it to compile I can play with the math a bit mroe and see what I can come up with.

Thanks again!

Yes, stream precision needs to be 9 instead of 8 in that particular example.

Yes, the general stream precision for this pair should be 8 (for minimal increment etc), however, FV needs to be in between the two values at 0.000006355.

Hope it helps,
Camille

i would say there is no need to limit precision (most of the time while doing calculations)

precision only needs to be limiterd to 8 when displaying values to the final user

Is this value hard coded somewhere, I can find the variable, but I don't see where it's pulling it's value from.

Perfect! Thanks!
Now I can start trying to shoehorn KAMA into EWMAPrice. That should allow profitable trading on more volatile, and also more liquid pairs like XBT/USD.

hope for this issue to be fixed at https://github.com/ctubio/Krypto-trading-bot/issues/984

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bzzz666 picture Bzzz666  路  8Comments

IgorPcelnikov picture IgorPcelnikov  路  4Comments

Camille92 picture Camille92  路  6Comments

gusiri picture gusiri  路  3Comments

ghost picture ghost  路  5Comments