Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticker variables are broken, showing constant values #8

Closed
julian-molina opened this issue Aug 18, 2019 · 1 comment
Closed

Ticker variables are broken, showing constant values #8

julian-molina opened this issue Aug 18, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@julian-molina
Copy link
Member

When I use ticker as the formula for Position Rate, I get a simulation that seems accurate:

image

However, when I use an actual variable, like ticker.last the simulation draws the Take Position line in an incorrect position:

image

A similar thing happens when I use arithmetic operations on more than one of the ticker variables, such as in ticker.ask-(ticker.ask-ticker.bid)*0.2:

image

I did a a few tests:

  1. I set ticker.last + 1000 as a take profit formula, just to be able to see the value of ticker.last. The variable ticker.last seems to have a fixed value for long periods of time (if not always). The value is 10357.71

Test

I did a similar test with ticker.bid and the same thing happens. The value for ticker.bid is 10398.38, and seems to be constant, even when the market was at 13K +:

Test

@julian-molina julian-molina added the bug Something isn't working label Aug 18, 2019
@julian-molina julian-molina changed the title Ticker variables break simulation when used on Position Rate formula Ticker variables are broken, showing constant values Aug 18, 2019
@Luis-Fernando-Molina
Copy link
Member

Fixed at latest release

Luis-Fernando-Molina pushed a commit that referenced this issue Nov 20, 2020
Baseline for authentication workflow
Luis-Fernando-Molina added a commit that referenced this issue Nov 22, 2020
Beta 6 Implementation Finished
Luis-Fernando-Molina pushed a commit that referenced this issue Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants