[API request] Stock increments that aren't active | API D…

[API request] Stock increments that aren't active

    • Patient [2131539]
    • Role: Civilian
    • Level: 90
    • Posts: 3,001
    • Karma: 6,949
    • Last Action: 9 hours
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 06:27:26 - 22/02/22 (2 years ago)
    |
    Last replied 00:08:02 - 23/02/22 (2 years ago)
    Currently, the player stocks API call returns only active increments:



    However any increments purchased above the current increment are accounted for until after the current progress towards the next payout is completed.

    Would it be possible to add a field that indicates increments that are purchased, but are not yet actively contributing towards the next payout?

    As an example, I have two increments of stock ID 9, TCT, but if I was to purchase another block, the API will not reflect that additional block until the current increments pay out. It would be nice to differentiate between "increments active for next payout" and "total increments owned"
    Last edited by Patient on 06:28:04 - 22/02/22
    • finally [2060206]
    • Role: Civilian
    • Level: 90
    • Posts: 347
    • Karma: 635
    • Last Action: 2 hours
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 07:40:16 - 22/02/22 (2 years ago)
    Post link copied to clipboard Copy post link
    Just take the benefit requirement from /torn?selections=stocks and calculate it yourself?

    sugarvalves is a piece of shit

    • Patient [2131539]
    • Role: Civilian
    • Level: 90
    • Posts: 3,001
    • Karma: 6,949
    • Last Action: 9 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 09:05:07 - 22/02/22 (2 years ago)
    Post link copied to clipboard Copy post link

    finally [2060206]

    Just take the benefit requirement from /torn?selections=stocks and calculate it yourself?
    Yes, that is how it has to be done currently. That's why I'm making a request for the value that's already calculated by the game to be included in the API.
    • PlatinumDevil [1920420]
    • Role: Civilian
    • Level: 100
    • Posts: 1,609
    • Karma: 2,363
    • Last Action: 1 day
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:31:11 - 22/02/22 (2 years ago)
    Post link copied to clipboard Copy post link

    Patient [2131539]

    Currently, the player stocks API call returns only active increments:



    However any increments purchased above the current increment are accounted for until after the current progress towards the next payout is completed.

    Would it be possible to add a field that indicates increments that are purchased, but are not yet actively contributing towards the next payout?

    As an example, I have two increments of stock ID 9, TCT, but if I was to purchase another block, the API will not reflect that additional block until the current increments pay out. It would be nice to differentiate between "increments active for next payout" and "total increments owned"
    Am I correct in thinking that something like this is what you are asking for?
    • Patient [2131539]
    • Role: Civilian
    • Level: 90
    • Posts: 3,001
    • Karma: 6,949
    • Last Action: 9 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 23:53:59 - 22/02/22 (2 years ago)
    Post link copied to clipboard Copy post link

    Patient [2131539]

    Currently, the player stocks API call returns only active increments:



    However any increments purchased above the current increment are accounted for until after the current progress towards the next payout is completed.

    Would it be possible to add a field that indicates increments that are purchased, but are not yet actively contributing towards the next payout?

    As an example, I have two increments of stock ID 9, TCT, but if I was to purchase another block, the API will not reflect that additional block until the current increments pay out. It would be nice to differentiate between "increments active for next payout" and "total increments owned"

    PlatinumDevil [1920420]

    Am I correct in thinking that something like this is what you are asking for?
    Yup, that's exactly what I'm asking for
    • PlatinumDevil [1920420]
    • Role: Civilian
    • Level: 100
    • Posts: 1,609
    • Karma: 2,363
    • Last Action: 1 day
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 00:08:02 - 23/02/22 (2 years ago)
    Post link copied to clipboard Copy post link

    Patient [2131539]

    Currently, the player stocks API call returns only active increments:



    However any increments purchased above the current increment are accounted for until after the current progress towards the next payout is completed.

    Would it be possible to add a field that indicates increments that are purchased, but are not yet actively contributing towards the next payout?

    As an example, I have two increments of stock ID 9, TCT, but if I was to purchase another block, the API will not reflect that additional block until the current increments pay out. It would be nice to differentiate between "increments active for next payout" and "total increments owned"

    PlatinumDevil [1920420]

    Am I correct in thinking that something like this is what you are asking for?

    Patient [2131539]

    Yup, that's exactly what I'm asking for
    I think this would be a useful addition to the API, whilst it's not something I use from the API I think it would provide clarity within user stocks API.

    Would be good to hear feedback from Chedburn about this.
Reply
Thread Title: