<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can JSL automatically stop the download of data stream data as Python does? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518993#M74509</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Open this way and press ESC repeatedly to get these results&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-07-08_17-03-27.png" style="width: 843px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43812iB5592F99684810D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-07-08_17-03-27.png" alt="2022-07-08_17-03-27.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2022 09:08:20 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2022-07-08T09:08:20Z</dc:date>
    <item>
      <title>How can JSL automatically stop the download of data stream data as Python does?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518960#M74506</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Data on this site will be updated every 3 seconds.Using the normal method, you will always be downloading without downloading data.&lt;BR /&gt;Python writes code like this to terminate the data download.&lt;BR /&gt;How to change this Python to JSL?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-07-08_07-17-44.png" style="width: 995px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43810i44B524CA4A0245CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-07-08_07-17-44.png" alt="2022-07-08_07-17-44.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This address is captured after the packet.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;http://16.push2.eastmoney.com/api/qt/stock/details/sse?fields1=f1,f2,f3,f4&amp;amp;fields2=f51,f52,f53,f54,f55&amp;amp;mpi=2000&amp;amp;ut=bd1d9ddb04089700cf9c27f6f7426281&amp;amp;fltt=2&amp;amp;pos=-0&amp;amp;secid=1.688686&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;A href="http://16.push2.eastmoney.com/api/qt/stock/details/sse?fields1=f1,f2,f3,f4&amp;amp;fields2=f51,f52,f53,f54,f55&amp;amp;mpi=2000&amp;amp;ut=bd1d9ddb04089700cf9c27f6f7426281&amp;amp;fltt=2&amp;amp;pos=-0&amp;amp;secid=1.688686" target="_self"&gt;http://16.push2.eastmoney.com/api/qt/stock/details/sse?fields1=f1,f2,f3,f4&amp;amp;fields2=f51,f52,f53,f54,f55&amp;amp;mpi=2000&amp;amp;ut=bd1d9ddb04089700cf9c27f6f7426281&amp;amp;fltt=2&amp;amp;pos=-0&amp;amp;secid=1.688686&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:03:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518960#M74506</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-09T17:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can JSL automatically stop the download of data stream data as Python does?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518982#M74507</link>
      <description>&lt;P&gt;Just the data in front of the red box.&lt;BR /&gt;Null data is generated 3 seconds later.It's not necessary.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20220708163938.png" style="width: 572px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43811i04EC34AAB2165CFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="20220708163938.png" alt="20220708163938.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 08:40:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518982#M74507</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-07-08T08:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can JSL automatically stop the download of data stream data as Python does?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518987#M74508</link>
      <description>&lt;P&gt;The code will remain in download until it crashes.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;u =
"http://16.push2.eastmoney.com/api/qt/stock/details/sse?fields1=f1,f2,f3,f4&amp;amp;fields2=f51,f52,f53,f54,f55&amp;amp;mpi=2000&amp;amp;ut=bd1d9ddb04089700cf9c27f6f7426281&amp;amp;fltt=2&amp;amp;pos=-0&amp;amp;secid=1.688686";
txt = Load Text File( u );
a = Length( txt );
P = "[{";
off1 = Contains( txt, P );
If( off1,
	tx = Substr( txt, off1, Length( txt ) )
);
Q = "}]";
off2 = Contains( tx, Q, -1 );
If( off2,
	tx = Substr( tx, 1, off2 + 1 )
);
b = Right( tx, 2 );
d1 = JSON To Data Table( tx );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Jul 2022 08:53:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518987#M74508</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-07-08T08:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can JSL automatically stop the download of data stream data as Python does?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518993#M74509</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Open this way and press ESC repeatedly to get these results&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-07-08_17-03-27.png" style="width: 843px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43812iB5592F99684810D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-07-08_17-03-27.png" alt="2022-07-08_17-03-27.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 09:08:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/518993#M74509</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-07-08T09:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can JSL automatically stop the download of data stream data as Python does?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/519834#M74584</link>
      <description>I think JSL sockets might work if you want to invest the time to learn about sockets and the http protocol. I think using curl from run program might also work, but I'm not sure how to terminate curl from run program.</description>
      <pubDate>Mon, 11 Jul 2022 18:17:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-JSL-automatically-stop-the-download-of-data-stream-data/m-p/519834#M74584</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-07-11T18:17:53Z</dc:date>
    </item>
  </channel>
</rss>

