GUY
¿ªÔÆÌåÓýThank you very much Gordon, Attached, you have the python code Here is the result: ------- enregistrement des donn¨¦es ------- 0 -C 20230303 bidc 27.95 askc 28.35 strike 118.0 -P bidp 27.95 askp 28.35 1 -C 20230303 bidc 27.95 askc 28.35 strike 119.0 -P bidp 27.95 askp 28.35 2 -C 20230303 bidc 27.95 askc 28.35 strike 120.0 -P bidp 27.95 askp 28.35 3 -C 20230303 bidc 27.95 askc 28.35 strike 121.0 -P bidp 27.95 askp 28.35 4 -C 20230303 bidc 27.95 askc 28.35 strike 122.0 -P bidp 27.95 askp 28.35 5 -C 20230303 bidc 27.95 askc 28.35 strike 123.0 -P bidp 27.95 askp 28.35 6 -C 20230303 bidc 27.95 askc 28.35 strike 124.0 -P bidp 27.95 askp 28.35 7 -C 20230303 bidc 27.95 askc 28.35 strike 125.0 -P bidp 27.95 askp 28.35 8 -C 20230303 bidc 27.95 askc 28.35 strike 126.0 -P bidp 27.95 askp 28.35 For the first row (0), I get ask ,bid for strike 118 . the result is correct and compliant with the TWS platform. But for rows >0 , bid and ask are the same because MktData is not updated maybe it is necessary to send a parameter to reqMktData to force the update Thank you again for your help Cordially guy
|