Not logged in
Viewing 11 posts - 1 through 11 (of 11 total)

Forums>StrategyQuant>Application Support>Order size displaying incorrectly for BTCUSDT. Maybe related to decimals?

  • #267665 |
    Customer
    109 Posts

    For BTCUSDT, i generated a strategy where I specified 5 decimal places for order sizing.

    However, the order showup as sized as 0 in the trades list.

    I thought it may just have to do with the display in the app, so I exported the tradelist. In the CSV it also shows up as 0.

    I’m pretty sure the order size is actually closer to 0.0024, or something like that.

    How do I make SQX show the right order size?

    I need this data for further offline analysis.

    —–

    You can see the strategy file attached.

    • This topic was modified 7 months ago by kasinath.
    Attachments:
    You must be logged in to view attached files.
    #267674
    Customer
    794 Posts

    i am thinking if you want to hear my opinion? :D

    because i have played with crypto for some time in SQX

    but answer to your question is i think simple – it seems SQX doesnt count, that we can trade more than 2 decimal sizes, can we?

    You want to be a profitable algotrader? We started using StrateQuant software in early 2016. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM. 1500+ final SQX strategies for members running on demo accounts to verify the edge DEMO ACCS. We provide also strategies for indices - DAX, DOW JONES, NASDAQ, SP, UK, because we have realtick data from our brokers.

    #267679
    Customer
    109 Posts

    haha, yes I like hearing your opinion when it is not criticizing my question :D  :D

    Yeah it looks like SQX doesnt display the accurate decimal places, even though it looks like it is sizing correctly.

    This is a problem because i need to know the exact size of the order, in the CSV at least

    I hope  @tomas or someone from the team can confirm this, and tell us when it may be fixed

     

    #267758
    Customer
    109 Posts

    “because i have played with crypto for some time in SQX”

    Hankeys: do you know if it is possible to set up crypto money management so it only opens position of a fixed size ($50) ?

    I am not seeing this work correctly. the sizing is wrong, see attached, and calculate the size * current price.

    Or is this different based on the initial stop loss?

     

    Attachments:
    You must be logged in to view attached files.
    #267760
    Customer
    794 Posts

    sorry i found only 1 thing – that crypto is a wasting of time

    the moves will not cover the costs and risks

    basic question is – where did you get BTC data, because i see, that you are using 5 decimals, but my brokers where i tried the BTC trading have only 2 decimal prices…what are your piptick size and steps? what SL and TP you are using?

    You want to be a profitable algotrader? We started using StrateQuant software in early 2016. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM. 1500+ final SQX strategies for members running on demo accounts to verify the edge DEMO ACCS. We provide also strategies for indices - DAX, DOW JONES, NASDAQ, SP, UK, because we have realtick data from our brokers.

    #267762
    Customer
    109 Posts

    So far I have found several strategies that are profitable, I’m currently forward testing one on 3commas.  Can share more details LATER.

    For now I need help / guidance.

    I’m usingBinance data

    Dynamic SL based on ATR

    No TP

    Not sure about piptick size and steps?  Perhaps this is where my problem lies. What values should they be?

    #267763
    Customer
    109 Posts

    Also to point out: 3commas doesn’t have the option to do percentage of account, so I need to use a fixed value.

    If you can guide me on how to set the money management for a crypto srategy to be fixed at $50, that would be great.

    #267765
    Customer
    794 Posts

    everything need to be set correctly as you broker – data, piptick size/step, point value. If not – your backtest is only a lie

    did you make any comparation between bibance data and your broker data – trading times, candles, prices – CFDs for crypto is a hell

    You want to be a profitable algotrader? We started using StrateQuant software in early 2016. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM. 1500+ final SQX strategies for members running on demo accounts to verify the edge DEMO ACCS. We provide also strategies for indices - DAX, DOW JONES, NASDAQ, SP, UK, because we have realtick data from our brokers.

    #267766
    Customer
    109 Posts

    Yes, my data matches 100% correctly. I am using Binance and SQX backtests are run on Binance data. The trades also match 100% correctly in forward and back testing. I am not using an FX broker –i never know what their data is going to do.  I am using Binance directly.

    It all works, but I just need to get the position sizing right.

    It sounds like you are saying I need to get pip / tick size from Binance so I will try to find them.

    If I get these values, where do I set them in SQX?

     

    #267841
    Mark Fric
    Administrator
    1182 Posts

    just for info – this  decimals places issue will be fixed in new Build 130

     

    kasinath – I’m interested how you trade SQX strategies on 3commas – do they have their own programming language for bots and did you rewrite them?

    Mark
    StrategyQuant architect

    #267850
    Customer
    109 Posts

    Mark: thanks for the update. This is great news.

    For 3Commas integration, I am porting my code to Pinescript in Tradingview, which I have set up to dispatch alerts / custom signals to 3commas webhooks.

    More and more platforms are starting to offer this similar Trading View integration.  For example, I also plan to use SQX straegies (re-written in pinescript) to trigger options trades in this same way (using OptionAlpha.com)

    Between Python and Pinescript, it would be great if we could export SQX to one or both of these languages, to open up our options for deployment. And I wouldn’t have to port the code all the time :)

    I plan to use SQX for all my strategy design, mining and validation, regardless of what market and what platform I will trade.

    Fantastic product. I’m here for the long haul.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.