Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. ScalpingAF
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Groups 0
    • Blog

    Posts made by ScalpingAF

    • RE: Balance, order size, stop loss, open and close position price

      @support , thank you for your answers.
      I have additional questions:

      1. Do you use an open candle price for opening a new position, right?
      2. I didn't get how you close the position. If I'll send "weight" = 0, backtester will choose an open candle price for closing current position, right?
      posted in Support
      S
      ScalpingAF
    • RE: Balance, order size, stop loss, open and close position price
      1. As I understood, when calculating "weights" I should operate by positive and negative numbers as an order of position size. Everytime in your examples you use 1 or -1, and as I understood, it means we will buy 1 contract or sell 1 contract, am I right? If I'd like to buy 10 contracts, I should mark "10"?

      Also a question about order size.
      If we are talking about Bitcoin. How do you operate with size? Is it a amount of contracts or amount of coins?

      posted in Support
      S
      ScalpingAF
    • Balance, order size, stop loss, open and close position price

      Hello. Nice to meet you and thank you for your backtester application. I've looked into your documentation but unfortunately I still have several questions. I hope you can help me with it.

      1. As I understood, when calculating "weights" I should operate by positive and negative numbers as an order of position size. Everytime in your examples you use 1 or -1, and as I understood, it means we will buy 1 contract or sell 1 contract, am I right? If I'd like to buy 10 contracts, I should mark "10"?

      2. If I need to close a current open position, should I mark 0 in a "weights"?

      3. How do you calculate close position price? Can I send to backtester my close price? As I understood, you just use a candle close price?

      4. How do you calculate open position price? Is it an open candle price? Can I mark my open price? For example, it can be the price inside the current candle - breaking through the price level.

      5. In my strategies I use a stop loss. To calculate it I need to know the balance. How can I get info about balance using your framework or how should I correctly init it? It's also needed to calculate an order position size.

      Thank you for your attention.

      posted in Support
      S
      ScalpingAF
    • Documentation
    • About
    • Career
    • My account
    • Privacy policy
    • Terms and Conditions
    • Cookies policy
    Home
    Copyright © 2014 - 2021 Quantiacs LLC.
    Powered by NodeBB | Contributors