Jump to content
  • 0

Several issues with API


GepotTrader

Question

Hi there,

I tried contacting the email address for help but haven't received a response in two weeks. I am building a very simple trading app and can successfully get prices for different epics, however, I have several problems:

  1. I cannot seem to get a list of open positions. The result is successful (200) but empty. I made sure that I specified the correct account and I manually create positions so that there must be data available.
  2. I have the same problem with working orders. I manually created orders in my demo account, but the result from the API is empty.
  3. When trying to create a working order, I get an error message that is not described in the documentation. Here is an example payload:
    {
    "currencyCode": "USD",
    "direction": "SELL",
    "epic": "CS.D.GBPUSD.MINI.IP",
    "expiry": "DFB",
    "forceOpen": true,
    "goodTillDate": "2023/03/03 17:00:00",
    "guaranteedStop": false,
    "level": 1.1946,
    "limitDistance": 1,
    "size": 1,
    "timeInForce": "GOOD_TILL_DATE",
    "type": "STOP"
    }
     
    And here is the error:
    {
    "errorCode": "error.service.instrumentdata-invalid"
    }

    Any help would be greatly appreciated.

Link to comment

1 answer to this question

Recommended Posts

  • 0

For future users:

  1. Despite indicating the correct account in the header, you actually need to switch to the account first using  the session endpoint (PUT) before you will be able to interact with the account
  2. Instead of trying to decipher what you need to add to your payload to place orders, rather use the API companion to figure it out. In my case, the payload was incorrectly configured.
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • image.png

  • Posts

    • Binance റഫറൽ കോഡ് "ZNKAUKP3" എന്നത് ലോകത്തിലെ ഏറ്റവും വലിയ ക്രിപ്‌റ്റോകറൻസി പ്ലാറ്റ്‌ഫോമിലെ ഉപയോക്താക്കൾക്ക് അവരുടെ ഇടപാടുകളിൽ കൂടുതൽ നിയന്ത്രണം നേടാനും അവരുടെ ചലനങ്ങളുടെ വിശദമായ റെക്കോർഡ് നേടാനും ആഗ്രഹിക്കുന്ന ഒരു അത്യാവശ്യ ഉപകരണമാണ്. ബിനാൻസ് എക്സ്ചേഞ്ചിൽ, റഫറൽ കോഡിനും റഫറൽ ഐഡിക്കും ഒരേ അർത്ഥമുണ്ട്. നിലവിൽ, ബിനാൻസ് റഫറൽ ഐഡി "ZNKAUKP3" ആയി ഉപയോഗിക്കുന്നു. 20% കമ്മീഷൻ കിഴിവ് നിരക്കുള്ള, ആജീവനാന്ത സാധുതയുള്ള, ലോകത്ത് ഏറ്റവും കൂടുതൽ ഉപയോഗിക്കുന്ന Binance റഫറൽ ഐഡിയാണിത്. മത്സര നേട്ടം പുതിയ നിക്ഷേപകരെ ആകർഷിക്കുന്നതിനായി ക്രിപ്‌റ്റോകറൻസി എക്‌സ്‌ചേഞ്ചുകൾ റഫറൽ, അഫിലിയേറ്റ് പ്രോഗ്രാമുകൾ നടപ്പിലാക്കിയിട്ടുണ്ട്. Binance റഫറൽ ഐഡി "ZNKAUKP3" എന്ന പേരിൽ ജനപ്രിയമായതിനാൽ, നിങ്ങൾക്ക് 20% ആജീവനാന്ത കമ്മീഷൻ കിഴിവും 600 USDT സൈൻ-അപ്പ് ബോണസും ലഭിക്കും. ഈ വാചകം പോലെയുള്ള ഉള്ളടക്കം തയ്യാറാക്കുന്നതിലൂടെ, ഉയർന്ന മത്സരാധിഷ്ഠിത നേട്ടത്തിൽ നിന്ന് നിങ്ങൾക്ക് വരുമാനം നേടാനും കഴിയും.
    • លេខកូដយោង Binance "ZNKAUKP3" គឺជាឧបករណ៍សំខាន់មួយសម្រាប់អ្នកប្រើប្រាស់នៅលើវេទិកា cryptocurrency ដ៏ធំបំផុតរបស់ពិភពលោក ដែលចង់ទទួលបានការគ្រប់គ្រងបន្ថែមទៀតលើប្រតិបត្តិការរបស់ពួកគេ និងទទួលបានកំណត់ត្រាលម្អិតនៃចលនារបស់ពួកគេ។ នៅក្នុងការផ្លាស់ប្តូរ Binance លេខកូដយោង និងលេខសម្គាល់យោងមានអត្ថន័យដូចគ្នា។ បច្ចុប្បន្ន លេខសម្គាល់យោង Binance ត្រូវបានប្រើជា "ZNKAUKP3" ។ វាគឺជាលេខសម្គាល់ការបញ្ជូនបន្ត Binance ដែលត្រូវបានប្រើប្រាស់ច្រើនជាងគេបំផុតនៅក្នុងពិភពលោក ដែលមានសុពលភាពសម្រាប់ជីវិត ជាមួយនឹងអត្រាបញ្ចុះតម្លៃកំរៃជើងសារ 20%។ គុណសម្បត្តិប្រកួតប្រជែង ការផ្លាស់ប្តូរ Cryptocurrency បានអនុវត្តកម្មវិធីបញ្ជូនបន្ត និងសម្ព័ន្ធដើម្បីទាក់ទាញអ្នកវិនិយោគថ្មី។ ចាប់តាំងពីលេខសម្គាល់ការបញ្ជូនបន្ត Binance បានក្លាយជាការពេញនិយមជា "ZNKAUKP3" អ្នកអាចទទួលបានការបញ្ចុះតម្លៃកំរៃជើងសារពេញមួយជីវិត 20% និងប្រាក់រង្វាន់សម្រាប់ការចុះឈ្មោះ 600 USDT ។ តាមរយៈការរៀបចំខ្លឹមសារដូចអត្ថបទនេះ អ្នកក៏អាចរកប្រាក់ចំណូលបានពីអត្ថប្រយោជន៍ប្រកួតប្រជែងខ្ពស់។
    • Binance रेफरल ID "ZNKAUKP3" विश्वको सबैभन्दा ठूलो क्रिप्टोकरेन्सी प्लेटफर्मका प्रयोगकर्ताहरूका लागि आवश्यक उपकरण हो जसले आफ्नो लेनदेनमा थप नियन्त्रण प्राप्त गर्न र तिनीहरूको चालहरूको विस्तृत रेकर्ड प्राप्त गर्न चाहन्छ। Binance विनिमय मा, रेफरल कोड र रेफरल ID को समान अर्थ छ। हाल, Binance रेफरल आईडी "ZNKAUKP3" को रूपमा प्रयोग गरिन्छ। यो संसारमा सबैभन्दा बढी प्रयोग हुने Binance रेफरल ID हो, जीवनभरको लागि मान्य, २०% कमीशन छुट दरको साथ। प्रतिस्पर्धात्मक लाभ क्रिप्टोकरेन्सी एक्सचेन्जहरूले नयाँ लगानीकर्ताहरूलाई आकर्षित गर्न सन्दर्भ र सम्बद्ध कार्यक्रमहरू लागू गरेका छन्। Binance रेफरल ID "ZNKAUKP3" को रूपमा लोकप्रिय भएको कारणले, तपाईंले 20% आजीवन कमीशन छुट र 600 USDT साइन-अप बोनस प्राप्त गर्न सक्नुहुन्छ। यस पाठ जस्तो सामग्री तयार गरेर, तपाइँ उच्च प्रतिस्पर्धात्मक लाभबाट पनि आम्दानी गर्न सक्नुहुन्छ।
×
×
  • Create New...
us