Forum Replies Created

Page 1 of 2
  • lestat-jin

    Member
    June 27, 2024 at 10:15 pm in reply to: partitioned exercise question

    apologies for the formatting issue, no idea how to fix it…

  • lestat-jin

    Member
    August 28, 2024 at 11:30 am in reply to: xgroup error in taxi and weather analysis

    Thanks, noticed other places reset_index() is needed for xgroup in order to plot properly in addition to the one reported, code updated manually.

  • lestat-jin

    Member
    August 28, 2024 at 11:28 am in reply to: xgroup error in taxi and weather analysis

    thanks!

  • lestat-jin

    Member
    August 6, 2024 at 7:54 pm in reply to: Error with join module

    Thanks a lot! guess my data is really messed up that the init.q cannot be run properly.

  • lestat-jin

    Member
    August 6, 2024 at 11:06 am in reply to: Error with join module

    says couldn’t find init.q file after the steps… not quite sure why as I can see them on terminals.

  • lestat-jin

    Member
    August 1, 2024 at 12:06 pm in reply to: Error with join module

    restarted kernel and didnt work….

    I had a look at the data and it seems trade table is not defined, rather there is a trade_compressed table. could it be the reason since code referring to trade variable?see below screenshot,

    thanks,

  • lestat-jin

    Member
    July 23, 2024 at 3:50 pm in reply to: terminating condition for iterators

    Thanks a lot. could you explain why dyadic function is expected here? what is the f in “x f\ y” here? the {8>count x}{x,sum -2#x}\0 1 only takes one argument which is x…

  • lestat-jin

    Member
    July 15, 2024 at 6:11 pm in reply to: functional statement exercise

    Thanks, 🙂

  • lestat-jin

    Member
    July 8, 2024 at 7:00 pm in reply to: create random symbol with length >8

    I see, thanks!

  • lestat-jin

    Member
    July 5, 2024 at 11:33 am in reply to: partitioned exercise question

    thanks, that is very helpful!

  • lestat-jin

    Member
    July 2, 2024 at 5:03 pm in reply to: partitioned exercise question

    Thanks, so in the second version (functional form, ‘ in front of one func argument), this is read as signal? in general each should not be put in a function form?

  • lestat-jin

    Member
    June 28, 2024 at 2:52 pm in reply to: partitioned exercise question
  • lestat-jin

    Member
    June 26, 2024 at 6:46 pm in reply to: fundamentals capstone 4.7

    I see, should be 1.0 in the manual construction, thanks a lot!

  • lestat-jin

    Member
    June 20, 2024 at 12:03 pm in reply to: fundamentals capstone 4.7

    using a different approach and now it passed the section testing:

    corKey:`edge`qty`numTrds

    correlations:cor[timeSeries[edge]] each timeSeries[corKey]

    edgeCor:corKey!correlations

     

    the results visually identical, though the earlier approach failed with 4.7 format testing:

    edgeCor:`edge`qty`numTrds! (1;cor[timeSeries[`edge];timeSeries[`qty]];cor[timeSeries[`edge];timeSeries[`numTrds]])

    would be good to understand why (cannot see how the testing function 4.7 written so cannot debug…) Thanks.

     

    P.S. apologies borrowing the thread, let me know if should create a separate discussion for this.

     

  • lestat-jin

    Member
    June 19, 2024 at 1:42 pm in reply to: fundamentals capstone 4.7

    just to borrow the thread as I’m stuck on this as well: so I managed to complete the task with script:

    edgeCor:`edge`qty`numTrds!(1;cor[timeSeries[`edge];timeSeries[`qty]];cor[timeSeries[`edge];timeSeries[`numTrds]])

     

    the output is a dictionary with type 99h and values of 1 0.8059053 0.7830214

    however it failed the section testing with 4.7 error: “edgeCor Has Correct Format”

     

    I didn’t implement it with iterators but I don’t think that is the reason it failed the test. not sure why it says incorrect format–do I need to output values in percentage terms (there is no way in Q to output a numeric in % without converting it into string first?)

     

    any ideas please? thanks!

Page 1 of 2