Skip to content

Tiny framework for sending orders to QUIK and monitor their status.

License

Notifications You must be signed in to change notification settings

dv-lebedev/py-quik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-quik

Tiny framework for sending orders to QUIK and monitor their status.

import pyquik as pq


quik = pq.Quik(input_file="shared-files/input.tri",
               output_file="shared-files/output.tro")

order = pq.Order(
    action='NEW_ORDER',
    account="NL0011100043",
    seccode="SBER",
    classcode="QJSIM",
    quantity=1,
    type="M",
    operation='S',
    price=0,
    clientcode="client_code")

order_id = quik.register(order)

input('Press INTER to get order info.')

order_info = quik.get_order_info(order_id)

print(order_info)

About

Tiny framework for sending orders to QUIK and monitor their status.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages